Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001312/0.001312, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.488/1.488, allocations: 230.6 MB / 253.4 MB, free: 14.41 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.00159/0.00159, allocations: 217.7 kB / 310 MB, free: 3.078 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5475/0.5475, allocations: 79.73 MB / 446.2 MB, free: 38.82 MB / 350.1 MB " [Timeout remaining time 179] 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.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_OpenIPSL_Examples_OpenCPS_Network_Expanded",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.OpenCPS.Network_Expanded,fileNamePrefix="OpenIPSL_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.002545/0.002545, allocations: 85.7 kB / 0.5937 GB, free: 38.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1493, allocations: 73.3 MB / 0.6653 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.OpenCPS.Network_Expanded): time 0.01876/0.1681, allocations: 15.52 MB / 0.6804 GB, free: 2.414 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.1823, allocations: 5.019 MB / 0.6853 GB, free: 13.38 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005062/0.1873, allocations: 51.81 kB / 0.6854 GB, free: 13.33 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003207/0.1905, allocations: 0.6696 MB / 0.686 GB, free: 12.65 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009139/0.1997, allocations: 2.191 MB / 0.6882 GB, free: 10.47 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005595/0.2053, allocations: 1.889 MB / 0.69 GB, free: 8.59 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01212/0.2174, allocations: 6.013 MB / 0.6959 GB, free: 2.562 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003621/0.221, allocations: 1.121 MB / 0.697 GB, free: 1.371 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005097/0.2261, allocations: 2.191 MB / 0.6991 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00506/0.2312, allocations: 2.634 MB / 0.7017 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002759/0.2339, allocations: 0.5742 MB / 0.7022 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003188/0.2371, allocations: 0.8318 MB / 0.7031 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002478/0.2396, allocations: 1.211 MB / 0.7042 GB, free: 9.906 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005124/0.2447, allocations: 2.336 MB / 0.7065 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.2565, allocations: 6.788 MB / 0.7131 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.2566, allocations: 0 / 0.7131 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2566, allocations: 0 / 0.7131 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002898/0.2568, allocations: 0 / 0.7131 GB, free: 0.7461 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: 681 * Number of variables: 681 Notification: Performance of Generate backend data structure: time 0.03665/0.2935, allocations: 8.968 MB / 0.7219 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.2935, allocations: 8.031 kB / 0.7219 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001218/0.2937, allocations: 76.66 kB / 0.722 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008821/0.2945, allocations: 392.6 kB / 0.7224 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0059/0.3004, allocations: 1.067 MB / 0.7234 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006597/0.307, allocations: 2.533 MB / 0.7259 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001333/0.3084, allocations: 1.263 MB / 0.7271 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/0.3095, allocations: 315.9 kB / 0.7274 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008861/0.3184, allocations: 3.413 MB / 0.7307 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-05/0.3184, allocations: 4 kB / 0.7307 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003321/0.3188, allocations: 112 kB / 0.7309 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.754e-05/0.3188, allocations: 64 kB / 0.7309 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008558/0.3274, allocations: 3.089 MB / 0.7339 GB, free: 10.95 MB / 0.5137 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.0309/0.3583, allocations: 13.98 MB / 0.7476 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008892/0.3672, allocations: 3.38 MB / 0.7509 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00399/0.3712, allocations: 1.564 MB / 0.7524 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.3714, allocations: 42.09 kB / 0.7524 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004876/0.3763, allocations: 2.046 MB / 0.7544 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=281): time 4.989e-06/0.3763, allocations: 0 / 0.7544 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=385): time 0.144/0.5203, allocations: 37.88 MB / 0.7914 GB, free: 15.24 MB / 0.5762 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.01012/0.5304, allocations: 3.147 MB / 0.7945 GB, free: 12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006706/0.5371, allocations: 3.223 MB / 0.7977 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001206/0.5383, allocations: 109.7 kB / 0.7978 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001671/0.54, allocations: 1.464 MB / 0.7992 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002447/0.5424, allocations: 1.379 MB / 0.8005 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002328/0.5447, allocations: 0.9542 MB / 0.8015 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5449, allocations: 309.1 kB / 0.8018 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007922/0.5528, allocations: 3.412 MB / 0.8051 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3355/0.8883, allocations: 3.875 MB / 0.8089 GB, free: 119.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07575/0.964, allocations: 19.67 MB / 0.8281 GB, free: 115 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-05/0.9641, allocations: 0.5 kB / 0.8281 GB, free: 115 MB / 0.5762 GB Notification: Performance of matching and sorting (n=643) (initialization): time 0.03555/0.9996, allocations: 12.87 MB / 0.8407 GB, free: 109.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.301e-05/0.9997, allocations: 67.33 kB / 0.8407 GB, free: 109.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/0.9997, allocations: 5.203 kB / 0.8407 GB, free: 109.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02349/1.023, allocations: 6.626 MB / 0.8472 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003719/1.027, allocations: 0.6961 MB / 0.8479 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04539/1.072, allocations: 22.28 MB / 0.8696 GB, free: 80.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009801/1.082, allocations: 0.8387 MB / 0.8705 GB, free: 79.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/1.083, allocations: 226.5 kB / 0.8707 GB, free: 78.97 MB / 0.5762 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.007603/1.091, allocations: 3.979 MB / 0.8746 GB, free: 74.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006529/1.097, allocations: 3.848 MB / 0.8783 GB, free: 71.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06482/1.162, allocations: 19.62 MB / 0.8975 GB, free: 51.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.131e-05/1.162, allocations: 0 / 0.8975 GB, free: 51.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=643) (initialization_lambda0): time 0.03333/1.195, allocations: 12.75 MB / 0.9099 GB, free: 38.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.821e-05/1.196, allocations: 71.39 kB / 0.91 GB, free: 38.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/1.196, allocations: 4 kB / 0.91 GB, free: 38.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02305/1.219, allocations: 6.613 MB / 0.9165 GB, free: 31.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003635/1.222, allocations: 0.6903 MB / 0.9171 GB, free: 31.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04645/1.269, allocations: 22.35 MB / 0.939 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009587/1.278, allocations: 0.8387 MB / 0.9398 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/1.279, allocations: 215.8 kB / 0.94 GB, free: 7.672 MB / 0.5762 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: 25 * 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): 428 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,6), (43,67)} Notification: Performance of prepare postOptimizeDAE: time 0.001299/1.281, allocations: 455 kB / 0.9404 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/1.282, allocations: 405.3 kB / 0.9408 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04787/1.33, allocations: 14.75 MB / 0.9552 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05082/1.381, allocations: 14.15 MB / 0.969 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.534e-05/1.381, allocations: 17.97 kB / 0.9691 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001197/1.381, allocations: 19.92 kB / 0.9691 GB, free: 9.758 MB / 0.6075 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.06922/1.45, allocations: 23.89 MB / 0.9924 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.754e-05/1.45, allocations: 4.25 kB / 0.9924 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003068/1.453, allocations: 455.3 kB / 0.9928 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02852/1.482, allocations: 7.373 MB / 1 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00127/1.483, allocations: 115.9 kB / 1 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0879/1.571, allocations: 35.95 MB / 1.035 GB, free: 5.531 MB / 0.67 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.009854/1.581, allocations: 2.907 MB / 1.038 GB, free: 2.594 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05894/1.64, allocations: 18.67 MB / 1.056 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001943/1.641, allocations: 0.4995 MB / 1.057 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00183/1.643, allocations: 87.98 kB / 1.057 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00774/1.651, allocations: 0.5422 MB / 1.057 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003508/1.655, allocations: 0.7488 MB / 1.058 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008966/1.655, allocations: 127.9 kB / 1.058 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.005303/1.661, allocations: 2.121 MB / 1.06 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.31e-07/1.661, allocations: 4 kB / 1.06 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01478/1.676, allocations: 3.473 MB / 1.064 GB, free: 8.223 MB / 0.7012 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 (238): * Single equations (assignments): 229 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * 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): 2 systems {(1,6), (39,33)} Notification: Performance of Backend phase and start with SimCode phase: time 0.4877/2.163, allocations: 19.29 MB / 1.083 GB, free: 230.2 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.04904/2.212, allocations: 15.66 MB / 1.098 GB, free: 227.4 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/2.212, allocations: 0 / 1.098 GB, free: 227.4 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.01832/2.231, allocations: 6.151 MB / 1.104 GB, free: 225.2 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005603/2.236, allocations: 393.2 kB / 1.104 GB, free: 225 MB / 0.7012 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.618321492918767] Failed to read output from testmodel.py, exit status != 0: 2.246245431015268 2.258497417 1.998939285 Calling exit ...