Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network_Expanded.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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) Running command: translateModel(OpenIPSL.Examples.OpenCPS.Network_Expanded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network_Expanded") translateModel(OpenIPSL.Examples.OpenCPS.Network_Expanded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network_Expanded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008551/0.0008552, allocations: 175 kB / 16.08 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 239.7 MB, free: 10.2 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008137/0.0008136, allocations: 102.2 kB / 290.5 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4414/0.4414, allocations: 78.42 MB / 419.6 MB, free: 9.789 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 12 kB / 499.1 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.28, allocations: 68.75 MB / 0.5545 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.OpenCPS.Network_Expanded): time 0.01088/0.291, allocations: 15.86 MB / 0.57 GB, free: 4.328 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008059/0.2991, allocations: 4.962 MB / 0.5748 GB, free: 15.35 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002378/0.3015, allocations: 47.88 kB / 0.5749 GB, free: 15.3 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.3029, allocations: 0.5004 MB / 0.5754 GB, free: 14.8 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005022/0.308, allocations: 1.835 MB / 0.5772 GB, free: 12.97 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003256/0.3113, allocations: 1.723 MB / 0.5789 GB, free: 11.26 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005664/0.3169, allocations: 5.435 MB / 0.5842 GB, free: 5.812 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.3189, allocations: 1.556 MB / 0.5857 GB, free: 4.188 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.3211, allocations: 1.59 MB / 0.5872 GB, free: 2.59 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002182/0.3233, allocations: 2.173 MB / 0.5894 GB, free: 416 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004167/0.3237, allocations: 172 kB / 0.5895 GB, free: 244 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000926/0.3247, allocations: 407.7 kB / 0.5899 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006023/0.3253, allocations: 0.7539 MB / 0.5906 GB, free: 15.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001551/0.3268, allocations: 1.848 MB / 0.5924 GB, free: 13.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005016/0.3319, allocations: 6.196 MB / 0.5985 GB, free: 7.004 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3319, allocations: 4 kB / 0.5985 GB, free: 7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3319, allocations: 0 / 0.5985 GB, free: 7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.636e-05/0.332, allocations: 0 / 0.5985 GB, free: 7 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 681 * Number of variables: 681 Notification: Performance of Generate backend data structure: time 0.02483/0.3568, allocations: 7.067 MB / 0.6054 GB, free: 15.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.3569, allocations: 12.03 kB / 0.6054 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005501/0.3624, allocations: 1.033 MB / 0.6064 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004842/0.3673, allocations: 2.567 MB / 0.6089 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007864/0.3681, allocations: 0.8245 MB / 0.6097 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005248/0.3686, allocations: 311.8 kB / 0.61 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006418/0.3751, allocations: 3.389 MB / 0.6133 GB, free: 7.418 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/0.3751, allocations: 0 / 0.6133 GB, free: 7.418 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002574/0.3754, allocations: 112 kB / 0.6135 GB, free: 7.309 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-05/0.3754, allocations: 64 kB / 0.6135 GB, free: 7.246 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006488/0.3819, allocations: 3.062 MB / 0.6165 GB, free: 4.172 MB / 426.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.02249/0.4044, allocations: 13.81 MB / 0.63 GB, free: 5.844 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007509/0.412, allocations: 4.13 MB / 0.634 GB, free: 1.547 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003274/0.4153, allocations: 1.681 MB / 0.6357 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/0.4155, allocations: 50.02 kB / 0.6357 GB, free: 15.79 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003833/0.4194, allocations: 2.015 MB / 0.6377 GB, free: 13.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=273): time 4.889e-06/0.4194, allocations: 3.938 kB / 0.6377 GB, free: 13.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=277): time 0.08032/0.4997, allocations: 23.43 MB / 0.6606 GB, free: 6.039 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.4999, allocations: 261.5 kB / 0.6608 GB, free: 5.727 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005401/0.5053, allocations: 3.219 MB / 0.6639 GB, free: 2.512 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006254/0.5059, allocations: 97.7 kB / 0.664 GB, free: 2.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.5071, allocations: 1.444 MB / 0.6655 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001082/0.5082, allocations: 0.9477 MB / 0.6664 GB, free: 15.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005459/0.5088, allocations: 414.5 kB / 0.6668 GB, free: 15.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.572e-05/0.5088, allocations: 309.1 kB / 0.6671 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00406/0.5129, allocations: 1.96 MB / 0.669 GB, free: 13.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004391/0.5173, allocations: 2.413 MB / 0.6713 GB, free: 10.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2655/0.7828, allocations: 11.49 MB / 0.6826 GB, free: 109.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.7829, allocations: 0 / 0.6826 GB, free: 109.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.01459/0.7975, allocations: 6.296 MB / 0.6887 GB, free: 107.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.7977, allocations: 353.7 kB / 0.689 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.7977, allocations: 5.812 kB / 0.689 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01359/0.8113, allocations: 3.651 MB / 0.6926 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003147/0.8145, allocations: 0.6219 MB / 0.6932 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.8259, allocations: 6.11 MB / 0.6992 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003831/0.8297, allocations: 301.7 kB / 0.6995 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003068/0.83, allocations: 138.8 kB / 0.6996 GB, free: 102.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/0.83, allocations: 3.938 kB / 0.6996 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01057/0.8406, allocations: 5.877 MB / 0.7053 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.8407, allocations: 7.188 kB / 0.7054 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01141/0.8521, allocations: 3.576 MB / 0.7088 GB, free: 98.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/0.8548, allocations: 0.6088 MB / 0.7094 GB, free: 97.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.865, allocations: 6 MB / 0.7153 GB, free: 92.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003797/0.8689, allocations: 287.8 kB / 0.7156 GB, free: 92.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003075/0.8692, allocations: 140 kB / 0.7157 GB, free: 92.12 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G2.central_Unit.freq_ctrl.fREQ_CALC.derivative.x:VARIABLE(start = G2.central_Unit.freq_ctrl.fREQ_CALC.derivative.x_start fixed = true ) "State of block" type: Real G2.central_Unit.freq_ctrl.fREQ_CALC.firstOrder.y:VARIABLE(flow=false start = G2.central_Unit.freq_ctrl.fREQ_CALC.firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 49 ($PRE.G2.central_Unit.aCT_UNIT.rSFlipFlop.pre.u,$PRE.G2.central_Unit.aCT_UNIT.f_limit_check.pre1.u,$PRE.G2.central_Unit.aCT_UNIT.f_limit_check.timer.entryTime,$PRE.G2.central_Unit.aCT_UNIT.v_limit_check.pre1.u,$PRE.G2.central_Unit.aCT_UNIT.v_limit_check.timer.entryTime,$PRE.G2.central_Unit.aCT_UNIT.fi_limit_check.pre1.u,$PRE.G2.central_Unit.aCT_UNIT.fi_limit_check.timer.entryTime,$PRE.G2.central_Unit.angle_ctrl.rSFlipFlop.pre.u,breaker2.TRIGGER,G2.central_Unit.aCT_UNIT.rSFlipFlop.pre.u,G2.central_Unit.aCT_UNIT.rSFlipFlop.QI,G2.central_Unit.aCT_UNIT.START_FI,G2.central_Unit.aCT_UNIT.START_FREQ,G2.central_Unit.aCT_UNIT.and1.y,G2.central_Unit.aCT_UNIT.and1.u[3],G2.central_Unit.aCT_UNIT.f_limit_check.pre1.y,G2.central_Unit.aCT_UNIT.f_limit_check.pre1.u,G2.central_Unit.aCT_UNIT.f_limit_check.timer.entryTime,G2.central_Unit.aCT_UNIT.f_limit_check.lessEqualThreshold.y,G2.central_Unit.aCT_UNIT.f_limit_check.greaterEqualThreshold.y,G2.central_Unit.aCT_UNIT.v_limit_check.pre1.y,G2.central_Unit.aCT_UNIT.v_limit_check.pre1.u,G2.central_Unit.aCT_UNIT.v_limit_check.timer.entryTime,G2.central_Unit.aCT_UNIT.v_limit_check.lessEqualThreshold.y,G2.central_Unit.aCT_UNIT.v_limit_check.greaterEqualThreshold.y,G2.central_Unit.aCT_UNIT.fi_limit_check.pre1.y,G2.central_Unit.aCT_UNIT.fi_limit_check.pre1.u,G2.central_Unit.aCT_UNIT.fi_limit_check.timer.entryTime,G2.central_Unit.aCT_UNIT.fi_limit_check.lessEqualThreshold.y,G2.central_Unit.aCT_UNIT.fi_limit_check.greaterEqualThreshold.y,G2.central_Unit.volt_ctrl.booleanStep.y,G2.central_Unit.angle_ctrl.rSFlipFlop.pre.u,G2.central_Unit.angle_ctrl.rSFlipFlop.QI,G2.central_Unit.angle_ctrl.rSFlipFlop.Q,G2.central_Unit.angle_ctrl.xor.y,G2.central_Unit.angle_ctrl.booleanStep2.y,G2.central_Unit.freq_ctrl.xor.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,G2.central_Unit.volt_ctrl.integrator.local_reset,G2.central_Unit.angle_ctrl.integrator.local_reset,G2.central_Unit.freq_ctrl.integrator.local_reset,G1.hYGOV.Position_Limiter.local_reset,G1.hYGOV.q.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 406 * Array equations: 0 * Algorithm blocks: 2 * 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,6), (43,67)} Notification: Performance of prepare postOptimizeDAE: time 0.001501/0.8707, allocations: 0.8169 MB / 0.7165 GB, free: 91.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005134/0.8712, allocations: 359 kB / 0.7168 GB, free: 91.13 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01933/0.8905, allocations: 7.121 MB / 0.7238 GB, free: 83.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-05/0.8906, allocations: 11.95 kB / 0.7238 GB, free: 83.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.8906, allocations: 8 kB / 0.7238 GB, free: 83.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008806/0.8915, allocations: 482.6 kB / 0.7243 GB, free: 83.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005201/0.892, allocations: 66.08 kB / 0.7243 GB, free: 83.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002472/0.8945, allocations: 257.7 kB / 0.7246 GB, free: 83.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001806/0.8963, allocations: 0.7157 MB / 0.7253 GB, free: 82.59 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01282/0.9092, allocations: 5.395 MB / 0.7306 GB, free: 77.27 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008981/0.9182, allocations: 5.761 MB / 0.7362 GB, free: 71.44 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002784/0.921, allocations: 1.657 MB / 0.7378 GB, free: 69.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00307/0.924, allocations: 2.125 MB / 0.7399 GB, free: 67.65 MB / 490.7 MB Notification: Performance of Backend: time 5.61e-07/0.9241, allocations: 0 / 0.7399 GB, free: 67.65 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01805/0.9421, allocations: 7.867 MB / 0.7476 GB, free: 59.75 MB / 490.7 MB Notification: Performance of SimCode: time 0.01022/0.9524, allocations: 8.922 MB / 0.7563 GB, free: 50.83 MB / 490.7 MB Notification: Performance of Templates: time 0.09424/1.047, allocations: 71.05 MB / 0.8257 GB, free: 11.92 MB / 0.5105 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network_Expanded.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network_Expanded.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network_Expanded.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network_Expanded.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network_Expanded.sim & ./OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network_Expanded -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network_Expanded.pipe 2>&1)