Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network") translateModel(OpenIPSL.Examples.OpenCPS.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 175.8 kB / 16.08 MB, free: 5.719 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.344/1.344, allocations: 222.9 MB / 239.7 MB, free: 10.18 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.0007962/0.0007962, allocations: 97.8 kB / 290.5 MB, free: 11.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4341/0.4341, allocations: 78.41 MB / 419.6 MB, free: 9.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003511, allocations: 11.94 kB / 499.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2959, allocations: 68.75 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.OpenCPS.Network): time 0.01057/0.3066, allocations: 15.35 MB / 0.5695 GB, free: 4.812 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007533/0.3141, allocations: 4.853 MB / 0.5742 GB, free: 15.95 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002517/0.3167, allocations: 47.88 kB / 0.5743 GB, free: 15.9 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.3182, allocations: 488.5 kB / 0.5747 GB, free: 15.42 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005319/0.3236, allocations: 1.812 MB / 0.5765 GB, free: 13.62 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003264/0.3269, allocations: 1.633 MB / 0.5781 GB, free: 11.99 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006199/0.3331, allocations: 5.318 MB / 0.5833 GB, free: 6.664 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002276/0.3354, allocations: 1.391 MB / 0.5847 GB, free: 5.219 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002406/0.3378, allocations: 1.532 MB / 0.5862 GB, free: 3.68 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002948/0.3408, allocations: 2.037 MB / 0.5881 GB, free: 1.633 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001159/0.3419, allocations: 168 kB / 0.5883 GB, free: 1.469 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.3438, allocations: 395.7 kB / 0.5887 GB, free: 1.082 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001291/0.3451, allocations: 0.7384 MB / 0.5894 GB, free: 348 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00291/0.348, allocations: 1.789 MB / 0.5912 GB, free: 14.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006429/0.3544, allocations: 6.018 MB / 0.597 GB, free: 8.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3545, allocations: 4 kB / 0.597 GB, free: 8.496 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3545, allocations: 0 / 0.597 GB, free: 8.496 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001469/0.3546, allocations: 0 / 0.597 GB, free: 8.496 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: 644 * Number of variables: 644 Notification: Performance of Generate backend data structure: time 0.02456/0.3792, allocations: 6.819 MB / 0.6037 GB, free: 1.582 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3793, allocations: 8.031 kB / 0.6037 GB, free: 1.574 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00498/0.3842, allocations: 0.9081 MB / 0.6046 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005332/0.3896, allocations: 2.512 MB / 0.607 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008351/0.3905, allocations: 0.7544 MB / 0.6078 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008529/0.3913, allocations: 303.8 kB / 0.6081 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007276/0.3986, allocations: 3.189 MB / 0.6112 GB, free: 9.625 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/0.3987, allocations: 7.938 kB / 0.6112 GB, free: 9.617 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003492/0.399, allocations: 104 kB / 0.6113 GB, free: 9.516 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-05/0.3991, allocations: 60 kB / 0.6113 GB, free: 9.457 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006824/0.4059, allocations: 2.904 MB / 0.6142 GB, free: 6.539 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.02512/0.4311, allocations: 13.19 MB / 0.6271 GB, free: 8.848 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008624/0.4397, allocations: 4.185 MB / 0.6312 GB, free: 4.469 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003559/0.4433, allocations: 1.568 MB / 0.6327 GB, free: 2.891 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003376/0.4437, allocations: 45.91 kB / 0.6327 GB, free: 2.848 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004134/0.4479, allocations: 1.892 MB / 0.6346 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of pre-optimization done (n=261): time 6.493e-06/0.4479, allocations: 0 / 0.6346 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of matching and sorting (n=265): time 0.06711/0.515, allocations: 19.04 MB / 0.6532 GB, free: 13.62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.5152, allocations: 265.4 kB / 0.6534 GB, free: 13.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005246/0.5204, allocations: 3.181 MB / 0.6565 GB, free: 10.12 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007163/0.5212, allocations: 101.7 kB / 0.6566 GB, free: 10.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001236/0.5224, allocations: 1.394 MB / 0.658 GB, free: 8.605 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001247/0.5237, allocations: 0.9168 MB / 0.6589 GB, free: 7.676 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005589/0.5242, allocations: 410.3 kB / 0.6593 GB, free: 7.266 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.5243, allocations: 301.1 kB / 0.6596 GB, free: 6.969 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003978/0.5283, allocations: 1.87 MB / 0.6614 GB, free: 5.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004323/0.5327, allocations: 2.298 MB / 0.6636 GB, free: 2.676 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03891/0.5716, allocations: 10.84 MB / 0.6742 GB, free: 7.691 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/0.5716, allocations: 4 kB / 0.6742 GB, free: 7.688 MB / 490.7 MB Notification: Performance of matching and sorting (n=517) (initialization): time 0.01626/0.5879, allocations: 6.155 MB / 0.6802 GB, free: 1.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002497/0.5882, allocations: 359.6 kB / 0.6806 GB, free: 1.047 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.5882, allocations: 8 kB / 0.6806 GB, free: 1.039 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2557/0.844, allocations: 3.373 MB / 0.6839 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/0.847, allocations: 0.608 MB / 0.6845 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.8585, allocations: 5.737 MB / 0.6901 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00381/0.8623, allocations: 286.6 kB / 0.6903 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003384/0.8627, allocations: 134.5 kB / 0.6905 GB, free: 107.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.8627, allocations: 7.406 kB / 0.6905 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01175/0.8744, allocations: 5.742 MB / 0.6961 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.8745, allocations: 7.906 kB / 0.6961 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01038/0.8849, allocations: 3.246 MB / 0.6993 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/0.8876, allocations: 0.6082 MB / 0.6999 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009686/0.8973, allocations: 5.703 MB / 0.7054 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00376/0.9011, allocations: 279 kB / 0.7057 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/0.9014, allocations: 138.9 kB / 0.7058 GB, free: 101.2 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,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.00148/0.9029, allocations: 0.7989 MB / 0.7066 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005227/0.9034, allocations: 347.3 kB / 0.7069 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01722/0.9206, allocations: 6.415 MB / 0.7132 GB, free: 94.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-05/0.9207, allocations: 11.95 kB / 0.7132 GB, free: 94.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.9207, allocations: 3.938 kB / 0.7132 GB, free: 94.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009643/0.9217, allocations: 485.1 kB / 0.7137 GB, free: 94.33 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005503/0.9222, allocations: 64 kB / 0.7137 GB, free: 94.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002355/0.9246, allocations: 245.6 kB / 0.714 GB, free: 94.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001503/0.9261, allocations: 0.6259 MB / 0.7146 GB, free: 93.4 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01249/0.9386, allocations: 5.09 MB / 0.7196 GB, free: 88.38 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008469/0.9471, allocations: 5.459 MB / 0.7249 GB, free: 83.04 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002593/0.9497, allocations: 1.567 MB / 0.7264 GB, free: 81.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00311/0.9528, allocations: 2.1 MB / 0.7285 GB, free: 79.37 MB / 490.7 MB Notification: Performance of Backend: time 4.41e-07/0.9529, allocations: 0 / 0.7285 GB, free: 79.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01675/0.9696, allocations: 7.408 MB / 0.7357 GB, free: 71.94 MB / 490.7 MB Notification: Performance of SimCode: time 0.009186/0.9788, allocations: 8.61 MB / 0.7441 GB, free: 63.33 MB / 490.7 MB Notification: Performance of Templates: time 0.08922/1.068, allocations: 68.3 MB / 0.8108 GB, free: 11.19 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network.sim & ./OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.OpenCPS.Network.pipe 2>&1)