Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL.Examples.OpenCPS.Network") translateModel(OpenIPSL.Examples.OpenCPS.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001466/0.001466, allocations: 114.6 kB / 16.42 MB, free: 6.473 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.334/1.334, allocations: 222.9 MB / 240.1 MB, free: 4.516 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.001477/0.001477, allocations: 184.5 kB / 290.4 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4997/0.4997, allocations: 91.9 MB / 432.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 78.5 kB / 0.5734 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1335, allocations: 71.3 MB / 0.643 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.OpenCPS.Network): time 0.01449/0.1481, allocations: 14.94 MB / 0.6576 GB, free: 4.598 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009878/0.158, allocations: 4.859 MB / 0.6623 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003172/0.1612, allocations: 39.94 kB / 0.6624 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002549/0.1638, allocations: 0.6463 MB / 0.663 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006267/0.1701, allocations: 1.792 MB / 0.6648 GB, free: 13.24 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004386/0.1745, allocations: 1.882 MB / 0.6666 GB, free: 11.37 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007521/0.182, allocations: 5.494 MB / 0.672 GB, free: 5.859 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003015/0.1851, allocations: 1.517 MB / 0.6734 GB, free: 4.289 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003227/0.1883, allocations: 2.032 MB / 0.6754 GB, free: 2.25 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003565/0.1919, allocations: 2.439 MB / 0.6778 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001692/0.1936, allocations: 0.5625 MB / 0.6784 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.1958, allocations: 0.82 MB / 0.6792 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001662/0.1975, allocations: 1.16 MB / 0.6803 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003411/0.2009, allocations: 2.254 MB / 0.6825 GB, free: 10.99 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008471/0.2094, allocations: 6.577 MB / 0.6889 GB, free: 4.387 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2095, allocations: 0 / 0.6889 GB, free: 4.387 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2095, allocations: 0 / 0.6889 GB, free: 4.387 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002305/0.2097, allocations: 0 / 0.6889 GB, free: 4.387 MB / 494.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.02728/0.237, allocations: 7.083 MB / 0.6958 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.033e-05/0.2371, allocations: 8.031 kB / 0.6958 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005713/0.2428, allocations: 0.9302 MB / 0.6967 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006/0.2489, allocations: 2.562 MB / 0.6992 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008777/0.2498, allocations: 0.7505 MB / 0.7 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/0.2508, allocations: 295.9 kB / 0.7003 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007977/0.2588, allocations: 3.193 MB / 0.7034 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.235e-05/0.2589, allocations: 0 / 0.7034 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004749/0.2594, allocations: 108 kB / 0.7035 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/0.2594, allocations: 67.92 kB / 0.7035 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006826/0.2663, allocations: 2.9 MB / 0.7064 GB, free: 2.105 MB / 0.4981 GB 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.02499/0.2913, allocations: 13.11 MB / 0.7192 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00809/0.2994, allocations: 4.17 MB / 0.7233 GB, free: 128 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003374/0.3028, allocations: 1.571 MB / 0.7248 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003012/0.3032, allocations: 45.88 kB / 0.7248 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004091/0.3073, allocations: 1.9 MB / 0.7267 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=261): time 8.946e-06/0.3073, allocations: 3.984 kB / 0.7267 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=265): time 0.06997/0.3773, allocations: 19.24 MB / 0.7455 GB, free: 9.082 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.3775, allocations: 277.4 kB / 0.7457 GB, free: 8.754 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006739/0.3842, allocations: 3.189 MB / 0.7489 GB, free: 5.566 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000867/0.3851, allocations: 93.7 kB / 0.7489 GB, free: 5.469 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001585/0.3867, allocations: 1.427 MB / 0.7503 GB, free: 4.027 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001626/0.3884, allocations: 0.9413 MB / 0.7513 GB, free: 3.078 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002828/0.3912, allocations: 0.7481 MB / 0.752 GB, free: 2.316 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.571e-05/0.3913, allocations: 305.1 kB / 0.7523 GB, free: 2.016 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004433/0.3957, allocations: 1.884 MB / 0.7541 GB, free: 112 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004732/0.4005, allocations: 2.298 MB / 0.7564 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04121/0.4417, allocations: 10.85 MB / 0.767 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-05/0.4418, allocations: 7.938 kB / 0.767 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of matching and sorting (n=517) (initialization): time 0.353/0.7948, allocations: 6.168 MB / 0.773 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.659e-05/0.795, allocations: 65.59 kB / 0.7731 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/0.795, allocations: 12.56 kB / 0.7731 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01225/0.8073, allocations: 3.365 MB / 0.7764 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003507/0.8108, allocations: 0.6122 MB / 0.777 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.823, allocations: 5.909 MB / 0.7827 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004344/0.8273, allocations: 286.3 kB / 0.783 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004179/0.8278, allocations: 137.8 kB / 0.7831 GB, free: 106.4 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.004831/0.8326, allocations: 2.403 MB / 0.7855 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003541/0.8362, allocations: 2.27 MB / 0.7877 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03503/0.8712, allocations: 10.77 MB / 0.7982 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.307e-05/0.8713, allocations: 3.656 kB / 0.7982 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=517) (initialization_lambda0): time 0.01337/0.8846, allocations: 6.067 MB / 0.8041 GB, free: 96.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/0.8847, allocations: 71.45 kB / 0.8042 GB, free: 96.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.8847, allocations: 13.52 kB / 0.8042 GB, free: 96.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/0.8957, allocations: 3.357 MB / 0.8075 GB, free: 92.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0029/0.8986, allocations: 0.6046 MB / 0.8081 GB, free: 92.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.9092, allocations: 5.988 MB / 0.8139 GB, free: 86.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005355/0.9146, allocations: 287.7 kB / 0.8142 GB, free: 85.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008728/0.9155, allocations: 132 kB / 0.8143 GB, free: 85.68 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.001802/0.9173, allocations: 422.9 kB / 0.8147 GB, free: 85.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001672/0.919, allocations: 360.1 kB / 0.8151 GB, free: 85.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01929/0.9383, allocations: 6.404 MB / 0.8213 GB, free: 78.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.55e-05/0.9384, allocations: 19.95 kB / 0.8214 GB, free: 78.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.9384, allocations: 0 / 0.8214 GB, free: 78.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.9396, allocations: 0.4916 MB / 0.8218 GB, free: 78.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/0.9408, allocations: 60 kB / 0.8219 GB, free: 78.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003241/0.9441, allocations: 243.7 kB / 0.8221 GB, free: 77.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001891/0.946, allocations: 0.6378 MB / 0.8227 GB, free: 77.34 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01493/0.9609, allocations: 5.099 MB / 0.8277 GB, free: 72.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009704/0.9707, allocations: 5.477 MB / 0.8331 GB, free: 66.68 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002762/0.9734, allocations: 1.571 MB / 0.8346 GB, free: 65.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003735/0.9772, allocations: 2.1 MB / 0.8367 GB, free: 63.01 MB / 0.5606 GB Notification: Performance of Backend: time 7.92e-07/0.9772, allocations: 0 / 0.8367 GB, free: 63.01 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02023/0.9975, allocations: 7.568 MB / 0.844 GB, free: 55.41 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01036/1.008, allocations: 7.449 MB / 0.8513 GB, free: 47.96 MB / 0.5606 GB Notification: Performance of Templates: time 0.1056/1.113, allocations: 76.66 MB / 0.9262 GB, free: 3.461 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.OpenCPS.Network.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.OpenCPS.Network.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.OpenCPS.Network.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.OpenCPS.Network.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.OpenCPS.Network.sim & ./OpenIPSL_dev_OpenIPSL.Examples.OpenCPS.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.OpenCPS.Network.pipe 2>&1)