Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.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.NetworkControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled") translateModel(PowerSystems.Examples.Generic.Network.NetworkControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 110.5 kB / 17.75 MB, free: 5.309 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.001153/0.001153, allocations: 197.2 kB / 18.68 MB, free: 4.379 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.297/1.297, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1771/0.1771, allocations: 38.03 MB / 330.6 MB, free: 8.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.91 kB / 458.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3024, allocations: 58.05 MB / 0.5048 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.008255/0.3107, allocations: 9.497 MB / 0.514 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007743/0.3185, allocations: 5.402 MB / 0.5193 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006974/0.3192, allocations: 35.12 kB / 0.5194 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.322, allocations: 1.124 MB / 0.5205 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003535/0.3255, allocations: 1.387 MB / 0.5218 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.3271, allocations: 0.6087 MB / 0.5224 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002361/0.3295, allocations: 2.025 MB / 0.5244 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.3308, allocations: 1.046 MB / 0.5254 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.332, allocations: 0.8546 MB / 0.5262 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.3332, allocations: 0.9126 MB / 0.5271 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.3334, allocations: 110 kB / 0.5272 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.3362, allocations: 1.561 MB / 0.5288 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006283/0.3369, allocations: 0.5795 MB / 0.5293 GB, free: 8.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007156/0.3376, allocations: 0.6626 MB / 0.53 GB, free: 8.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003136/0.3408, allocations: 2.06 MB / 0.532 GB, free: 7.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3408, allocations: 0 / 0.532 GB, free: 7.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.3408, allocations: 0 / 0.532 GB, free: 7.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.3408, allocations: 0 / 0.532 GB, free: 7.141 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: 299 * Number of variables: 299 Notification: Performance of Generate backend data structure: time 0.002741/0.3435, allocations: 1.686 MB / 0.5336 GB, free: 5.859 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3436, allocations: 12.95 kB / 0.5336 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0036/0.3472, allocations: 493.7 kB / 0.5341 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.3483, allocations: 0.6951 MB / 0.5348 GB, free: 5.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.891e-05/0.3484, allocations: 83.5 kB / 0.5349 GB, free: 5.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.3486, allocations: 116.8 kB / 0.535 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002652/0.3513, allocations: 1.61 MB / 0.5366 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/0.3513, allocations: 2.562 kB / 0.5366 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.3514, allocations: 46.42 kB / 0.5366 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.3516, allocations: 88.16 kB / 0.5367 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002801/0.3544, allocations: 1.631 MB / 0.5383 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007479/0.3619, allocations: 4.918 MB / 0.5431 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.3639, allocations: 1.316 MB / 0.5444 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.3652, allocations: 0.7939 MB / 0.5451 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.725e-05/0.3652, allocations: 29.2 kB / 0.5452 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001329/0.3666, allocations: 0.8298 MB / 0.546 GB, free: 14.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 3.236e-06/0.3666, allocations: 0 / 0.546 GB, free: 14.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01334/0.3799, allocations: 6.368 MB / 0.5522 GB, free: 7.543 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.38, allocations: 120.1 kB / 0.5523 GB, free: 7.402 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006217/0.3807, allocations: 0.5704 MB / 0.5529 GB, free: 6.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.202e-05/0.3807, allocations: 45.7 kB / 0.5529 GB, free: 6.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.3811, allocations: 489.3 kB / 0.5534 GB, free: 6.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000369/0.3814, allocations: 487.8 kB / 0.5538 GB, free: 5.805 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000376/0.3818, allocations: 230.9 kB / 0.5541 GB, free: 5.574 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.382, allocations: 406.8 kB / 0.5544 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.3831, allocations: 0.6189 MB / 0.5551 GB, free: 4.543 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.3843, allocations: 0.7754 MB / 0.5558 GB, free: 3.727 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.3866, allocations: 1.498 MB / 0.5573 GB, free: 2.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.3867, allocations: 7.938 kB / 0.5573 GB, free: 2.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003835/0.3905, allocations: 2.076 MB / 0.5593 GB, free: 76 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.3906, allocations: 37.64 kB / 0.5593 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.3906, allocations: 3.984 kB / 0.5593 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.3919, allocations: 453.5 kB / 0.5598 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.393, allocations: 255.6 kB / 0.56 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008382/0.4013, allocations: 6.76 MB / 0.5666 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008215/0.4022, allocations: 79.91 kB / 0.5667 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.4023, allocations: 51.98 kB / 0.5668 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001457/0.4038, allocations: 0.8694 MB / 0.5676 GB, free: 7.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001148/0.4049, allocations: 0.7676 MB / 0.5684 GB, free: 6.461 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002297/0.4072, allocations: 1.467 MB / 0.5698 GB, free: 4.949 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.995e-06/0.4072, allocations: 0 / 0.5698 GB, free: 4.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=162) (initialization_lambda0): time 0.003572/0.4108, allocations: 2.006 MB / 0.5717 GB, free: 2.922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.4109, allocations: 37.98 kB / 0.5718 GB, free: 2.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4109, allocations: 4 kB / 0.5718 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.4121, allocations: 437.9 kB / 0.5722 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.4131, allocations: 255.6 kB / 0.5724 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007648/0.4208, allocations: 6.605 MB / 0.5789 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008473/0.4216, allocations: 79.91 kB / 0.579 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.877e-05/0.4218, allocations: 47.98 kB / 0.579 GB, free: 11.17 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,disturbance.count,$PRE.disturbance.count,disturbance.T_start,$PRE.disturbance.T_start,$whenCondition1,$whenCondition2,frequencyPowerControl.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,9), (2,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0002972/0.4221, allocations: 248 kB / 0.5793 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.4222, allocations: 103.3 kB / 0.5794 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004316/0.4266, allocations: 2.165 MB / 0.5815 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.4266, allocations: 3.984 kB / 0.5815 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4266, allocations: 0 / 0.5815 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004567/0.4271, allocations: 296.3 kB / 0.5818 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.4272, allocations: 31.98 kB / 0.5818 GB, free: 8.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006742/0.4279, allocations: 71.92 kB / 0.5819 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/0.4282, allocations: 152.9 kB / 0.582 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004773/0.4329, allocations: 2.309 MB / 0.5843 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003803/0.4367, allocations: 2.522 MB / 0.5867 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001107/0.4379, allocations: 0.6933 MB / 0.5874 GB, free: 2.523 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004793/0.4384, allocations: 399.1 kB / 0.5878 GB, free: 2.133 MB / 446.1 MB Notification: Performance of Backend: time 3.91e-07/0.4384, allocations: 0 / 0.5878 GB, free: 2.133 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006243/0.4446, allocations: 3.456 MB / 0.5911 GB, free: 14.6 MB / 462.1 MB Notification: Performance of SimCode: time 0.003707/0.4483, allocations: 3.103 MB / 0.5942 GB, free: 11.44 MB / 462.1 MB Notification: Performance of Templates: time 0.04615/0.4945, allocations: 31.8 MB / 0.6252 GB, free: 11.68 MB / 494.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe 2>&1)