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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 112.3 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 200 kB / 18.01 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1725/0.1725, allocations: 38.04 MB / 329.9 MB, free: 8.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.89 kB / 458.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.4388, allocations: 58.05 MB / 0.5041 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009248/0.4482, allocations: 7.557 MB / 0.5115 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006335/0.4545, allocations: 4.163 MB / 0.5155 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006655/0.4552, allocations: 17.69 kB / 0.5156 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002889/0.4581, allocations: 1.021 MB / 0.5166 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003446/0.4616, allocations: 1.102 MB / 0.5176 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.4628, allocations: 300.9 kB / 0.5179 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002528/0.4654, allocations: 1.368 MB / 0.5193 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.4664, allocations: 459.5 kB / 0.5197 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.4676, allocations: 0.5618 MB / 0.5202 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008678/0.4684, allocations: 0.5856 MB / 0.5208 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.191e-05/0.4685, allocations: 34.69 kB / 0.5209 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.4709, allocations: 0.9844 MB / 0.5218 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004316/0.4713, allocations: 277 kB / 0.5221 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000352/0.4717, allocations: 244.5 kB / 0.5223 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.4732, allocations: 0.8247 MB / 0.5231 GB, free: 12.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4733, allocations: 4 kB / 0.5231 GB, free: 12.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4733, allocations: 0 / 0.5231 GB, free: 12.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.4733, allocations: 0 / 0.5231 GB, free: 12.06 MB / 398.1 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.001224/0.4745, allocations: 0.8189 MB / 0.5239 GB, free: 11.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4746, allocations: 14.48 kB / 0.5239 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.4761, allocations: 135 kB / 0.5241 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005527/0.4767, allocations: 335.8 kB / 0.5244 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.4767, allocations: 33.3 kB / 0.5244 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.4768, allocations: 38.42 kB / 0.5244 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009286/0.4777, allocations: 0.5881 MB / 0.525 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.4777, allocations: 1.375 kB / 0.525 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.4778, allocations: 21.48 kB / 0.525 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.307e-05/0.4779, allocations: 36.95 kB / 0.5251 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000637/0.4785, allocations: 384.9 kB / 0.5254 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002707/0.4812, allocations: 2.596 MB / 0.528 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007328/0.482, allocations: 432.5 kB / 0.5284 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.4823, allocations: 204.5 kB / 0.5286 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.4823, allocations: 8.234 kB / 0.5286 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.4824, allocations: 41.62 kB / 0.5286 GB, free: 8.098 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/0.4824, allocations: 4 kB / 0.5286 GB, free: 8.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.001864/0.4843, allocations: 0.7624 MB / 0.5294 GB, free: 7.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/0.4844, allocations: 108.1 kB / 0.5295 GB, free: 7.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.4848, allocations: 325.1 kB / 0.5298 GB, free: 7.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.4848, allocations: 31.14 kB / 0.5298 GB, free: 7.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.485, allocations: 254.8 kB / 0.5301 GB, free: 7.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.4852, allocations: 120.8 kB / 0.5302 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.4853, allocations: 83.03 kB / 0.5303 GB, free: 7.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4855, allocations: 352.8 kB / 0.5306 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.4857, allocations: 127.9 kB / 0.5307 GB, free: 6.695 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.486, allocations: 282.5 kB / 0.531 GB, free: 6.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006234/0.4866, allocations: 456.4 kB / 0.5314 GB, free: 6.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.4867, allocations: 2.562 kB / 0.5314 GB, free: 6.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009944/0.4877, allocations: 0.5583 MB / 0.532 GB, free: 5.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.4877, allocations: 7.125 kB / 0.532 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.4877, allocations: 5.406 kB / 0.532 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003713/0.4881, allocations: 123.7 kB / 0.5321 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.4883, allocations: 78.22 kB / 0.5322 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/0.4913, allocations: 2.566 MB / 0.5347 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.4916, allocations: 48.7 kB / 0.5347 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.4916, allocations: 22.55 kB / 0.5348 GB, free: 3.73 MB / 398.1 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.0003337/0.492, allocations: 203.1 kB / 0.5349 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.4921, allocations: 41.88 kB / 0.535 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.4922, allocations: 45.98 kB / 0.535 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4923, allocations: 3.125 kB / 0.535 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/0.4923, allocations: 3.531 kB / 0.535 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.4923, allocations: 5.031 kB / 0.535 GB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.4939, allocations: 0.9533 MB / 0.536 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4939, allocations: 1.156 kB / 0.536 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.494, allocations: 35.39 kB / 0.536 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000288/0.4943, allocations: 112.4 kB / 0.5361 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.4944, allocations: 6.781 kB / 0.5361 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002738/0.4971, allocations: 2.55 MB / 0.5386 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4971, allocations: 1.062 kB / 0.5386 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008247/0.4979, allocations: 0.6369 MB / 0.5392 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.4981, allocations: 114.7 kB / 0.5393 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.4981, allocations: 14.08 kB / 0.5394 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.4983, allocations: 5.531 kB / 0.5394 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.4984, allocations: 23.59 kB / 0.5394 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.4984, allocations: 7.062 kB / 0.5394 GB, free: 15.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002459/0.4986, allocations: 229.1 kB / 0.5396 GB, free: 15.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4987, allocations: 192 / 0.5396 GB, free: 15.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007755/0.4994, allocations: 160.9 kB / 0.5398 GB, free: 15.74 MB / 414.1 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 0.0001445/0.4996, allocations: 105 kB / 0.5399 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009449/0.5005, allocations: 0.5146 MB / 0.5404 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5006, allocations: 3.938 kB / 0.5404 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.501, allocations: 347.8 kB / 0.5407 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.5016, allocations: 61.06 kB / 0.5408 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.5034, allocations: 0.8296 MB / 0.5416 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/0.5041, allocations: 0.8839 MB / 0.5424 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002099/0.5043, allocations: 73.61 kB / 0.5425 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.5044, allocations: 22.69 kB / 0.5425 GB, free: 13.69 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5044, allocations: 4 kB / 0.5425 GB, free: 13.68 MB / 414.1 MB Notification: Performance of Templates: time 0.009587/0.514, allocations: 3.843 MB / 0.5463 GB, free: 11.81 MB / 414.1 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)