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.0995/0.0995, allocations: 12.36 MB / 31.98 MB, free: 6.496 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.00133/0.00133, allocations: 107.1 kB / 38.03 MB, free: 1.188 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.428/1.428, allocations: 207.6 MB / 251.6 MB, free: 7.395 MB / 190.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.001636/0.001636, allocations: 204.4 kB / 306.9 MB, free: 0.4922 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.3158/0.3158, allocations: 79.73 MB / 441.7 MB, free: 12.46 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.004016/0.004016, allocations: 139.8 kB / 0.5883 GB, free: 7.617 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3609, allocations: 71.96 MB / 0.6585 GB, free: 2.656 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.OpenCPS.Network_Expanded): time 0.01658/0.3775, allocations: 15.57 MB / 0.6738 GB, free: 7.25 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.3896, allocations: 4.957 MB / 0.6786 GB, free: 3.609 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004208/0.3938, allocations: 50.84 kB / 0.6786 GB, free: 3.598 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002811/0.3967, allocations: 0.6816 MB / 0.6793 GB, free: 3.18 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00874/0.4054, allocations: 2.196 MB / 0.6815 GB, free: 1.418 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00552/0.4109, allocations: 1.894 MB / 0.6833 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01015/0.4211, allocations: 6.04 MB / 0.6892 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003041/0.4241, allocations: 1.111 MB / 0.6903 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004222/0.4283, allocations: 2.184 MB / 0.6924 GB, free: 9.781 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004726/0.4331, allocations: 2.654 MB / 0.695 GB, free: 7.852 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001822/0.4349, allocations: 0.581 MB / 0.6956 GB, free: 7.848 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.4375, allocations: 0.8259 MB / 0.6964 GB, free: 7.723 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002025/0.4395, allocations: 1.205 MB / 0.6976 GB, free: 6.668 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004391/0.4439, allocations: 2.335 MB / 0.6998 GB, free: 4.77 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.4546, allocations: 6.806 MB / 0.7065 GB, free: 15.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4547, allocations: 1.125 kB / 0.7065 GB, free: 15.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4547, allocations: 0 / 0.7065 GB, free: 15.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002791/0.4549, allocations: 0 / 0.7065 GB, free: 15.41 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.03456/0.4895, allocations: 8.97 MB / 0.7152 GB, free: 8.277 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.4896, allocations: 12.03 kB / 0.7153 GB, free: 8.266 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001072/0.4897, allocations: 80.64 kB / 0.7153 GB, free: 8.184 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008068/0.4905, allocations: 400.6 kB / 0.7157 GB, free: 7.781 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005594/0.4961, allocations: 1.059 MB / 0.7168 GB, free: 6.719 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005788/0.5018, allocations: 2.549 MB / 0.7192 GB, free: 4.117 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00119/0.503, allocations: 1.259 MB / 0.7205 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007203/0.5038, allocations: 315.9 kB / 0.7208 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006899/0.5107, allocations: 3.413 MB / 0.7241 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.998e-05/0.5107, allocations: 7.938 kB / 0.7241 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000272/0.511, allocations: 112 kB / 0.7242 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.346e-05/0.511, allocations: 67.94 kB / 0.7243 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006887/0.5179, allocations: 3.081 MB / 0.7273 GB, free: 11.52 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.0252/0.5431, allocations: 13.99 MB / 0.741 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007836/0.551, allocations: 3.377 MB / 0.7443 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003526/0.5545, allocations: 1.568 MB / 0.7458 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.5547, allocations: 50.08 kB / 0.7458 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004241/0.5589, allocations: 2.036 MB / 0.7478 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=281): time 4.268e-06/0.5589, allocations: 0 / 0.7478 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of matching and sorting (n=385): time 0.1412/0.7002, allocations: 37.91 MB / 0.7848 GB, free: 15.77 MB / 0.5606 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.01003/0.7102, allocations: 3.155 MB / 0.7879 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006876/0.7171, allocations: 3.227 MB / 0.7911 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009651/0.718, allocations: 113.7 kB / 0.7912 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001755/0.7198, allocations: 1.464 MB / 0.7926 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002255/0.722, allocations: 1.379 MB / 0.794 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003131/0.7252, allocations: 0.962 MB / 0.7949 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.7253, allocations: 301.1 kB / 0.7952 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007299/0.7326, allocations: 3.42 MB / 0.7985 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007983/0.7406, allocations: 3.875 MB / 0.8023 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07111/0.8117, allocations: 19.68 MB / 0.8215 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.911e-05/0.8117, allocations: 4 kB / 0.8215 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of matching and sorting (n=645) (initialization): time 0.04298/0.8547, allocations: 13.39 MB / 0.8346 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-05/0.8548, allocations: 74.83 kB / 0.8347 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/0.8548, allocations: 4 kB / 0.8347 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02563/0.8804, allocations: 6.628 MB / 0.8412 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003732/0.8842, allocations: 0.702 MB / 0.8418 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05494/0.9391, allocations: 22.33 MB / 0.8636 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01023/0.9493, allocations: 0.8544 MB / 0.8645 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001526/0.9509, allocations: 219.8 kB / 0.8647 GB, free: 13.1 MB / 0.6387 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.01044/0.9613, allocations: 3.99 MB / 0.8686 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008835/0.9701, allocations: 3.856 MB / 0.8723 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07346/1.044, allocations: 19.6 MB / 0.8915 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-05/1.044, allocations: 8 kB / 0.8915 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of matching and sorting (n=645) (initialization_lambda0): time 0.3166/1.36, allocations: 13.27 MB / 0.9045 GB, free: 198.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.015e-05/1.36, allocations: 72.81 kB / 0.9045 GB, free: 198.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/1.36, allocations: 5.188 kB / 0.9045 GB, free: 198.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02434/1.385, allocations: 6.617 MB / 0.911 GB, free: 197.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003508/1.388, allocations: 0.6971 MB / 0.9117 GB, free: 197.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04695/1.435, allocations: 22.34 MB / 0.9335 GB, free: 186.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009519/1.445, allocations: 0.8309 MB / 0.9343 GB, free: 186.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/1.446, allocations: 221.3 kB / 0.9345 GB, free: 186.2 MB / 0.6544 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.001794/1.448, allocations: 458.3 kB / 0.9349 GB, free: 185.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001341/1.449, allocations: 407.8 kB / 0.9353 GB, free: 185.8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04365/1.493, allocations: 14.77 MB / 0.9498 GB, free: 172.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04285/1.536, allocations: 14.14 MB / 0.9636 GB, free: 158.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.586e-05/1.536, allocations: 16 kB / 0.9636 GB, free: 158.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.44e-05/1.536, allocations: 23.92 kB / 0.9636 GB, free: 158.3 MB / 0.6544 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.0562/1.592, allocations: 23.92 MB / 0.987 GB, free: 134.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.347e-05/1.592, allocations: 4.031 kB / 0.987 GB, free: 134.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002728/1.595, allocations: 455 kB / 0.9874 GB, free: 133.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02364/1.618, allocations: 7.397 MB / 0.9946 GB, free: 126.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001019/1.619, allocations: 127.8 kB / 0.9948 GB, free: 126.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07259/1.692, allocations: 36 MB / 1.03 GB, free: 90.1 MB / 0.6544 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.008278/1.7, allocations: 2.892 MB / 1.033 GB, free: 87.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04999/1.75, allocations: 18.66 MB / 1.051 GB, free: 68.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/1.752, allocations: 0.5156 MB / 1.051 GB, free: 67.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001629/1.753, allocations: 93.47 kB / 1.052 GB, free: 67.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006575/1.76, allocations: 0.5383 MB / 1.052 GB, free: 67.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002708/1.763, allocations: 0.741 MB / 1.053 GB, free: 66.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007126/1.763, allocations: 131.9 kB / 1.053 GB, free: 66.38 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003962/1.767, allocations: 2.125 MB / 1.055 GB, free: 64.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/1.767, allocations: 0 / 1.055 GB, free: 64.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01076/1.778, allocations: 3.477 MB / 1.058 GB, free: 60.79 MB / 0.6544 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.04916/1.827, allocations: 19.31 MB / 1.077 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.04023/1.867, allocations: 15.7 MB / 1.093 GB, free: 25.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.867, allocations: 0 / 1.093 GB, free: 25.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01642/1.884, allocations: 6.194 MB / 1.099 GB, free: 19.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005396/1.889, allocations: 381.5 kB / 1.099 GB, free: 18.93 MB / 0.6544 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.803273517987691] Failed to read output from testmodel.py, exit status != 0: 1.898301822016947 1.908436881 1.451354984 Calling exit ...