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.001576/0.001579, allocations: 191.3 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.117/2.117, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001139/0.001138, allocations: 102.8 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2798/0.2798, allocations: 38.05 MB / 356.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006362/0.0006364, allocations: 12 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1141, allocations: 56.33 MB / 479 MB, free: 2.051 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.01063/0.1248, allocations: 6.489 MB / 485.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008918/0.1338, allocations: 4.09 MB / 489.6 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006296/0.1345, allocations: 15.94 kB / 489.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005609/0.1351, allocations: 143.2 kB / 489.8 MB, free: 7.273 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003322/0.1384, allocations: 0.7048 MB / 490.5 MB, free: 6.566 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.1397, allocations: 259.4 kB / 490.7 MB, free: 6.312 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.141, allocations: 0.5847 MB / 491.3 MB, free: 5.727 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003301/0.1443, allocations: 1.267 MB / 492.6 MB, free: 4.434 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.1454, allocations: 394.6 kB / 493 MB, free: 4.047 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008168/0.1462, allocations: 390.8 kB / 493.3 MB, free: 3.664 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.1464, allocations: 40 kB / 493.4 MB, free: 3.625 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.1494, allocations: 0.8733 MB / 494.3 MB, free: 2.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009286/0.1503, allocations: 0.5067 MB / 494.8 MB, free: 2.242 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003969/0.1508, allocations: 217.2 kB / 495 MB, free: 2.023 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003317/0.1541, allocations: 1.333 MB / 496.3 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1542, allocations: 4 kB / 496.3 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1542, allocations: 0 / 496.3 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.638e-05/0.1542, allocations: 0 / 496.3 MB, free: 0.6836 MB / 330.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.002987/0.1572, allocations: 1.178 MB / 497.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.1573, allocations: 8.031 kB / 497.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006992/0.1643, allocations: 0.6385 MB / 498.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.166, allocations: 0.5394 MB / 498.7 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.115e-05/0.1661, allocations: 66 kB / 498.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002678/0.1664, allocations: 87.98 kB / 498.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003965/0.1704, allocations: 1.457 MB / 0.4886 GB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.414e-05/0.1705, allocations: 3.906 kB / 0.4886 GB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.1707, allocations: 39.94 kB / 0.4886 GB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000202/0.1709, allocations: 102 kB / 0.4887 GB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004336/0.1752, allocations: 1.484 MB / 0.4901 GB, free: 10.94 MB / 346.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.01396/0.1892, allocations: 4.869 MB / 0.4949 GB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003287/0.1926, allocations: 1.167 MB / 0.496 GB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.1928, allocations: 25.11 kB / 0.4961 GB, free: 4.652 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.1928, allocations: 43.56 kB / 0.4961 GB, free: 4.602 MB / 346.7 MB Notification: Performance of pre-optimization done (n=107): time 7.054e-06/0.1928, allocations: 0 / 0.4961 GB, free: 4.602 MB / 346.7 MB Notification: Performance of matching and sorting (n=108): time 0.01391/0.2067, allocations: 3.617 MB / 0.4996 GB, free: 0.9336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.418e-05/0.2069, allocations: 94.11 kB / 0.4997 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008657/0.2078, allocations: 469.7 kB / 0.5002 GB, free: 364 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002322/0.208, allocations: 45.7 kB / 0.5002 GB, free: 312 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/0.2084, allocations: 461.9 kB / 0.5007 GB, free: 15.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005518/0.209, allocations: 366.6 kB / 0.501 GB, free: 15.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.907e-05/0.2091, allocations: 20 kB / 0.501 GB, free: 15.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.2093, allocations: 362.8 kB / 0.5014 GB, free: 15.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.2108, allocations: 0.5218 MB / 0.5019 GB, free: 14.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.2124, allocations: 0.7344 MB / 0.5026 GB, free: 13.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.2142, allocations: 0.6432 MB / 0.5032 GB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/0.2143, allocations: 4 kB / 0.5032 GB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005312/0.2196, allocations: 1.743 MB / 0.5049 GB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.2197, allocations: 8 kB / 0.5049 GB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.2197, allocations: 8 kB / 0.5049 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/0.2217, allocations: 410.8 kB / 0.5053 GB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/0.2237, allocations: 239.6 kB / 0.5056 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/0.2356, allocations: 5.731 MB / 0.5112 GB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.237, allocations: 75.78 kB / 0.5112 GB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.2372, allocations: 40 kB / 0.5113 GB, free: 4.566 MB / 362.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.0008238/0.238, allocations: 369.4 kB / 0.5116 GB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.2383, allocations: 75.22 kB / 0.5117 GB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005365/0.2437, allocations: 1.779 MB / 0.5134 GB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.57e-05/0.2437, allocations: 12 kB / 0.5134 GB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.2438, allocations: 4 kB / 0.5134 GB, free: 2.312 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/0.2438, allocations: 7.984 kB / 0.5135 GB, free: 2.305 MB / 362.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.3188/0.5626, allocations: 3.416 MB / 0.5168 GB, free: 50.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.5627, allocations: 4.125 kB / 0.5168 GB, free: 50.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/0.5642, allocations: 192.3 kB / 0.517 GB, free: 50.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/0.566, allocations: 349.3 kB / 0.5173 GB, free: 50.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/0.5662, allocations: 28.39 kB / 0.5173 GB, free: 50.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009919/0.5761, allocations: 5.458 MB / 0.5227 GB, free: 47.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/0.5762, allocations: 12.66 kB / 0.5227 GB, free: 47.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004758/0.581, allocations: 1.961 MB / 0.5246 GB, free: 46.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.5813, allocations: 164.9 kB / 0.5248 GB, free: 46.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.5816, allocations: 21.22 kB / 0.5248 GB, free: 46.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009545/0.5825, allocations: 53.22 kB / 0.5248 GB, free: 46.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003487/0.5829, allocations: 93.94 kB / 0.5249 GB, free: 46.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.583, allocations: 34.5 kB / 0.5249 GB, free: 46.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005733/0.5836, allocations: 321.2 kB / 0.5253 GB, free: 45.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5836, allocations: 0 / 0.5253 GB, free: 45.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001858/0.5855, allocations: 401.7 kB / 0.5256 GB, free: 45.87 MB / 362.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.0002275/0.5857, allocations: 129.3 kB / 0.5258 GB, free: 45.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004487/0.5902, allocations: 1.708 MB / 0.5274 GB, free: 45.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.5903, allocations: 1.062 kB / 0.5274 GB, free: 45.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002686/0.593, allocations: 1.068 MB / 0.5285 GB, free: 44.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009352/0.594, allocations: 108.6 kB / 0.5286 GB, free: 44.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005859/0.5998, allocations: 2.663 MB / 0.5312 GB, free: 43.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.6011, allocations: 1.199 MB / 0.5323 GB, free: 42.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005997/0.6017, allocations: 73.95 kB / 0.5324 GB, free: 42.24 MB / 362.7 MB Notification: Performance of SimCode: time 1.312e-06/0.6017, allocations: 0 / 0.5324 GB, free: 42.24 MB / 362.7 MB Notification: Performance of Templates: time 0.03247/0.6342, allocations: 17.32 MB / 0.5493 GB, free: 30.21 MB / 362.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)