Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001749/0.00175, allocations: 173.4 kB / 16.76 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 222.9 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 90.34 kB / 271.3 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1766/0.1766, allocations: 38.08 MB / 357.6 MB, free: 1.715 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003765, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3089, allocations: 56.31 MB / 480.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.4366, allocations: 99.52 MB / 0.5662 GB, free: 2.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.4369, allocations: 83.95 kB / 0.5663 GB, free: 2.758 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1379/0.5748, allocations: 59.4 MB / 0.6243 GB, free: 6.641 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5748, allocations: 0 / 0.6243 GB, free: 6.641 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.237e-05/0.5749, allocations: 20 kB / 0.6243 GB, free: 6.621 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002683/0.5776, allocations: 1.175 MB / 0.6254 GB, free: 5.391 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.5776, allocations: 12.03 kB / 0.6254 GB, free: 5.379 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004008/0.5816, allocations: 0.4989 MB / 0.6259 GB, free: 4.879 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.5828, allocations: 0.5657 MB / 0.6265 GB, free: 4.273 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.703e-05/0.5828, allocations: 66.36 kB / 0.6265 GB, free: 4.207 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/0.5831, allocations: 96.27 kB / 0.6266 GB, free: 4.113 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.5856, allocations: 1.462 MB / 0.6281 GB, free: 2.613 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/0.5856, allocations: 8.125 kB / 0.6281 GB, free: 2.605 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.5858, allocations: 47.92 kB / 0.6281 GB, free: 2.559 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003079/0.5861, allocations: 126 kB / 0.6282 GB, free: 2.434 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/0.5885, allocations: 1.488 MB / 0.6297 GB, free: 0.9375 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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 preOpt removeSimpleEquations (simulation): time 0.007336/0.5959, allocations: 4.872 MB / 0.6345 GB, free: 11.86 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.5976, allocations: 1.159 MB / 0.6356 GB, free: 10.67 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.5986, allocations: 0.7458 MB / 0.6363 GB, free: 9.922 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-05/0.5987, allocations: 16.98 kB / 0.6363 GB, free: 9.906 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.5988, allocations: 43.56 kB / 0.6364 GB, free: 9.855 MB / 474.7 MB Notification: Performance of pre-optimization done (n=107): time 3.566e-06/0.5988, allocations: 4 kB / 0.6364 GB, free: 9.852 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.008575/0.6073, allocations: 3.767 MB / 0.6401 GB, free: 6.035 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.6075, allocations: 86.11 kB / 0.6401 GB, free: 5.934 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006156/0.6081, allocations: 473.7 kB / 0.6406 GB, free: 5.461 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.682e-05/0.6082, allocations: 41.7 kB / 0.6406 GB, free: 5.414 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.6084, allocations: 427.5 kB / 0.641 GB, free: 4.988 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.6088, allocations: 374.6 kB / 0.6414 GB, free: 4.617 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.6089, allocations: 24 kB / 0.6414 GB, free: 4.594 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.609, allocations: 378.8 kB / 0.6418 GB, free: 4.215 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007991/0.6098, allocations: 0.5179 MB / 0.6423 GB, free: 3.699 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009468/0.6108, allocations: 0.7344 MB / 0.643 GB, free: 2.883 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/0.6127, allocations: 1.376 MB / 0.6443 GB, free: 1.426 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.6127, allocations: 3.938 kB / 0.6443 GB, free: 1.422 MB / 474.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.2037/0.8164, allocations: 1.77 MB / 0.6461 GB, free: 121 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.8165, allocations: 10.77 kB / 0.6461 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.8165, allocations: 6.094 kB / 0.6461 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.8177, allocations: 406.8 kB / 0.6465 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.819, allocations: 234.2 kB / 0.6467 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007713/0.8268, allocations: 5.626 MB / 0.6522 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009995/0.8278, allocations: 72.11 kB / 0.6523 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.8279, allocations: 43.84 kB / 0.6523 GB, free: 118.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007157/0.8286, allocations: 362.7 kB / 0.6527 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.8288, allocations: 78.33 kB / 0.6527 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/0.8321, allocations: 1.78 MB / 0.6545 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.8321, allocations: 13.31 kB / 0.6545 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.8321, allocations: 5.5 kB / 0.6545 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.8321, allocations: 6.812 kB / 0.6545 GB, free: 118.1 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.006113/0.8383, allocations: 3.437 MB / 0.6578 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.8383, allocations: 3.344 kB / 0.6579 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007854/0.8391, allocations: 189.9 kB / 0.658 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009984/0.8401, allocations: 341.6 kB / 0.6584 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.237e-05/0.8402, allocations: 36.72 kB / 0.6584 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006211/0.8464, allocations: 5.352 MB / 0.6636 GB, free: 114.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/0.8464, allocations: 8 kB / 0.6636 GB, free: 114.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00313/0.8496, allocations: 1.788 MB / 0.6654 GB, free: 114.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.8499, allocations: 161.6 kB / 0.6655 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.85, allocations: 27.94 kB / 0.6656 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005083/0.8505, allocations: 49.52 kB / 0.6656 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.8507, allocations: 93.05 kB / 0.6657 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.841e-05/0.8508, allocations: 38.2 kB / 0.6657 GB, free: 114.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004314/0.8513, allocations: 318.9 kB / 0.666 GB, free: 114.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8513, allocations: 0 / 0.666 GB, free: 114.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001554/0.8528, allocations: 412.5 kB / 0.6664 GB, free: 114.2 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000213/0.853, allocations: 145.5 kB / 0.6666 GB, free: 114.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002742/0.8558, allocations: 1.711 MB / 0.6682 GB, free: 113.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8558, allocations: 0 / 0.6682 GB, free: 113.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.8574, allocations: 1.069 MB / 0.6693 GB, free: 113.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.8584, allocations: 122.9 kB / 0.6694 GB, free: 113.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/0.8631, allocations: 2.675 MB / 0.672 GB, free: 112.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.8642, allocations: 1.179 MB / 0.6732 GB, free: 111.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/0.8646, allocations: 74.16 kB / 0.6732 GB, free: 111.7 MB / 474.7 MB Notification: Performance of SimCode: time 8.62e-07/0.8646, allocations: 0 / 0.6732 GB, free: 111.7 MB / 474.7 MB Notification: Performance of Templates: time 0.02332/0.888, allocations: 17.96 MB / 0.6908 GB, free: 110.7 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)