Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.OpenCPS.Network_Expanded_Noise.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.08006/0.08006, 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.001264/0.001264, allocations: 111.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.402/1.402, allocations: 207.6 MB / 251.6 MB, free: 7.352 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.001559/0.001559, allocations: 216.4 kB / 306.9 MB, free: 480 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.3102/0.3102, 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_Noise,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_OpenCPS_Network_Expanded_Noise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.OpenCPS.Network_Expanded_Noise,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_OpenCPS_Network_Expanded_Noise",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.004038/0.004038, allocations: 145.1 kB / 0.5883 GB, free: 7.629 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.376, allocations: 71.95 MB / 0.6585 GB, free: 2.641 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Interfaces.mo:1486:5-1487:50:writable] Warning: An inner declaration for outer component globalSeed could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Interfaces.mo:1486:5-1487:50:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"globalSeed\" component but an inner \"globalSeed\" component is not defined and therefore a default inner \"globalSeed\" component is introduced by the tool. To change the default setting, drag Noise.GlobalSeed into your model and specify the seed. Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.OpenCPS.Network_Expanded_Noise): time 0.05017/0.4261, allocations: 36.26 MB / 0.694 GB, free: 14.39 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01421/0.4403, allocations: 5.722 MB / 0.6995 GB, free: 8.793 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004562/0.4449, allocations: 55.75 kB / 0.6996 GB, free: 8.738 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002852/0.4477, allocations: 0.6812 MB / 0.7003 GB, free: 8.051 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008074/0.4558, allocations: 2.214 MB / 0.7024 GB, free: 5.844 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:321:7-386:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift128plus.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:994:5-1084:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. Notification: Performance of NFTyping.typeClassSections: time 0.00542/0.4612, allocations: 2.156 MB / 0.7045 GB, free: 3.699 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009654/0.4709, allocations: 6.13 MB / 0.7105 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.4731, allocations: 1.125 MB / 0.7116 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00352/0.4767, allocations: 2.23 MB / 0.7138 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004118/0.4808, allocations: 2.688 MB / 0.7164 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001214/0.482, allocations: 0.5898 MB / 0.717 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.4841, allocations: 1.144 MB / 0.7181 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001104/0.4852, allocations: 1.246 MB / 0.7193 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002602/0.4878, allocations: 2.375 MB / 0.7216 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008812/0.4966, allocations: 7.107 MB / 0.7286 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.4967, allocations: 4 kB / 0.7286 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4967, allocations: 0 / 0.7286 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001703/0.4968, allocations: 0 / 0.7286 GB, free: 10.91 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.03106/0.5279, allocations: 9.134 MB / 0.7375 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.5279, allocations: 12.03 kB / 0.7375 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.962e-05/0.528, allocations: 84.8 kB / 0.7376 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006236/0.5287, allocations: 397.1 kB / 0.738 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005544/0.5342, allocations: 1.082 MB / 0.739 GB, free: 104 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005749/0.54, allocations: 2.593 MB / 0.7416 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00116/0.5411, allocations: 1.259 MB / 0.7428 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007125/0.5418, allocations: 323.9 kB / 0.7431 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007215/0.549, allocations: 3.477 MB / 0.7465 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.443e-05/0.5491, allocations: 0 / 0.7465 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002861/0.5494, allocations: 116 kB / 0.7466 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.89e-05/0.5494, allocations: 64 kB / 0.7467 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007141/0.5566, allocations: 3.148 MB / 0.7498 GB, free: 4.742 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02837/0.5849, allocations: 14.17 MB / 0.7636 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008046/0.593, allocations: 3.435 MB / 0.7669 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003578/0.5966, allocations: 1.602 MB / 0.7685 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/0.5968, allocations: 46.12 kB / 0.7686 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004288/0.6011, allocations: 2.107 MB / 0.7706 GB, free: 14.74 MB / 0.545 GB Notification: Performance of pre-optimization done (n=291): time 4.438e-06/0.6011, allocations: 3.938 kB / 0.7706 GB, free: 14.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=398): time 0.1231/0.7242, allocations: 36.6 MB / 0.8064 GB, free: 9.957 MB / 0.5762 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of inlineWhenForInitialization (initialization): time 0.009796/0.734, allocations: 3.151 MB / 0.8094 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005745/0.7397, allocations: 3.289 MB / 0.8126 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001054/0.7408, allocations: 125.7 kB / 0.8128 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.7422, allocations: 1.511 MB / 0.8142 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00205/0.7443, allocations: 1.406 MB / 0.8156 GB, free: 376 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002044/0.7463, allocations: 0.9978 MB / 0.8166 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.7465, allocations: 301.1 kB / 0.8169 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007347/0.7538, allocations: 3.503 MB / 0.8203 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008185/0.762, allocations: 3.984 MB / 0.8242 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07091/0.8329, allocations: 20.07 MB / 0.8438 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.8329, allocations: 8 kB / 0.8438 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=669) (initialization): time 0.03799/0.8709, allocations: 13.15 MB / 0.8566 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.662e-05/0.871, allocations: 71.33 kB / 0.8567 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/0.871, allocations: 8 kB / 0.8567 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02547/0.8965, allocations: 6.72 MB / 0.8633 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003766/0.9003, allocations: 0.7176 MB / 0.864 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05283/0.9531, allocations: 22.66 MB / 0.8861 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009704/0.9628, allocations: 0.8504 MB / 0.8869 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/0.9638, allocations: 223.8 kB / 0.8871 GB, free: 6.316 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009388/0.9732, allocations: 4.095 MB / 0.8911 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.2971/1.27, allocations: 3.955 MB / 0.895 GB, free: 192.1 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06956/1.34, allocations: 20 MB / 0.9145 GB, free: 188 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.522e-05/1.34, allocations: 1.688 kB / 0.9145 GB, free: 188 MB / 0.6544 GB Notification: Performance of matching and sorting (n=669) (initialization_lambda0): time 0.0348/1.375, allocations: 13.05 MB / 0.9273 GB, free: 184.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-05/1.375, allocations: 66.77 kB / 0.9273 GB, free: 184 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/1.375, allocations: 6.906 kB / 0.9274 GB, free: 184 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02258/1.397, allocations: 6.705 MB / 0.9339 GB, free: 181.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00341/1.401, allocations: 0.7155 MB / 0.9346 GB, free: 181.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04336/1.444, allocations: 22.76 MB / 0.9568 GB, free: 161.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00967/1.454, allocations: 0.8407 MB / 0.9576 GB, free: 160.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009698/1.455, allocations: 223.8 kB / 0.9579 GB, free: 160.3 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: 27 * Number of states: 0 () * Number of discrete variables: 66 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,whiteNoiseInjection.noise_gen.actualGlobalSeed,whiteNoiseInjection.noise_gen.localSeed,$PRE.whiteNoiseInjection.noise_gen.r_raw,$PRE.whiteNoiseInjection.noise_gen.r,$PRE.whiteNoiseInjection.noise_gen.state[4],$PRE.whiteNoiseInjection.noise_gen.state[3],$PRE.whiteNoiseInjection.noise_gen.state[2],$PRE.whiteNoiseInjection.noise_gen.state[1],$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,whiteNoiseInjection.noise_gen.r_raw,whiteNoiseInjection.noise_gen.r,whiteNoiseInjection.noise_gen.state[4],whiteNoiseInjection.noise_gen.state[3],whiteNoiseInjection.noise_gen.state[2],whiteNoiseInjection.noise_gen.state[1],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,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7,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 (454): * Single equations (assignments): 446 * Array equations: 3 * 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 {(38,40,13.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (43,69)} Notification: Performance of prepare postOptimizeDAE: time 0.001162/1.456, allocations: 471.8 kB / 0.9583 GB, free: 159.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.457, allocations: 414.7 kB / 0.9587 GB, free: 159.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04253/1.499, allocations: 15 MB / 0.9734 GB, free: 144.9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04154/1.541, allocations: 14.35 MB / 0.9874 GB, free: 130.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.792e-05/1.541, allocations: 16 kB / 0.9874 GB, free: 130.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-05/1.541, allocations: 19.92 kB / 0.9874 GB, free: 130.4 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.05342/1.595, allocations: 24.26 MB / 1.011 GB, free: 106.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.407e-05/1.595, allocations: 4 kB / 1.011 GB, free: 106.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002672/1.597, allocations: 459.3 kB / 1.012 GB, free: 105.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02353/1.621, allocations: 7.495 MB / 1.019 GB, free: 98.17 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008963/1.622, allocations: 127.8 kB / 1.019 GB, free: 98.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06739/1.689, allocations: 36.51 MB / 1.055 GB, free: 61.31 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.008073/1.697, allocations: 2.926 MB / 1.057 GB, free: 58.36 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04788/1.745, allocations: 18.96 MB / 1.076 GB, free: 39.28 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/1.746, allocations: 0.5306 MB / 1.077 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001178/1.748, allocations: 94.56 kB / 1.077 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005829/1.753, allocations: 0.5461 MB / 1.077 GB, free: 38.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002408/1.756, allocations: 0.7528 MB / 1.078 GB, free: 37.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003899/1.756, allocations: 135.9 kB / 1.078 GB, free: 37.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003211/1.759, allocations: 2.166 MB / 1.08 GB, free: 35.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/1.759, allocations: 0 / 1.08 GB, free: 35.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009206/1.769, allocations: 3.585 MB / 1.084 GB, free: 31.5 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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: 43 (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,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$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,whiteNoiseInjection.noise_gen.state[1],whiteNoiseInjection.noise_gen.state[2],whiteNoiseInjection.noise_gen.state[3],whiteNoiseInjection.noise_gen.state[4],whiteNoiseInjection.noise_gen.r,whiteNoiseInjection.noise_gen.r_raw,breaker2.TRIGGER) * Number of discrete states: 9 (whiteNoiseInjection.noise_gen.state[1],whiteNoiseInjection.noise_gen.state[2],whiteNoiseInjection.noise_gen.state[3],whiteNoiseInjection.noise_gen.state[4],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 (243): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {(39,39,12.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (40,34)} Notification: Performance of Backend phase and start with SimCode phase: time 0.04886/1.818, allocations: 19.78 MB / 1.103 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.04075/1.858, allocations: 16.04 MB / 1.119 GB, free: 11.55 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.858, allocations: 4 kB / 1.119 GB, free: 11.55 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01933/1.878, allocations: 6.32 MB / 1.125 GB, free: 5.199 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004162/1.882, allocations: 398.8 kB / 1.125 GB, free: 4.816 MB / 0.67 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.725214353995398] Failed to read output from testmodel.py, exit status != 0: 1.8908118400722742 1.905052885 1.405377806 Calling exit ...