Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001535/0.001535, allocations: 178.7 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.186/1.186, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001618/0.001618, allocations: 106.6 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1662/0.1662, allocations: 38 MB / 340.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003288, allocations: 12 kB / 403.8 MB, free: 68.81 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07753/0.07787, allocations: 53.23 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2888/0.3668, allocations: 90.93 MB / 0.5351 GB, free: 4.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.367, allocations: 91.25 kB / 0.5352 GB, free: 4.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1204/0.4874, allocations: 54.28 MB / 0.5882 GB, free: 5.457 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4875, allocations: 0 / 0.5882 GB, free: 5.457 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.773e-05/0.4876, allocations: 16 kB / 0.5882 GB, free: 5.441 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002053/0.4896, allocations: 1.008 MB / 0.5892 GB, free: 4.383 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.4897, allocations: 12.02 kB / 0.5892 GB, free: 4.371 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003378/0.4931, allocations: 398.5 kB / 0.5896 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.4942, allocations: 491.4 kB / 0.59 GB, free: 3.453 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/0.4943, allocations: 53.98 kB / 0.5901 GB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/0.4945, allocations: 67.98 kB / 0.5902 GB, free: 3.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.497, allocations: 1.156 MB / 0.5913 GB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.497, allocations: 0 / 0.5913 GB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.621e-05/0.4971, allocations: 31.98 kB / 0.5913 GB, free: 2.121 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000302/0.4974, allocations: 101.9 kB / 0.5914 GB, free: 2.023 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.4997, allocations: 1.191 MB / 0.5926 GB, free: 0.832 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006373/0.5061, allocations: 3.519 MB / 0.596 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.5079, allocations: 1.054 MB / 0.597 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.94e-05/0.508, allocations: 20.98 kB / 0.5971 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.508, allocations: 43.55 kB / 0.5971 GB, free: 12.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 4.389e-06/0.508, allocations: 0 / 0.5971 GB, free: 12.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.006602/0.5146, allocations: 3.05 MB / 0.6001 GB, free: 8.996 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.5147, allocations: 94.05 kB / 0.6002 GB, free: 8.887 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.5151, allocations: 324.7 kB / 0.6005 GB, free: 8.566 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/0.5152, allocations: 41.73 kB / 0.6005 GB, free: 8.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.5154, allocations: 312.2 kB / 0.6008 GB, free: 8.207 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000322/0.5157, allocations: 323.3 kB / 0.6011 GB, free: 7.887 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.5158, allocations: 20 kB / 0.6012 GB, free: 7.867 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.516, allocations: 362.8 kB / 0.6015 GB, free: 7.504 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006352/0.5166, allocations: 437.7 kB / 0.6019 GB, free: 7.074 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006992/0.5173, allocations: 0.5384 MB / 0.6024 GB, free: 6.508 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000744/0.5181, allocations: 0.5182 MB / 0.6029 GB, free: 5.992 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5181, allocations: 4 kB / 0.603 GB, free: 5.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002376/0.5205, allocations: 1.415 MB / 0.6043 GB, free: 4.559 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.5205, allocations: 8 kB / 0.6043 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.5205, allocations: 4 kB / 0.6043 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009476/0.5215, allocations: 331.1 kB / 0.6047 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007503/0.5222, allocations: 195.7 kB / 0.6048 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005207/0.5274, allocations: 4.001 MB / 0.6088 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006609/0.5281, allocations: 63.91 kB / 0.6088 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-05/0.5282, allocations: 31.98 kB / 0.6088 GB, free: 15.77 MB / 426.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 () * Number of clocked 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.0005098/0.5287, allocations: 301.6 kB / 0.6091 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.5289, allocations: 59.3 kB / 0.6092 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/0.5316, allocations: 1.532 MB / 0.6107 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.5316, allocations: 12 kB / 0.6107 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.5316, allocations: 4 kB / 0.6107 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.5316, allocations: 3.984 kB / 0.6107 GB, free: 13.84 MB / 426.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.005239/0.5369, allocations: 3.001 MB / 0.6136 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.5369, allocations: 4 kB / 0.6136 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006625/0.5376, allocations: 175.7 kB / 0.6138 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007919/0.5384, allocations: 282.9 kB / 0.6141 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-05/0.5384, allocations: 35.98 kB / 0.6141 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004692/0.5431, allocations: 3.692 MB / 0.6177 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.5432, allocations: 11.89 kB / 0.6177 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.5458, allocations: 1.73 MB / 0.6194 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.546, allocations: 140.4 kB / 0.6196 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.89e-05/0.5461, allocations: 20 kB / 0.6196 GB, free: 4.324 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004849/0.5466, allocations: 51.94 kB / 0.6196 GB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.5468, allocations: 80.8 kB / 0.6197 GB, free: 4.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.003e-05/0.5468, allocations: 35.98 kB / 0.6197 GB, free: 4.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002828/0.5471, allocations: 251.2 kB / 0.62 GB, free: 3.914 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5471, allocations: 0 / 0.62 GB, free: 3.914 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00105/0.5482, allocations: 320 kB / 0.6203 GB, free: 3.602 MB / 426.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 (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.0001996/0.5484, allocations: 135 kB / 0.6204 GB, free: 3.457 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.5505, allocations: 1.35 MB / 0.6217 GB, free: 2.098 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5505, allocations: 0 / 0.6217 GB, free: 2.098 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.5518, allocations: 0.836 MB / 0.6225 GB, free: 1.246 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.5524, allocations: 86.39 kB / 0.6226 GB, free: 1.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.5557, allocations: 2.107 MB / 0.6247 GB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007948/0.5565, allocations: 1.089 MB / 0.6257 GB, free: 13.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000493/0.557, allocations: 180.6 kB / 0.6259 GB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.5572, allocations: 55.42 kB / 0.626 GB, free: 13.63 MB / 442.7 MB Notification: Performance of SimCode: time 9.51e-07/0.5572, allocations: 0 / 0.626 GB, free: 13.63 MB / 442.7 MB Notification: Performance of Templates: time 0.01628/0.5735, allocations: 8.996 MB / 0.6348 GB, free: 4.641 MB / 442.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)