Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.OpenCPS.Network_Expanded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08104/0.08104, allocations: 12.36 MB / 31.99 MB, free: 6.426 MB / 26.18 MB " [Timeout remaining time 180] 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.001245/0.001245, allocations: 105.1 kB / 38.03 MB, free: 1.102 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 207.7 MB / 251.7 MB, free: 7.27 MB / 190.1 MB " [Timeout remaining time 179] 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.001573/0.001573, allocations: 212.4 kB / 306.9 MB, free: 324 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3147/0.3147, allocations: 79.74 MB / 441.7 MB, free: 12.29 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.OpenCPS.Network_Expanded,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_OpenCPS_Network_Expanded",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.OpenCPS.Network_Expanded,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_OpenCPS_Network_Expanded",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.003964/0.003964, allocations: 145.1 kB / 0.5882 GB, free: 9.391 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1323, allocations: 71.96 MB / 0.6585 GB, free: 1.355 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.OpenCPS.Network_Expanded): time 0.2635/0.3958, allocations: 13.21 MB / 0.6714 GB, free: 3.68 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00994/0.4057, allocations: 4.844 MB / 0.6761 GB, free: 204 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00381/0.4095, allocations: 51.66 kB / 0.6762 GB, free: 192 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.4118, allocations: 0.6706 MB / 0.6768 GB, free: 15.78 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007646/0.4195, allocations: 2.16 MB / 0.679 GB, free: 14.39 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004579/0.4241, allocations: 1.893 MB / 0.6808 GB, free: 13.23 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009188/0.4333, allocations: 6.025 MB / 0.6867 GB, free: 10.15 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002169/0.4354, allocations: 1.117 MB / 0.6878 GB, free: 9.414 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003756/0.4392, allocations: 2.192 MB / 0.6899 GB, free: 8.238 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004816/0.444, allocations: 2.648 MB / 0.6925 GB, free: 6.871 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002157/0.4462, allocations: 0.5773 MB / 0.6931 GB, free: 6.871 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.4484, allocations: 0.7834 MB / 0.6938 GB, free: 6.809 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001411/0.4498, allocations: 1.213 MB / 0.695 GB, free: 5.938 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003006/0.4528, allocations: 1.856 MB / 0.6968 GB, free: 4.629 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009062/0.4618, allocations: 6.838 MB / 0.7035 GB, free: 15.28 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.4619, allocations: 5.375 kB / 0.7035 GB, free: 15.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4619, allocations: 0 / 0.7035 GB, free: 15.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002256/0.4621, allocations: 0 / 0.7035 GB, free: 15.28 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.03167/0.4938, allocations: 8.974 MB / 0.7123 GB, free: 10 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.4938, allocations: 9.344 kB / 0.7123 GB, free: 10 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001377/0.4939, allocations: 77.34 kB / 0.7124 GB, free: 9.984 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000668/0.4946, allocations: 394.7 kB / 0.7127 GB, free: 9.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005599/0.5002, allocations: 1.063 MB / 0.7138 GB, free: 9.191 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005836/0.506, allocations: 2.548 MB / 0.7163 GB, free: 7.242 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001153/0.5072, allocations: 1.256 MB / 0.7175 GB, free: 5.938 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000773/0.508, allocations: 325 kB / 0.7178 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007259/0.5152, allocations: 3.485 MB / 0.7212 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.99e-05/0.5153, allocations: 3.938 kB / 0.7212 GB, free: 2.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002831/0.5156, allocations: 116 kB / 0.7213 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-05/0.5156, allocations: 69.36 kB / 0.7214 GB, free: 2.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006773/0.5224, allocations: 3.077 MB / 0.7244 GB, free: 15.64 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.02458/0.547, allocations: 11.1 MB / 0.7352 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007863/0.5548, allocations: 3.369 MB / 0.7385 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003489/0.5583, allocations: 1.565 MB / 0.74 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002173/0.5585, allocations: 42.11 kB / 0.7401 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004261/0.5628, allocations: 2.032 MB / 0.7421 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=281): time 6.422e-06/0.5628, allocations: 4 kB / 0.7421 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=385): time 0.1306/0.6934, allocations: 37.91 MB / 0.7791 GB, free: 7.184 MB / 0.545 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.009409/0.7028, allocations: 3.163 MB / 0.7822 GB, free: 3.934 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005887/0.7087, allocations: 3.227 MB / 0.7853 GB, free: 0.707 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009529/0.7097, allocations: 109.7 kB / 0.7854 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001454/0.7111, allocations: 1.464 MB / 0.7869 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001974/0.7131, allocations: 1.379 MB / 0.7882 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002033/0.7151, allocations: 0.962 MB / 0.7892 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.7152, allocations: 305.1 kB / 0.7894 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006961/0.7222, allocations: 3.478 MB / 0.7928 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007594/0.7298, allocations: 4.016 MB / 0.7968 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0699/0.7997, allocations: 19.68 MB / 0.816 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/0.7997, allocations: 4 kB / 0.816 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=645) (initialization): time 0.03907/0.8388, allocations: 13.45 MB / 0.8291 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.54e-05/0.8389, allocations: 68.03 kB / 0.8292 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.928e-05/0.8389, allocations: 7.984 kB / 0.8292 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02458/0.8635, allocations: 6.612 MB / 0.8357 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003695/0.8672, allocations: 0.702 MB / 0.8363 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0509/0.9181, allocations: 21.95 MB / 0.8578 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009489/0.9276, allocations: 0.8465 MB / 0.8586 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001221/0.9288, allocations: 223.8 kB / 0.8588 GB, free: 4.582 MB / 0.6231 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.009551/0.9383, allocations: 4.044 MB / 0.8628 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008172/0.9465, allocations: 3.989 MB / 0.8667 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07131/1.018, allocations: 19.61 MB / 0.8858 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.019e-05/1.018, allocations: 3.938 kB / 0.8858 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of matching and sorting (n=645) (initialization_lambda0): time 0.04067/1.059, allocations: 13.34 MB / 0.8988 GB, free: 11.07 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.825e-05/1.059, allocations: 73.52 kB / 0.8989 GB, free: 10.99 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/1.059, allocations: 8 kB / 0.8989 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02482/1.083, allocations: 6.608 MB / 0.9054 GB, free: 4.363 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00373/1.087, allocations: 0.6903 MB / 0.9061 GB, free: 3.672 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2931/1.38, allocations: 21.95 MB / 0.9275 GB, free: 218.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009324/1.39, allocations: 0.8342 MB / 0.9283 GB, free: 218.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/1.391, allocations: 226.9 kB / 0.9285 GB, free: 218.9 MB / 0.6856 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 (437): * Single equations (assignments): 430 * 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), (42,68)} Notification: Performance of prepare postOptimizeDAE: time 0.001096/1.392, allocations: 442.7 kB / 0.9289 GB, free: 218.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.393, allocations: 411.2 kB / 0.9293 GB, free: 218.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04319/1.436, allocations: 14.78 MB / 0.9438 GB, free: 218.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04133/1.477, allocations: 14.15 MB / 0.9576 GB, free: 215.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.272e-05/1.477, allocations: 20.22 kB / 0.9576 GB, free: 215.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.512e-05/1.477, allocations: 24.86 kB / 0.9576 GB, free: 215.4 MB / 0.6856 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.05186/1.529, allocations: 21.72 MB / 0.9788 GB, free: 206.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.287e-05/1.529, allocations: 0 / 0.9788 GB, free: 206.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00279/1.532, allocations: 449.1 kB / 0.9793 GB, free: 205.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0227/1.555, allocations: 7.381 MB / 0.9865 GB, free: 198.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008158/1.556, allocations: 122.2 kB / 0.9866 GB, free: 198.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06371/1.619, allocations: 35.26 MB / 1.021 GB, free: 163.3 MB / 0.6856 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.007516/1.627, allocations: 2.887 MB / 1.024 GB, free: 160.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04514/1.672, allocations: 18.67 MB / 1.042 GB, free: 141.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/1.673, allocations: 0.5155 MB / 1.043 GB, free: 141.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/1.675, allocations: 91.98 kB / 1.043 GB, free: 141.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005618/1.68, allocations: 0.542 MB / 1.043 GB, free: 140.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002429/1.683, allocations: 0.7371 MB / 1.044 GB, free: 139.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004314/1.683, allocations: 135.9 kB / 1.044 GB, free: 139.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003133/1.686, allocations: 2.126 MB / 1.046 GB, free: 137.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/1.686, allocations: 0 / 1.046 GB, free: 137.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.009177/1.695, allocations: 3.477 MB / 1.05 GB, free: 134.1 MB / 0.6856 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 {(38,38,12.7%)} * 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.04575/1.741, allocations: 19.29 MB / 1.068 GB, free: 114.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.03763/1.779, allocations: 15.82 MB / 1.084 GB, free: 98.75 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.779, allocations: 0.875 kB / 1.084 GB, free: 98.75 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01587/1.795, allocations: 6.191 MB / 1.09 GB, free: 92.51 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005437/1.8, allocations: 396.8 kB / 1.09 GB, free: 92.13 MB / 0.6856 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: 4.611807141103782] Failed to read output from testmodel.py, exit status != 0: 1.8086347839562222 1.818880809 1.354601267 Calling exit ...