Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.OpenCPS.Network_Expanded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 250.5 MB, free: 9.395 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 200 kB / 306.7 MB, free: 4.355 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5882/0.5882, allocations: 101.3 MB / 464.1 MB, free: 12.03 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.OpenCPS.Network_Expanded,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_OpenCPS_Network_Expanded",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.OpenCPS.Network_Expanded,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_OpenCPS_Network_Expanded",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 79.89 kB / 0.6199 GB, free: 15.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.171, allocations: 78.57 MB / 0.6967 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.OpenCPS.Network_Expanded): time 0.3728/0.5438, allocations: 15.54 MB / 0.7119 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01342/0.5572, allocations: 4.999 MB / 0.7167 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005892/0.5631, allocations: 56.38 kB / 0.7168 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00336/0.5665, allocations: 0.6678 MB / 0.7174 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009162/0.5756, allocations: 1.848 MB / 0.7192 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006003/0.5816, allocations: 1.946 MB / 0.7211 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01057/0.5922, allocations: 5.635 MB / 0.7266 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003744/0.5959, allocations: 1.122 MB / 0.7277 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005475/0.6014, allocations: 2.154 MB / 0.7298 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006144/0.6076, allocations: 2.592 MB / 0.7324 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002887/0.6104, allocations: 0.5762 MB / 0.7329 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003658/0.6141, allocations: 0.825 MB / 0.7337 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00306/0.6172, allocations: 1.185 MB / 0.7349 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.006026/0.6232, allocations: 2.313 MB / 0.7372 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01318/0.6364, allocations: 6.74 MB / 0.7437 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.6364, allocations: 0 / 0.7437 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.805e-06/0.6364, allocations: 1.125 kB / 0.7437 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003193/0.6367, allocations: 0 / 0.7437 GB, free: 10.26 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 683 * Number of variables: 683 Notification: Performance of Generate backend data structure: time 0.03262/0.6693, allocations: 7.369 MB / 0.7509 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.6694, allocations: 10.56 kB / 0.751 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001737/0.6695, allocations: 79.84 kB / 0.751 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009985/0.6705, allocations: 403.8 kB / 0.7514 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006208/0.6767, allocations: 1.06 MB / 0.7524 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006903/0.6836, allocations: 2.632 MB / 0.755 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001047/0.6847, allocations: 0.8287 MB / 0.7558 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009984/0.6857, allocations: 312.2 kB / 0.7561 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00802/0.6937, allocations: 3.422 MB / 0.7595 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.062e-05/0.6938, allocations: 6.156 kB / 0.7595 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002951/0.6941, allocations: 107.6 kB / 0.7596 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.147e-05/0.6941, allocations: 66.31 kB / 0.7596 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007386/0.7015, allocations: 3.089 MB / 0.7627 GB, free: 14.29 MB / 0.5294 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.02808/0.7296, allocations: 14.38 MB / 0.7767 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007694/0.7373, allocations: 3.747 MB / 0.7804 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003541/0.7408, allocations: 1.548 MB / 0.7819 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002217/0.741, allocations: 42.14 kB / 0.7819 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004179/0.7452, allocations: 2.004 MB / 0.7839 GB, free: 7.762 MB / 0.545 GB Notification: Performance of pre-optimization done (n=277): time 4.458e-06/0.7452, allocations: 3.938 kB / 0.7839 GB, free: 7.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=377): time 0.149/0.8942, allocations: 40.63 MB / 0.8235 GB, free: 14.88 MB / 0.5919 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of inlineWhenForInitialization (initialization): time 0.009964/0.9041, allocations: 3.109 MB / 0.8266 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006658/0.9108, allocations: 3.192 MB / 0.8297 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001182/0.912, allocations: 113.7 kB / 0.8298 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001761/0.9137, allocations: 1.491 MB / 0.8313 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002396/0.9161, allocations: 1.34 MB / 0.8326 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002518/0.9187, allocations: 0.9579 MB / 0.8335 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.9188, allocations: 301.1 kB / 0.8338 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007692/0.9265, allocations: 3.373 MB / 0.8371 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008666/0.9352, allocations: 3.868 MB / 0.8409 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07253/1.008, allocations: 19.54 MB / 0.8599 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.842e-05/1.008, allocations: 0 / 0.8599 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.04249/1.05, allocations: 12.71 MB / 0.8724 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/1.05, allocations: 67.34 kB / 0.8724 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.734e-05/1.05, allocations: 11.98 kB / 0.8724 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0266/1.077, allocations: 6.478 MB / 0.8788 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004141/1.081, allocations: 0.7098 MB / 0.8795 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05496/1.136, allocations: 20.21 MB / 0.8992 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01116/1.147, allocations: 0.8348 MB / 0.9 GB, free: 15.74 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001491/1.149, allocations: 215.8 kB / 0.9002 GB, free: 15.53 MB / 0.67 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.01093/1.16, allocations: 3.944 MB / 0.9041 GB, free: 11.57 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008735/1.168, allocations: 3.837 MB / 0.9078 GB, free: 7.613 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07379/1.242, allocations: 19.46 MB / 0.9268 GB, free: 3.891 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.03e-05/1.242, allocations: 4 kB / 0.9268 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of matching and sorting (n=637) (initialization_lambda0): time 0.04167/1.284, allocations: 12.67 MB / 0.9392 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.284, allocations: 63.41 kB / 0.9393 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/1.284, allocations: 8 kB / 0.9393 GB, free: 7.023 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02609/1.31, allocations: 6.482 MB / 0.9456 GB, free: 0.5273 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00416/1.314, allocations: 0.6981 MB / 0.9463 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0538/1.368, allocations: 20.21 MB / 0.966 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01113/1.379, allocations: 0.8269 MB / 0.9668 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00149/1.381, allocations: 223.8 kB / 0.967 GB, free: 10.38 MB / 0.7325 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: 31 * 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 (435): * Single equations (assignments): 429 * Array equations: 2 * 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): 1 system {(36,40,13.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(41,69)} Notification: Performance of prepare postOptimizeDAE: time 0.002414/1.383, allocations: 446.2 kB / 0.9675 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001825/1.385, allocations: 405.3 kB / 0.9678 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.395/1.78, allocations: 14.51 MB / 0.982 GB, free: 236.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04767/1.828, allocations: 13.9 MB / 0.9956 GB, free: 235.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-05/1.828, allocations: 19.47 kB / 0.9956 GB, free: 235.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000128/1.828, allocations: 21.2 kB / 0.9956 GB, free: 235.6 MB / 0.7325 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 postOpt removeSimpleEquations (simulation): time 0.06385/1.892, allocations: 23.67 MB / 1.019 GB, free: 227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-05/1.892, allocations: 3.812 kB / 1.019 GB, free: 227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003133/1.895, allocations: 463.9 kB / 1.019 GB, free: 226.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02395/1.919, allocations: 7.263 MB / 1.026 GB, free: 223.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001043/1.92, allocations: 126.3 kB / 1.026 GB, free: 223.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06555/1.985, allocations: 33.96 MB / 1.06 GB, free: 192.9 MB / 0.7325 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008109/1.993, allocations: 2.884 MB / 1.062 GB, free: 190 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04722/2.041, allocations: 18.44 MB / 1.08 GB, free: 171.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/2.043, allocations: 0.573 MB / 1.081 GB, free: 171.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/2.044, allocations: 83.98 kB / 1.081 GB, free: 171.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005623/2.049, allocations: 0.5384 MB / 1.082 GB, free: 170.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00233/2.051, allocations: 0.6827 MB / 1.082 GB, free: 170 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003286/2.052, allocations: 127.9 kB / 1.082 GB, free: 169.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003059/2.055, allocations: 2.094 MB / 1.084 GB, free: 167.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/2.055, allocations: 4 kB / 1.084 GB, free: 167.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.009047/2.064, allocations: 3.443 MB / 1.088 GB, free: 164.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 31 (IB.omega,$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],G1.gen.w,G1.sEXS.simpleLagLim.state,G1.sEXS.leadLag.TF.x_scaled[1],G1.hYGOV.SimpleLag1.state,G1.hYGOV.q.y,G1.hYGOV.g.state,G1.hYGOV.Position_Limiter.y,G2.gen.w,G2.gen.delta,G2.gen.PSIkd,G2.sEXS.simpleLagLim.state,G2.sEXS.leadLag.TF.x_scaled[1],G2.iEESGO.imSimpleLag.state,G2.iEESGO.imLeadLag.TF.x_scaled[1],G2.iEESGO.imSimpleLag1.state,G2.iEESGO.imSimpleLag2.state,G2.iEESGO.imSimpleLag3.state,G2.central_Unit.freq_ctrl.fREQ_CALC.derivative.x,G2.central_Unit.freq_ctrl.fREQ_CALC.firstOrder.y,G2.central_Unit.freq_ctrl.integrator.y,G2.central_Unit.angle_ctrl.integrator.y,G2.central_Unit.volt_ctrl.integrator.y) * Number of discrete variables: 36 (G2.central_Unit.aCT_UNIT.fi_limit_check.pre1.y,G2.central_Unit.aCT_UNIT.v_limit_check.pre1.y,G2.central_Unit.aCT_UNIT.f_limit_check.pre1.y,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition2,$whenCondition1,G2.central_Unit.freq_ctrl.xor.y,G2.central_Unit.angle_ctrl.booleanStep2.y,G2.central_Unit.angle_ctrl.xor.y,G2.central_Unit.angle_ctrl.rSFlipFlop.Q,G2.central_Unit.angle_ctrl.rSFlipFlop.QI,G2.central_Unit.angle_ctrl.rSFlipFlop.pre.u,G2.central_Unit.volt_ctrl.booleanStep.y,G2.central_Unit.aCT_UNIT.fi_limit_check.greaterEqualThreshold.y,G2.central_Unit.aCT_UNIT.fi_limit_check.lessEqualThreshold.y,G2.central_Unit.aCT_UNIT.fi_limit_check.timer.entryTime,G2.central_Unit.aCT_UNIT.fi_limit_check.pre1.u,G2.central_Unit.aCT_UNIT.v_limit_check.greaterEqualThreshold.y,G2.central_Unit.aCT_UNIT.v_limit_check.lessEqualThreshold.y,G2.central_Unit.aCT_UNIT.v_limit_check.timer.entryTime,G2.central_Unit.aCT_UNIT.v_limit_check.pre1.u,G2.central_Unit.aCT_UNIT.f_limit_check.greaterEqualThreshold.y,G2.central_Unit.aCT_UNIT.f_limit_check.lessEqualThreshold.y,G2.central_Unit.aCT_UNIT.f_limit_check.timer.entryTime,G2.central_Unit.aCT_UNIT.f_limit_check.pre1.u,G2.central_Unit.aCT_UNIT.and1.u[3],G2.central_Unit.aCT_UNIT.and1.y,G2.central_Unit.aCT_UNIT.START_FREQ,G2.central_Unit.aCT_UNIT.START_FI,G2.central_Unit.aCT_UNIT.rSFlipFlop.QI,G2.central_Unit.aCT_UNIT.rSFlipFlop.pre.u,breaker2.TRIGGER) * Number of discrete states: 5 (G2.central_Unit.aCT_UNIT.rSFlipFlop.pre.u,G2.central_Unit.aCT_UNIT.f_limit_check.pre1.u,G2.central_Unit.aCT_UNIT.v_limit_check.pre1.u,G2.central_Unit.aCT_UNIT.fi_limit_check.pre1.u,G2.central_Unit.angle_ctrl.rSFlipFlop.pre.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (236): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(36,40,13.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(40,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0471/2.111, allocations: 19.06 MB / 1.106 GB, free: 145.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0383/2.149, allocations: 15.1 MB / 1.121 GB, free: 130 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/2.149, allocations: 1.5 kB / 1.121 GB, free: 130 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01595/2.165, allocations: 6.167 MB / 1.127 GB, free: 123.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004531/2.17, allocations: 391 kB / 1.128 GB, free: 123.4 MB / 0.7325 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 5.37070412497269] Failed to read output from testmodel.py, exit status != 0: 2.178756169974804 2.18743413 1.548747168 Calling exit ...