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.07432/0.07432, allocations: 12.37 MB / 29.42 MB, free: 360 kB / 19.63 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.001264/0.001264, allocations: 111.2 kB / 35.12 MB, free: 1.68 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.338/1.338, allocations: 207.6 MB / 248.3 MB, free: 11.39 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.001584/0.001584, allocations: 220.3 kB / 303.2 MB, free: 6.152 MB / 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.4205/0.4205, allocations: 79.72 MB / 437.6 MB, free: 4.48 MB / 302.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.004226/0.004226, allocations: 143.8 kB / 0.5826 GB, free: 8.129 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1453, allocations: 71.93 MB / 0.6528 GB, free: 104 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.OpenCPS.Network_Expanded): time 0.0178/0.1631, allocations: 15.53 MB / 0.668 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.1745, allocations: 4.946 MB / 0.6728 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003562/0.1781, allocations: 47.88 kB / 0.6729 GB, free: 11.49 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002802/0.1809, allocations: 0.6773 MB / 0.6735 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008084/0.1889, allocations: 2.204 MB / 0.6757 GB, free: 8.609 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004952/0.1939, allocations: 1.86 MB / 0.6775 GB, free: 6.758 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008962/0.2029, allocations: 5.943 MB / 0.6833 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002871/0.2057, allocations: 1.112 MB / 0.6844 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003985/0.2097, allocations: 2.188 MB / 0.6865 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004146/0.2139, allocations: 2.649 MB / 0.6891 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00182/0.2157, allocations: 0.5742 MB / 0.6897 GB, free: 10.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.218, allocations: 0.8239 MB / 0.6905 GB, free: 9.359 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001899/0.2199, allocations: 1.211 MB / 0.6916 GB, free: 8.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003991/0.2239, allocations: 2.336 MB / 0.6939 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2803/0.5041, allocations: 6.799 MB / 0.7006 GB, free: 18.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.5041, allocations: 0 / 0.7006 GB, free: 18.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5041, allocations: 0.7812 kB / 0.7006 GB, free: 18.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002173/0.5044, allocations: 0 / 0.7006 GB, free: 18.91 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.03174/0.5361, allocations: 8.07 MB / 0.7084 GB, free: 16.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.5362, allocations: 13.42 kB / 0.7085 GB, free: 16.71 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001674/0.5363, allocations: 81.97 kB / 0.7085 GB, free: 16.69 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000652/0.537, allocations: 396.6 kB / 0.7089 GB, free: 16.63 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005806/0.5428, allocations: 1.064 MB / 0.71 GB, free: 16.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005963/0.5488, allocations: 2.623 MB / 0.7125 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008138/0.5496, allocations: 0.829 MB / 0.7133 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006702/0.5502, allocations: 315 kB / 0.7136 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006943/0.5572, allocations: 3.413 MB / 0.717 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.066e-05/0.5572, allocations: 9.062 kB / 0.717 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002815/0.5575, allocations: 110.9 kB / 0.7171 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-05/0.5576, allocations: 69.94 kB / 0.7171 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006382/0.5639, allocations: 3.089 MB / 0.7202 GB, free: 14.63 MB / 494.1 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.02189/0.5858, allocations: 14.09 MB / 0.7339 GB, free: 5.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00706/0.5929, allocations: 3.977 MB / 0.7378 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002973/0.5959, allocations: 1.573 MB / 0.7393 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.5961, allocations: 50.88 kB / 0.7394 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003429/0.5995, allocations: 2.039 MB / 0.7414 GB, free: 1.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=281): time 4.217e-06/0.5995, allocations: 0 / 0.7414 GB, free: 1.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=385): time 0.135/0.7345, allocations: 38.21 MB / 0.7787 GB, free: 12.52 MB / 0.5294 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.00999/0.7445, allocations: 3.159 MB / 0.7818 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005876/0.7504, allocations: 3.227 MB / 0.7849 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001089/0.7515, allocations: 109.7 kB / 0.785 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.753, allocations: 1.468 MB / 0.7865 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002062/0.755, allocations: 1.377 MB / 0.7878 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002073/0.7571, allocations: 0.9659 MB / 0.7888 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.7572, allocations: 301.1 kB / 0.789 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007283/0.7645, allocations: 3.417 MB / 0.7924 GB, free: 14.42 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008239/0.7727, allocations: 3.893 MB / 0.7962 GB, free: 10.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07305/0.8458, allocations: 19.68 MB / 0.8154 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.247e-05/0.8458, allocations: 0 / 0.8154 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=645) (initialization): time 0.04372/0.8895, allocations: 13.38 MB / 0.8285 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.592e-05/0.8896, allocations: 67.39 kB / 0.8285 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.924e-05/0.8896, allocations: 8 kB / 0.8285 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02603/0.9157, allocations: 6.628 MB / 0.835 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003907/0.9196, allocations: 0.6978 MB / 0.8357 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05434/0.9739, allocations: 22.55 MB / 0.8577 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01053/0.9844, allocations: 0.8426 MB / 0.8585 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/0.9855, allocations: 226.9 kB / 0.8588 GB, free: 9.93 MB / 0.6075 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.00873/0.9942, allocations: 3.989 MB / 0.8627 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007798/1.002, allocations: 3.855 MB / 0.8664 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07133/1.073, allocations: 19.61 MB / 0.8856 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.259e-05/1.073, allocations: 4 kB / 0.8856 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=645) (initialization_lambda0): time 0.0393/1.113, allocations: 13.27 MB / 0.8985 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.281e-05/1.113, allocations: 66.69 kB / 0.8986 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/1.113, allocations: 8 kB / 0.8986 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02544/1.138, allocations: 6.612 MB / 0.9051 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003839/1.142, allocations: 0.6908 MB / 0.9057 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05234/1.194, allocations: 22.55 MB / 0.9278 GB, free: 2.738 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01065/1.205, allocations: 0.8348 MB / 0.9286 GB, free: 1.902 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009408/1.206, allocations: 219.8 kB / 0.9288 GB, free: 1.688 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: 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.00126/1.207, allocations: 452.3 kB / 0.9292 GB, free: 1.277 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/1.208, allocations: 417.3 kB / 0.9296 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04932/1.258, allocations: 14.76 MB / 0.944 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04801/1.306, allocations: 14.15 MB / 0.9579 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.691e-05/1.306, allocations: 20 kB / 0.9579 GB, free: 4.07 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.707e-05/1.306, allocations: 19.92 kB / 0.9579 GB, free: 4.051 MB / 0.7012 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.3243/1.63, allocations: 24.03 MB / 0.9814 GB, free: 251.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.454e-05/1.63, allocations: 6.672 kB / 0.9814 GB, free: 251.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002963/1.633, allocations: 457.9 kB / 0.9818 GB, free: 251.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02659/1.66, allocations: 7.385 MB / 0.989 GB, free: 251.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009239/1.661, allocations: 125.9 kB / 0.9891 GB, free: 251.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07188/1.733, allocations: 36.32 MB / 1.025 GB, free: 238.1 MB / 0.7169 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.008125/1.741, allocations: 2.887 MB / 1.027 GB, free: 237.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04833/1.789, allocations: 18.67 MB / 1.046 GB, free: 224.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/1.791, allocations: 0.5799 MB / 1.046 GB, free: 223.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/1.792, allocations: 87.98 kB / 1.046 GB, free: 223.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006003/1.798, allocations: 0.5383 MB / 1.047 GB, free: 223.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002479/1.8, allocations: 0.7173 MB / 1.048 GB, free: 222.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004135/1.801, allocations: 131.8 kB / 1.048 GB, free: 222.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00328/1.804, allocations: 2.125 MB / 1.05 GB, free: 220.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/1.804, allocations: 3.938 kB / 1.05 GB, free: 220.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.008947/1.813, allocations: 3.483 MB / 1.053 GB, free: 216.6 MB / 0.7169 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.04678/1.86, allocations: 19.3 MB / 1.072 GB, free: 197.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.03787/1.897, allocations: 15.7 MB / 1.087 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/1.897, allocations: 6.625 kB / 1.087 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01619/1.914, allocations: 6.412 MB / 1.094 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003981/1.918, allocations: 387 kB / 1.094 GB, free: 174.5 MB / 0.7169 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: 4.780947428022046] Failed to read output from testmodel.py, exit status != 0: 1.9252892939839512 1.933996435 1.427658453 Calling exit ...