Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002093/0.002093, allocations: 180 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.941/1.941, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.001129, allocations: 102.7 kB / 270.3 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2589/0.2589, allocations: 38.06 MB / 356.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004633/0.0004631, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.105, allocations: 56.32 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5159/0.621, allocations: 104.6 MB / 0.57 GB, free: 11.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.6214, allocations: 95.27 kB / 0.5701 GB, free: 11.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08046/0.7018, allocations: 17.49 MB / 0.5872 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.7019, allocations: 0 / 0.5872 GB, free: 12.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.256e-05/0.702, allocations: 16 kB / 0.5872 GB, free: 12.23 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002902/0.7049, allocations: 0.8529 MB / 0.588 GB, free: 11.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.7049, allocations: 8.031 kB / 0.588 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/0.707, allocations: 147 kB / 0.5882 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005316/0.7124, allocations: 1.223 MB / 0.5894 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.062e-05/0.7125, allocations: 33 kB / 0.5894 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/0.7127, allocations: 56.08 kB / 0.5894 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.7147, allocations: 0.8413 MB / 0.5903 GB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/0.7147, allocations: 11.94 kB / 0.5903 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.391e-05/0.7148, allocations: 26.81 kB / 0.5903 GB, free: 9.375 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003091/0.7151, allocations: 28.98 kB / 0.5903 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.7167, allocations: 0.5955 MB / 0.5909 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01993/0.7366, allocations: 5.789 MB / 0.5966 GB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.7384, allocations: 0.7633 MB / 0.5973 GB, free: 3.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.7386, allocations: 12.12 kB / 0.5973 GB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.7386, allocations: 42.3 kB / 0.5974 GB, free: 3.355 MB / 394.7 MB Notification: Performance of pre-optimization done (n=52): time 3.647e-06/0.7386, allocations: 0 / 0.5974 GB, free: 3.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=53): time 0.0366/0.7752, allocations: 6.491 MB / 0.6037 GB, free: 13.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.7753, allocations: 81.55 kB / 0.6038 GB, free: 13.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006632/0.776, allocations: 352.4 kB / 0.6041 GB, free: 13.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002422/0.7763, allocations: 37.08 kB / 0.6041 GB, free: 13.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.7766, allocations: 362.6 kB / 0.6045 GB, free: 13.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003954/0.777, allocations: 258.8 kB / 0.6047 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.7772, allocations: 11.75 kB / 0.6047 GB, free: 13.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.7773, allocations: 350.4 kB / 0.6051 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/0.7792, allocations: 0.8035 MB / 0.6059 GB, free: 12.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/0.7813, allocations: 1.016 MB / 0.6069 GB, free: 11.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.7835, allocations: 0.8992 MB / 0.6077 GB, free: 10.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.7836, allocations: 0 / 0.6077 GB, free: 10.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.03847/0.8221, allocations: 5.365 MB / 0.613 GB, free: 6.406 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.8222, allocations: 8 kB / 0.613 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02946/0.8516, allocations: 4.262 MB / 0.6171 GB, free: 2.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05083/0.9025, allocations: 5.851 MB / 0.6229 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.9041, allocations: 119.8 kB / 0.623 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0517/0.9558, allocations: 11.72 MB / 0.6344 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.9577, allocations: 55.94 kB / 0.6345 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007472/0.9585, allocations: 167.9 kB / 0.6346 GB, free: 464 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.001199/0.9597, allocations: 249.5 kB / 0.6349 GB, free: 204 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/0.9602, allocations: 51.34 kB / 0.6349 GB, free: 152 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04172/1.002, allocations: 4.088 MB / 0.6389 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.217e-05/1.002, allocations: 8 kB / 0.6389 GB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.002, allocations: 0 / 0.6389 GB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.098e-05/1.002, allocations: 3.984 kB / 0.6389 GB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04908/1.051, allocations: 5.485 MB / 0.6443 GB, free: 6.461 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.986e-05/1.051, allocations: 0 / 0.6443 GB, free: 6.461 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008963/1.052, allocations: 59.91 kB / 0.6443 GB, free: 6.402 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.07822/1.13, allocations: 7.978 MB / 0.6521 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009274/1.131, allocations: 239.8 kB / 0.6524 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05463/1.186, allocations: 14.64 MB / 0.6667 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/1.186, allocations: 4 kB / 0.6667 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0322/1.218, allocations: 4.534 MB / 0.6711 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002791/1.219, allocations: 128.4 kB / 0.6712 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007847/1.22, allocations: 191.9 kB / 0.6714 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.221, allocations: 39.94 kB / 0.6714 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008001/1.221, allocations: 156.1 kB / 0.6716 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003788/1.222, allocations: 168 kB / 0.6717 GB, free: 9.965 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005554/1.222, allocations: 267.1 kB / 0.672 GB, free: 9.703 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-07/1.222, allocations: 0 / 0.672 GB, free: 9.703 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002277/1.225, allocations: 392.7 kB / 0.6724 GB, free: 9.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005128/1.225, allocations: 163.1 kB / 0.6725 GB, free: 9.152 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008551/1.234, allocations: 2.418 MB / 0.6749 GB, free: 6.699 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.234, allocations: 0 / 0.6749 GB, free: 6.699 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006656/1.241, allocations: 1.599 MB / 0.6764 GB, free: 5.07 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/1.242, allocations: 109.4 kB / 0.6765 GB, free: 4.965 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/1.252, allocations: 4.059 MB / 0.6805 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/1.253, allocations: 0.9851 MB / 0.6815 GB, free: 15.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/1.254, allocations: 47.44 kB / 0.6815 GB, free: 15.79 MB / 490.7 MB Notification: Performance of SimCode: time 1.132e-06/1.254, allocations: 0 / 0.6815 GB, free: 15.79 MB / 490.7 MB Notification: Performance of Templates: time 0.4435/1.697, allocations: 22.76 MB / 0.7037 GB, free: 157.2 MB / 490.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)