Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00118/0.00118, allocations: 191.9 kB / 17.27 MB, free: 4.5 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.173/1.173, allocations: 194.2 MB / 212.2 MB, free: 2.375 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.001703/0.001703, allocations: 125.6 kB / 256.6 MB, free: 4.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1656/0.1656, allocations: 37.95 MB / 338.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 63.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06845/0.06958, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.005784/0.0754, allocations: 7.738 MB / 461.7 MB, free: 8.797 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003952/0.07939, allocations: 4.289 MB / 466 MB, free: 4.488 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003126/0.07973, allocations: 15.94 kB / 466 MB, free: 4.473 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.08149, allocations: 0.9767 MB / 467 MB, free: 3.496 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.08319, allocations: 1.059 MB / 468.1 MB, free: 2.434 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.08373, allocations: 271.3 kB / 468.3 MB, free: 2.168 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.08522, allocations: 2.561 MB / 470.9 MB, free: 15.6 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004068/0.08564, allocations: 280.7 kB / 471.2 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005526/0.0862, allocations: 465.7 kB / 471.6 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000643/0.08685, allocations: 0.6228 MB / 472.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.08691, allocations: 28 kB / 472.3 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.08856, allocations: 1.243 MB / 473.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.08881, allocations: 267.3 kB / 473.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002343/0.08905, allocations: 238.8 kB / 474 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009496/0.09001, allocations: 0.8917 MB / 474.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.09003, allocations: 0 / 474.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.09003, allocations: 0 / 474.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.09005, allocations: 0 / 474.9 MB, free: 11.57 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0009892/0.09104, allocations: 0.8039 MB / 475.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.09108, allocations: 8.031 kB / 475.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.09243, allocations: 132.2 kB / 475.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.09286, allocations: 334.3 kB / 476.2 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.09289, allocations: 29.36 kB / 476.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.09294, allocations: 44.36 kB / 476.2 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/0.09366, allocations: 0.5828 MB / 476.8 MB, free: 9.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.09368, allocations: 0 / 476.8 MB, free: 9.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.526e-05/0.09374, allocations: 19.98 kB / 476.8 MB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/0.0938, allocations: 40.62 kB / 476.9 MB, free: 9.441 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.09433, allocations: 382.1 kB / 477.3 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.09651, allocations: 2.6 MB / 479.9 MB, free: 6.344 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.09709, allocations: 427.7 kB / 480.3 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.09736, allocations: 211.1 kB / 480.5 MB, free: 5.684 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.09739, allocations: 7.984 kB / 480.5 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.09742, allocations: 38.56 kB / 480.5 MB, free: 5.629 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.665e-06/0.09743, allocations: 3.984 kB / 480.5 MB, free: 5.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.001568/0.099, allocations: 0.7525 MB / 481.3 MB, free: 4.844 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.09906, allocations: 110.8 kB / 481.4 MB, free: 4.711 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.09936, allocations: 324.8 kB / 481.7 MB, free: 4.383 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.09939, allocations: 41.64 kB / 481.8 MB, free: 4.336 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.09953, allocations: 247.7 kB / 482 MB, free: 4.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.684e-05/0.09962, allocations: 118.4 kB / 482.1 MB, free: 3.973 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.429e-05/0.09972, allocations: 78.05 kB / 482.2 MB, free: 3.891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.09984, allocations: 346.8 kB / 482.5 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.1, allocations: 128.8 kB / 482.6 MB, free: 3.418 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.1003, allocations: 279.4 kB / 482.9 MB, free: 3.074 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.1008, allocations: 460.1 kB / 483.4 MB, free: 2.559 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1008, allocations: 0 / 483.4 MB, free: 2.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007464/0.1015, allocations: 0.5652 MB / 483.9 MB, free: 1.984 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1015, allocations: 12.03 kB / 483.9 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1016, allocations: 4 kB / 484 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003156/0.1019, allocations: 116.8 kB / 484.1 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.1021, allocations: 75.91 kB / 484.1 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.1043, allocations: 2.345 MB / 486.5 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.1046, allocations: 43.53 kB / 486.5 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.1046, allocations: 20 kB / 486.5 MB, free: 15.22 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.1048, allocations: 197.6 kB / 486.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.1049, allocations: 35.62 kB / 486.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.073e-05/0.105, allocations: 47.95 kB / 486.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.105, allocations: 4 kB / 486.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.105, allocations: 8.062 kB / 486.8 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.105, allocations: 3.984 kB / 486.8 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.1061, allocations: 0.9424 MB / 487.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1061, allocations: 0 / 487.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.1063, allocations: 39.98 kB / 487.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002142/0.1065, allocations: 104.8 kB / 487.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.1065, allocations: 11.98 kB / 487.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.1085, allocations: 2.333 MB / 490.3 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1085, allocations: 8.094 kB / 490.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.1095, allocations: 1.397 MB / 491.7 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.643e-05/0.1096, allocations: 116.7 kB / 491.8 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.1096, allocations: 11.92 kB / 491.8 MB, free: 9.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.1098, allocations: 8 kB / 491.8 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.1099, allocations: 23.97 kB / 491.8 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1099, allocations: 4 kB / 491.8 MB, free: 9.625 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001744/0.1101, allocations: 235 kB / 492.1 MB, free: 9.395 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1101, allocations: 0 / 492.1 MB, free: 9.395 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006455/0.1107, allocations: 159.7 kB / 492.2 MB, free: 9.238 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.378e-05/0.1108, allocations: 103.2 kB / 492.3 MB, free: 9.125 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007119/0.1115, allocations: 0.5189 MB / 492.8 MB, free: 8.594 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1116, allocations: 0 / 492.8 MB, free: 8.594 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.1119, allocations: 339.2 kB / 493.2 MB, free: 8.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.1125, allocations: 70.38 kB / 493.2 MB, free: 8.184 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.1138, allocations: 1.21 MB / 494.4 MB, free: 6.918 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.1142, allocations: 0.902 MB / 495.3 MB, free: 5.984 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.1144, allocations: 70.91 kB / 495.4 MB, free: 5.918 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.1144, allocations: 27.38 kB / 495.4 MB, free: 5.891 MB / 346.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1144, allocations: 0 / 495.4 MB, free: 5.891 MB / 346.7 MB Notification: Performance of Templates: time 0.006629/0.1211, allocations: 3.752 MB / 499.2 MB, free: 2.137 MB / 346.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)