Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.OpenCPS.Network.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.OpenCPS.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.OpenCPS.Network") translateModel(OpenIPSL.Examples.OpenCPS.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.OpenCPS.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 112.4 kB / 16.42 MB, free: 6.453 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.338/1.338, allocations: 222.9 MB / 240.1 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 196.4 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4693/0.4693, allocations: 78.53 MB / 419.1 MB, free: 3.148 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 79.88 kB / 0.5543 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3272, allocations: 68.16 MB / 0.6208 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.OpenCPS.Network): time 0.01265/0.3399, allocations: 14.93 MB / 0.6354 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.3502, allocations: 4.867 MB / 0.6402 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.353, allocations: 47.88 kB / 0.6402 GB, free: 6.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.3547, allocations: 0.6424 MB / 0.6408 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005674/0.3603, allocations: 2.136 MB / 0.6429 GB, free: 3.543 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.3638, allocations: 1.788 MB / 0.6447 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007352/0.3711, allocations: 5.806 MB / 0.6503 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.3732, allocations: 1.505 MB / 0.6518 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003129/0.3764, allocations: 2.071 MB / 0.6538 GB, free: 8.309 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00369/0.3801, allocations: 2.474 MB / 0.6563 GB, free: 5.824 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001056/0.3812, allocations: 0.5664 MB / 0.6568 GB, free: 5.258 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.3828, allocations: 0.8122 MB / 0.6576 GB, free: 4.445 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.3838, allocations: 1.172 MB / 0.6587 GB, free: 3.27 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002598/0.3865, allocations: 2.262 MB / 0.661 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008378/0.3948, allocations: 6.603 MB / 0.6674 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.3949, allocations: 7.984 kB / 0.6674 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3949, allocations: 0 / 0.6674 GB, free: 10.36 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001095/0.395, allocations: 0 / 0.6674 GB, free: 10.36 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 644 * Number of variables: 644 Notification: Performance of Generate backend data structure: time 0.02889/0.4239, allocations: 7.778 MB / 0.675 GB, free: 2.484 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.424, allocations: 11.97 kB / 0.675 GB, free: 2.473 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005167/0.4291, allocations: 0.9302 MB / 0.6759 GB, free: 1.539 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005642/0.4348, allocations: 2.554 MB / 0.6784 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008932/0.4357, allocations: 0.7583 MB / 0.6792 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009032/0.4366, allocations: 299.8 kB / 0.6794 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007866/0.4445, allocations: 3.197 MB / 0.6826 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.678e-05/0.4446, allocations: 7.938 kB / 0.6826 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004186/0.445, allocations: 100 kB / 0.6827 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/0.4451, allocations: 64 kB / 0.6827 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007144/0.4522, allocations: 2.9 MB / 0.6856 GB, free: 7.375 MB / 494.1 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.02684/0.4791, allocations: 13.11 MB / 0.6984 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008698/0.4878, allocations: 4.186 MB / 0.7025 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003408/0.4913, allocations: 1.574 MB / 0.704 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/0.4916, allocations: 45.95 kB / 0.704 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004203/0.4958, allocations: 1.888 MB / 0.7059 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=261): time 9.387e-06/0.4959, allocations: 0 / 0.7059 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.07/0.5659, allocations: 19.25 MB / 0.7247 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.566, allocations: 269.5 kB / 0.7249 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00648/0.5725, allocations: 3.181 MB / 0.728 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007368/0.5733, allocations: 101.7 kB / 0.7281 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001505/0.5748, allocations: 1.423 MB / 0.7295 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001495/0.5763, allocations: 0.9568 MB / 0.7305 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002652/0.579, allocations: 0.7442 MB / 0.7312 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.5791, allocations: 301.1 kB / 0.7315 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004465/0.5835, allocations: 1.888 MB / 0.7333 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004757/0.5883, allocations: 2.306 MB / 0.7356 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04062/0.6289, allocations: 10.84 MB / 0.7462 GB, free: 7.973 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.629, allocations: 0 / 0.7462 GB, free: 7.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=517) (initialization): time 0.01625/0.6453, allocations: 6.177 MB / 0.7522 GB, free: 1.766 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-05/0.6454, allocations: 71.39 kB / 0.7523 GB, free: 1.684 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.6454, allocations: 8 kB / 0.7523 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01234/0.6577, allocations: 3.363 MB / 0.7555 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003201/0.661, allocations: 0.6085 MB / 0.7561 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/0.6739, allocations: 5.92 MB / 0.7619 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004675/0.6786, allocations: 287.8 kB / 0.7622 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008461/0.6795, allocations: 136 kB / 0.7623 GB, free: 7.195 MB / 0.5606 GB 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006334/0.6859, allocations: 2.396 MB / 0.7647 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004909/0.6908, allocations: 2.28 MB / 0.7669 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3191/1.01, allocations: 10.78 MB / 0.7774 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.637e-05/1.01, allocations: 1.625 kB / 0.7774 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=517) (initialization_lambda0): time 0.01505/1.025, allocations: 6.078 MB / 0.7834 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/1.025, allocations: 62.34 kB / 0.7834 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.025, allocations: 3.375 kB / 0.7834 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01132/1.037, allocations: 3.355 MB / 0.7867 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/1.04, allocations: 0.6085 MB / 0.7873 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/1.05, allocations: 5.988 MB / 0.7931 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004326/1.055, allocations: 279.2 kB / 0.7934 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00051/1.055, allocations: 142 kB / 0.7935 GB, free: 121.2 MB / 0.5606 GB 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,breaker1.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 (406): * Single equations (assignments): 402 * 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), (36,66)} Notification: Performance of prepare postOptimizeDAE: time 0.0007393/1.056, allocations: 418.8 kB / 0.7939 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006551/1.057, allocations: 361.3 kB / 0.7943 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01799/1.075, allocations: 6.413 MB / 0.8005 GB, free: 115 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.896e-05/1.075, allocations: 11.95 kB / 0.8006 GB, free: 115 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.075, allocations: 0 / 0.8006 GB, free: 115 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.076, allocations: 496.9 kB / 0.801 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007523/1.077, allocations: 67.94 kB / 0.8011 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002571/1.079, allocations: 243.7 kB / 0.8013 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001631/1.081, allocations: 0.6378 MB / 0.8019 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01312/1.094, allocations: 5.088 MB / 0.8069 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008991/1.103, allocations: 5.484 MB / 0.8123 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002727/1.106, allocations: 1.563 MB / 0.8138 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003404/1.109, allocations: 2.1 MB / 0.8159 GB, free: 99.56 MB / 0.5606 GB Notification: Performance of Backend: time 8.01e-07/1.109, allocations: 0 / 0.8159 GB, free: 99.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01893/1.128, allocations: 7.565 MB / 0.8232 GB, free: 91.97 MB / 0.5606 GB Notification: Performance of SimCode: time 0.00928/1.137, allocations: 7.438 MB / 0.8305 GB, free: 84.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.09663/1.234, allocations: 76.61 MB / 0.9053 GB, free: 8.066 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.OpenCPS.Network.makefile (rm -f OpenIPSL_OpenIPSL.Examples.OpenCPS.Network.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.OpenCPS.Network.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.OpenCPS.Network.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.OpenCPS.Network.sim & ./OpenIPSL_OpenIPSL.Examples.OpenCPS.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.OpenCPS.Network.pipe 2>&1)