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.001533/0.001533, allocations: 107 kB / 17.74 MB, free: 5.336 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.001784/0.001784, allocations: 198.5 kB / 18.68 MB, free: 4.41 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.342/1.342, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1827/0.1827, allocations: 38.02 MB / 330.6 MB, free: 8.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 458.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2743, allocations: 58.05 MB / 0.5048 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.006669/0.281, allocations: 7.564 MB / 0.5122 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004719/0.2857, allocations: 4.15 MB / 0.5162 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/0.2861, allocations: 16.91 kB / 0.5162 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.2888, allocations: 1.028 MB / 0.5172 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.2912, allocations: 1.12 MB / 0.5183 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008422/0.2921, allocations: 298 kB / 0.5186 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00192/0.294, allocations: 1.369 MB / 0.5199 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008974/0.2949, allocations: 458.6 kB / 0.5204 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.296, allocations: 0.5711 MB / 0.5209 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009372/0.2969, allocations: 0.5843 MB / 0.5215 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.948e-05/0.297, allocations: 34.41 kB / 0.5215 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.2989, allocations: 0.9809 MB / 0.5225 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004321/0.2994, allocations: 269.9 kB / 0.5228 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004507/0.2998, allocations: 248.2 kB / 0.523 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.3014, allocations: 0.8199 MB / 0.5238 GB, free: 12.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3015, allocations: 4 kB / 0.5238 GB, free: 12.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3015, allocations: 1.375 kB / 0.5238 GB, free: 12.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.3015, allocations: 0 / 0.5238 GB, free: 12.03 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.001399/0.3029, allocations: 0.797 MB / 0.5246 GB, free: 11.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3029, allocations: 12.52 kB / 0.5246 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.3047, allocations: 132.4 kB / 0.5247 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006073/0.3053, allocations: 342.8 kB / 0.525 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.3053, allocations: 26.12 kB / 0.5251 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.3054, allocations: 41.84 kB / 0.5251 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008989/0.3063, allocations: 0.5879 MB / 0.5257 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.3063, allocations: 5.312 kB / 0.5257 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.3064, allocations: 21.48 kB / 0.5257 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.028e-05/0.3065, allocations: 41.09 kB / 0.5257 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00062/0.3071, allocations: 384.1 kB / 0.5261 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002626/0.3097, allocations: 2.588 MB / 0.5286 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006665/0.3104, allocations: 434.1 kB / 0.5291 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.3107, allocations: 203.4 kB / 0.5292 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.3107, allocations: 8.953 kB / 0.5293 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.3108, allocations: 37.73 kB / 0.5293 GB, free: 8.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.3108, allocations: 4 kB / 0.5293 GB, free: 8.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.001756/0.3126, allocations: 0.7631 MB / 0.53 GB, free: 7.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.3126, allocations: 106.5 kB / 0.5301 GB, free: 7.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.313, allocations: 320 kB / 0.5304 GB, free: 7.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.313, allocations: 31.92 kB / 0.5305 GB, free: 7.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.3132, allocations: 254.5 kB / 0.5307 GB, free: 7.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.3133, allocations: 115.6 kB / 0.5308 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.3135, allocations: 80.06 kB / 0.5309 GB, free: 7.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3136, allocations: 355.8 kB / 0.5312 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.3138, allocations: 132.8 kB / 0.5314 GB, free: 6.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/0.3141, allocations: 275 kB / 0.5316 GB, free: 6.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/0.3147, allocations: 459.3 kB / 0.5321 GB, free: 6.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3147, allocations: 2.094 kB / 0.5321 GB, free: 6.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009192/0.3156, allocations: 0.5547 MB / 0.5326 GB, free: 5.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3156, allocations: 8.062 kB / 0.5326 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.3157, allocations: 9.391 kB / 0.5326 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/0.316, allocations: 129.9 kB / 0.5328 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.3163, allocations: 72.94 kB / 0.5328 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/0.319, allocations: 2.561 MB / 0.5353 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.3192, allocations: 48.44 kB / 0.5354 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.3193, allocations: 23.53 kB / 0.5354 GB, free: 3.746 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.0002203/0.3195, allocations: 198.4 kB / 0.5356 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.3196, allocations: 36.84 kB / 0.5356 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.3197, allocations: 49.7 kB / 0.5357 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3197, allocations: 5.047 kB / 0.5357 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3198, allocations: 1.219 kB / 0.5357 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.3199, allocations: 117.3 kB / 0.5358 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/0.3199, allocations: 6.406 kB / 0.5358 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.3201, allocations: 9.312 kB / 0.5358 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.3202, allocations: 29.58 kB / 0.5358 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001013/0.3212, allocations: 0.7032 MB / 0.5365 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007931/0.322, allocations: 0.8079 MB / 0.5373 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002059/0.3222, allocations: 141.1 kB / 0.5374 GB, free: 2.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002286/0.3225, allocations: 224.8 kB / 0.5377 GB, free: 2.066 MB / 398.1 MB Notification: Performance of Backend: time 4.2e-07/0.3225, allocations: 1.094 kB / 0.5377 GB, free: 2.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002089/0.3246, allocations: 0.817 MB / 0.5385 GB, free: 1.562 MB / 398.1 MB Notification: Performance of SimCode: time 0.001498/0.3261, allocations: 1.278 MB / 0.5397 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of Templates: time 0.01241/0.3385, allocations: 7.059 MB / 0.5466 GB, free: 12.95 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)