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.001343/0.001343, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.466/1.466, allocations: 230.6 MB / 250.5 MB, free: 9.199 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.001872/0.001872, allocations: 231.9 kB / 306.7 MB, free: 4.281 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.473/0.473, allocations: 79.72 MB / 442.5 MB, free: 124 kB / 302.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.002381/0.002381, allocations: 79.88 kB / 0.5885 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1665, allocations: 73.27 MB / 0.66 GB, free: 8.227 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.OpenCPS.Network_Expanded): time 0.01943/0.186, allocations: 15.47 MB / 0.6751 GB, free: 8.68 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.1996, allocations: 4.999 MB / 0.68 GB, free: 3.664 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004467/0.2041, allocations: 43.88 kB / 0.6801 GB, free: 3.621 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003063/0.2071, allocations: 0.6773 MB / 0.6807 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009235/0.2164, allocations: 2.193 MB / 0.6829 GB, free: 0.75 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005663/0.222, allocations: 1.855 MB / 0.6847 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01109/0.2331, allocations: 5.92 MB / 0.6905 GB, free: 8.969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00322/0.2363, allocations: 1.12 MB / 0.6916 GB, free: 7.781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004483/0.2408, allocations: 2.18 MB / 0.6937 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004815/0.2456, allocations: 2.638 MB / 0.6963 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002369/0.248, allocations: 0.5742 MB / 0.6968 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.2508, allocations: 0.8317 MB / 0.6976 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002485/0.2532, allocations: 1.211 MB / 0.6988 GB, free: 332 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3905/0.6437, allocations: 2.327 MB / 0.7011 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.6551, allocations: 6.796 MB / 0.7077 GB, free: 11.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.6551, allocations: 0 / 0.7077 GB, free: 11.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6551, allocations: 0.5625 kB / 0.7077 GB, free: 11.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002938/0.6554, allocations: 0 / 0.7077 GB, free: 11.62 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.03764/0.693, allocations: 8.073 MB / 0.7156 GB, free: 9.398 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.6931, allocations: 8.875 kB / 0.7156 GB, free: 9.398 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001818/0.6932, allocations: 80.17 kB / 0.7157 GB, free: 9.379 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001359/0.6946, allocations: 393.4 kB / 0.7161 GB, free: 9.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007047/0.7016, allocations: 1.063 MB / 0.7171 GB, free: 9.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007351/0.709, allocations: 2.61 MB / 0.7197 GB, free: 8.336 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009169/0.7099, allocations: 0.8253 MB / 0.7205 GB, free: 7.699 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001249/0.7112, allocations: 316.5 kB / 0.7208 GB, free: 7.695 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008734/0.7199, allocations: 3.415 MB / 0.7241 GB, free: 7.379 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.341e-05/0.72, allocations: 4.469 kB / 0.7241 GB, free: 7.379 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003455/0.7203, allocations: 110.5 kB / 0.7242 GB, free: 7.379 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.66e-05/0.7204, allocations: 69.62 kB / 0.7243 GB, free: 7.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007745/0.7281, allocations: 3.079 MB / 0.7273 GB, free: 6.348 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.03419/0.7623, allocations: 14.1 MB / 0.7411 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009977/0.7723, allocations: 3.971 MB / 0.7449 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004175/0.7765, allocations: 1.571 MB / 0.7465 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003578/0.7768, allocations: 43.31 kB / 0.7465 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005336/0.7822, allocations: 2.041 MB / 0.7485 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=281): time 1.206e-05/0.7822, allocations: 2.094 kB / 0.7485 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=385): time 0.1522/0.9344, allocations: 38.2 MB / 0.7858 GB, free: 2.641 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.0108/0.9452, allocations: 3.15 MB / 0.7889 GB, free: 15.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008671/0.9539, allocations: 3.219 MB / 0.792 GB, free: 12.19 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001592/0.9554, allocations: 120.6 kB / 0.7921 GB, free: 12.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002303/0.9577, allocations: 1.462 MB / 0.7936 GB, free: 10.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003128/0.9609, allocations: 1.371 MB / 0.7949 GB, free: 9.262 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00504/0.9659, allocations: 0.9603 MB / 0.7958 GB, free: 8.293 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.966, allocations: 305.2 kB / 0.7961 GB, free: 7.992 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008378/0.9744, allocations: 3.416 MB / 0.7995 GB, free: 4.559 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00922/0.9836, allocations: 3.878 MB / 0.8033 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07772/1.061, allocations: 19.67 MB / 0.8225 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.531e-05/1.061, allocations: 4 kB / 0.8225 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=643) (initialization): time 0.04533/1.107, allocations: 12.86 MB / 0.835 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/1.107, allocations: 67.39 kB / 0.8351 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.35e-05/1.107, allocations: 4 kB / 0.8351 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02746/1.134, allocations: 6.627 MB / 0.8416 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004315/1.139, allocations: 0.6942 MB / 0.8423 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05979/1.198, allocations: 22.48 MB / 0.8642 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01224/1.211, allocations: 0.8541 MB / 0.865 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001951/1.213, allocations: 218.9 kB / 0.8653 GB, free: 0.6719 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.01261/1.225, allocations: 3.99 MB / 0.8691 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01089/1.236, allocations: 3.848 MB / 0.8729 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07802/1.314, allocations: 19.61 MB / 0.8921 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-05/1.314, allocations: 0 / 0.8921 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of matching and sorting (n=643) (initialization_lambda0): time 0.04528/1.359, allocations: 12.76 MB / 0.9045 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/1.36, allocations: 65.28 kB / 0.9046 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/1.36, allocations: 4 kB / 0.9046 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02701/1.387, allocations: 6.615 MB / 0.911 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004267/1.391, allocations: 0.6928 MB / 0.9117 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05854/1.449, allocations: 22.57 MB / 0.9338 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01289/1.462, allocations: 0.8348 MB / 0.9346 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002096/1.464, allocations: 215.8 kB / 0.9348 GB, free: 8.934 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 (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.003019/1.467, allocations: 452.2 kB / 0.9352 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002103/1.47, allocations: 413.3 kB / 0.9356 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05317/1.523, allocations: 14.75 MB / 0.95 GB, free: 9.426 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05218/1.575, allocations: 14.15 MB / 0.9638 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.582e-05/1.575, allocations: 16 kB / 0.9638 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001462/1.575, allocations: 19.92 kB / 0.9639 GB, free: 11.3 MB / 0.7169 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.4531/2.028, allocations: 24.02 MB / 0.9873 GB, free: 249.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.775e-05/2.028, allocations: 2.5 kB / 0.9873 GB, free: 249.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003364/2.032, allocations: 445.9 kB / 0.9877 GB, free: 249.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02709/2.059, allocations: 7.37 MB / 0.9949 GB, free: 249.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001226/2.06, allocations: 124.7 kB / 0.9951 GB, free: 249.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07305/2.133, allocations: 36.25 MB / 1.03 GB, free: 231.4 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.008324/2.141, allocations: 2.893 MB / 1.033 GB, free: 228.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05011/2.191, allocations: 18.66 MB / 1.052 GB, free: 210 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001927/2.193, allocations: 0.5819 MB / 1.052 GB, free: 209.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001945/2.195, allocations: 91.05 kB / 1.052 GB, free: 209.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007329/2.203, allocations: 0.5383 MB / 1.053 GB, free: 208.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002916/2.206, allocations: 0.7179 MB / 1.053 GB, free: 208.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005291/2.206, allocations: 127.9 kB / 1.054 GB, free: 208.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00371/2.21, allocations: 2.125 MB / 1.056 GB, free: 206 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/2.21, allocations: 0 / 1.056 GB, free: 206 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01166/2.221, allocations: 3.47 MB / 1.059 GB, free: 202.5 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 {(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.04959/2.271, allocations: 19.3 MB / 1.078 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.03885/2.31, allocations: 15.66 MB / 1.093 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/2.31, allocations: 4 kB / 1.093 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01681/2.327, allocations: 6.374 MB / 1.099 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004881/2.332, allocations: 385.7 kB / 1.1 GB, free: 160.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: 5.525002877984662] Failed to read output from testmodel.py, exit status != 0: 2.3402246109908447 2.349469784 1.6919990710000001 Calling exit ...