Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.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.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00242/0.00242, allocations: 185.4 kB / 13.19 MB, free: 2.125 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 2.176/2.176, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001109/0.001109, allocations: 91.94 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3055/0.3055, allocations: 37.98 MB / 353.1 MB, free: 3.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.993e-05/4.004e-05, allocations: 8 kB / 416.8 MB, free: 41.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 56.31 MB / 473.1 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4769/0.583, allocations: 95.76 MB / 0.5555 GB, free: 7.961 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.5833, allocations: 83.95 kB / 0.5556 GB, free: 7.879 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2389/0.8223, allocations: 54.6 MB / 0.6089 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.8224, allocations: 0 / 0.6089 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.014e-05/0.8224, allocations: 16 kB / 0.609 GB, free: 0.5625 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002655/0.8251, allocations: 0.9605 MB / 0.6099 GB, free: 15.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.8251, allocations: 12.03 kB / 0.6099 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005304/0.8305, allocations: 398.4 kB / 0.6103 GB, free: 15.15 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.8321, allocations: 483.6 kB / 0.6108 GB, free: 14.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.101e-05/0.8322, allocations: 53.98 kB / 0.6108 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002419/0.8325, allocations: 71.89 kB / 0.6109 GB, free: 14.52 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003185/0.8357, allocations: 1.141 MB / 0.612 GB, free: 13.35 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/0.8358, allocations: 0 / 0.612 GB, free: 13.35 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.8359, allocations: 31.98 kB / 0.612 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005109/0.8364, allocations: 101.9 kB / 0.6121 GB, free: 13.22 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003631/0.8401, allocations: 1.171 MB / 0.6133 GB, free: 12.04 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/0.8504, allocations: 3.519 MB / 0.6167 GB, free: 8.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002868/0.8533, allocations: 1.037 MB / 0.6177 GB, free: 7.371 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.855, allocations: 0.6288 MB / 0.6183 GB, free: 6.738 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.8552, allocations: 20.75 kB / 0.6183 GB, free: 6.715 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/0.8552, allocations: 43.3 kB / 0.6184 GB, free: 6.664 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 4.368e-06/0.8552, allocations: 0 / 0.6184 GB, free: 6.664 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.00616/0.8614, allocations: 1.99 MB / 0.6203 GB, free: 4.664 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/0.8615, allocations: 97.92 kB / 0.6204 GB, free: 4.547 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006404/0.8622, allocations: 311.5 kB / 0.6207 GB, free: 4.242 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002249/0.8624, allocations: 41.7 kB / 0.6208 GB, free: 4.195 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.8627, allocations: 358.6 kB / 0.6211 GB, free: 3.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005265/0.8633, allocations: 315.4 kB / 0.6214 GB, free: 3.527 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.058e-05/0.8634, allocations: 16 kB / 0.6214 GB, free: 3.512 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.8635, allocations: 342.8 kB / 0.6217 GB, free: 3.168 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.8648, allocations: 433.8 kB / 0.6222 GB, free: 2.742 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/0.8663, allocations: 0.5304 MB / 0.6227 GB, free: 2.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.8677, allocations: 0.5096 MB / 0.6232 GB, free: 1.672 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.8677, allocations: 0 / 0.6232 GB, free: 1.672 MB / 458.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004297/0.872, allocations: 1.371 MB / 0.6245 GB, free: 296 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.8721, allocations: 8 kB / 0.6245 GB, free: 288 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.8722, allocations: 8.125 kB / 0.6245 GB, free: 280 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/0.8739, allocations: 330.9 kB / 0.6248 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/0.8756, allocations: 199.7 kB / 0.625 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00897/0.8846, allocations: 3.891 MB / 0.6288 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.8858, allocations: 67.86 kB / 0.6289 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.8859, allocations: 31.98 kB / 0.6289 GB, free: 11.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002721/0.8862, allocations: 144.9 kB / 0.6291 GB, free: 11.45 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.8864, allocations: 55.34 kB / 0.6291 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0046/0.891, allocations: 1.52 MB / 0.6306 GB, free: 9.867 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.8911, allocations: 12 kB / 0.6306 GB, free: 9.855 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.8911, allocations: 4 kB / 0.6306 GB, free: 9.852 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/0.8911, allocations: 11.91 kB / 0.6306 GB, free: 9.84 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00901/0.9002, allocations: 2.976 MB / 0.6335 GB, free: 6.734 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/0.9002, allocations: 7.938 kB / 0.6335 GB, free: 6.727 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.9017, allocations: 171.8 kB / 0.6337 GB, free: 6.559 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001534/0.9033, allocations: 281.1 kB / 0.634 GB, free: 6.281 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002233/0.9036, allocations: 24 kB / 0.634 GB, free: 6.258 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008116/0.9117, allocations: 3.584 MB / 0.6375 GB, free: 2.531 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/0.9118, allocations: 11.94 kB / 0.6375 GB, free: 2.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004445/0.9162, allocations: 1.708 MB / 0.6392 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.9166, allocations: 140.4 kB / 0.6393 GB, free: 0.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.9168, allocations: 35.94 kB / 0.6393 GB, free: 476 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008908/0.9177, allocations: 43.95 kB / 0.6394 GB, free: 432 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/0.918, allocations: 84.52 kB / 0.6395 GB, free: 348 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-05/0.9181, allocations: 35.94 kB / 0.6395 GB, free: 312 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000465/0.9186, allocations: 250.1 kB / 0.6397 GB, free: 60 kB / 474.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.9186, allocations: 0 / 0.6397 GB, free: 60 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.3169/1.236, allocations: 318.9 kB / 0.64 GB, free: 122.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002813/1.236, allocations: 132.9 kB / 0.6402 GB, free: 122.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003754/1.24, allocations: 1.316 MB / 0.6415 GB, free: 122.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/1.24, allocations: 1.188 kB / 0.6415 GB, free: 122.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002213/1.242, allocations: 0.8171 MB / 0.6423 GB, free: 122.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008371/1.243, allocations: 88.39 kB / 0.6423 GB, free: 122.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/1.247, allocations: 1.558 MB / 0.6439 GB, free: 121.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009333/1.248, allocations: 1.086 MB / 0.6449 GB, free: 120.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004955/1.248, allocations: 64.17 kB / 0.645 GB, free: 120.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.041e-06/1.248, allocations: 0 / 0.645 GB, free: 120.9 MB / 474.7 MB Notification: Performance of Templates: time 0.0293/1.278, allocations: 11.79 MB / 0.6565 GB, free: 120.7 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)