Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.OpenCPS.Network_Expanded_Noise.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.001479/0.001479, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.489/1.489, allocations: 230.6 MB / 253.4 MB, free: 14.45 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.001606/0.001606, allocations: 214.3 kB / 310 MB, free: 3.176 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.627/0.627, allocations: 101.3 MB / 467.8 MB, free: 30.58 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_Noise,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_OpenCPS_Network_Expanded_Noise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.OpenCPS.Network_Expanded_Noise,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_OpenCPS_Network_Expanded_Noise",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.004305/0.004305, allocations: 86.34 kB / 0.6251 GB, free: 33.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1797, allocations: 78.61 MB / 0.7019 GB, free: 1.07 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Blocks/Interfaces.mo:1329:5-1330: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 4.1.0+maint.om/Blocks/Interfaces.mo:1329:5-1330: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.05177/0.2315, allocations: 36.28 MB / 0.7373 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01434/0.2458, allocations: 5.806 MB / 0.743 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004793/0.2506, allocations: 55.75 kB / 0.7431 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002943/0.2535, allocations: 0.6889 MB / 0.7437 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007502/0.2611, allocations: 1.86 MB / 0.7456 GB, free: 4.461 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.006408/0.2675, allocations: 2.242 MB / 0.7477 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0103/0.2778, allocations: 5.806 MB / 0.7534 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003801/0.2816, allocations: 1.125 MB / 0.7545 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005123/0.2867, allocations: 2.211 MB / 0.7567 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005602/0.2923, allocations: 2.639 MB / 0.7593 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002361/0.2946, allocations: 0.582 MB / 0.7598 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003606/0.2983, allocations: 1.14 MB / 0.7609 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002471/0.3007, allocations: 1.219 MB / 0.7621 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004738/0.3055, allocations: 2.355 MB / 0.7644 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01285/0.3183, allocations: 7.021 MB / 0.7713 GB, free: 9.977 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3183, allocations: 3.938 kB / 0.7713 GB, free: 9.973 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3183, allocations: 3.938 kB / 0.7713 GB, free: 9.969 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003061/0.3186, allocations: 0 / 0.7713 GB, free: 9.969 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 696 * Number of variables: 696 Notification: Performance of Generate backend data structure: time 0.03113/0.3498, allocations: 8.435 MB / 0.7795 GB, free: 1.441 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.3498, allocations: 8.031 kB / 0.7795 GB, free: 1.434 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001362/0.3499, allocations: 76.91 kB / 0.7796 GB, free: 1.355 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006459/0.3506, allocations: 409.1 kB / 0.78 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005891/0.3565, allocations: 1.082 MB / 0.7811 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006159/0.3626, allocations: 2.592 MB / 0.7836 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001253/0.3639, allocations: 1.263 MB / 0.7848 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000813/0.3647, allocations: 316 kB / 0.7851 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007249/0.372, allocations: 3.485 MB / 0.7885 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.97e-05/0.372, allocations: 3.938 kB / 0.7885 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002821/0.3723, allocations: 116 kB / 0.7886 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.468e-05/0.3723, allocations: 68 kB / 0.7887 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007014/0.3794, allocations: 3.144 MB / 0.7918 GB, free: 4.492 MB / 0.5606 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.02818/0.4075, allocations: 14.44 MB / 0.8059 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00743/0.415, allocations: 3.214 MB / 0.809 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003492/0.4185, allocations: 1.575 MB / 0.8105 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/0.4186, allocations: 50.17 kB / 0.8106 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3592/0.7778, allocations: 2.064 MB / 0.8126 GB, free: 92 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=287): time 6.372e-06/0.7778, allocations: 0 / 0.8126 GB, free: 92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=390): time 0.1334/0.9113, allocations: 38.2 MB / 0.8499 GB, free: 75.71 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.00867/0.92, allocations: 3.158 MB / 0.853 GB, free: 72.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004756/0.9247, allocations: 3.261 MB / 0.8562 GB, free: 69.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001085/0.9258, allocations: 125.7 kB / 0.8563 GB, free: 69.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.9268, allocations: 1.523 MB / 0.8578 GB, free: 67.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00163/0.9285, allocations: 1.383 MB / 0.8591 GB, free: 66.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001696/0.9302, allocations: 0.981 MB / 0.8601 GB, free: 65.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.9302, allocations: 309.1 kB / 0.8604 GB, free: 65.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005705/0.9359, allocations: 3.456 MB / 0.8638 GB, free: 61.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006069/0.942, allocations: 3.976 MB / 0.8677 GB, free: 57.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06295/1.005, allocations: 19.92 MB / 0.8871 GB, free: 37.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.009e-05/1.005, allocations: 0 / 0.8871 GB, free: 37.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.03714/1.042, allocations: 12.99 MB / 0.8998 GB, free: 24.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.453e-05/1.042, allocations: 67.41 kB / 0.8999 GB, free: 24.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/1.042, allocations: 4 kB / 0.8999 GB, free: 24.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02332/1.066, allocations: 6.651 MB / 0.9064 GB, free: 17.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003745/1.069, allocations: 0.7293 MB / 0.9071 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04796/1.117, allocations: 20.48 MB / 0.9271 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01087/1.128, allocations: 0.8372 MB / 0.9279 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001565/1.13, allocations: 223.8 kB / 0.9281 GB, free: 11.4 MB / 0.5919 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.0114/1.141, allocations: 4.04 MB / 0.932 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009108/1.15, allocations: 3.946 MB / 0.9359 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07626/1.226, allocations: 19.84 MB / 0.9553 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.241e-05/1.226, allocations: 4 kB / 0.9553 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.04313/1.27, allocations: 12.94 MB / 0.9679 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/1.27, allocations: 67.39 kB / 0.968 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/1.27, allocations: 8 kB / 0.968 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02667/1.296, allocations: 6.648 MB / 0.9745 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004094/1.301, allocations: 0.7254 MB / 0.9752 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05548/1.356, allocations: 20.46 MB / 0.9952 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0109/1.367, allocations: 0.8419 MB / 0.996 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001564/1.368, allocations: 227.8 kB / 0.9962 GB, free: 5.07 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: 33 * 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 (452): * Single equations (assignments): 445 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(41,37,12.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(43,69)} Notification: Performance of prepare postOptimizeDAE: time 0.002637/1.371, allocations: 477.2 kB / 0.9967 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002015/1.373, allocations: 409.3 kB / 0.9971 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05314/1.426, allocations: 14.72 MB / 1.011 GB, free: 5.43 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05176/1.478, allocations: 14.1 MB / 1.025 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-05/1.478, allocations: 20 kB / 1.025 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001374/1.478, allocations: 19.92 kB / 1.025 GB, free: 7.238 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06879/1.547, allocations: 23.91 MB / 1.049 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-05/1.547, allocations: 4 kB / 1.049 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003164/1.55, allocations: 471.5 kB / 1.049 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02711/1.577, allocations: 7.38 MB / 1.056 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001162/1.579, allocations: 122.5 kB / 1.056 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08263/1.661, allocations: 34.27 MB / 1.09 GB, free: 4.73 MB / 0.7481 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.009459/1.671, allocations: 2.945 MB / 1.093 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4246/2.095, allocations: 18.65 MB / 1.111 GB, free: 248.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/2.097, allocations: 0.5073 MB / 1.111 GB, free: 248.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/2.098, allocations: 98.48 kB / 1.112 GB, free: 248.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005689/2.104, allocations: 0.5396 MB / 1.112 GB, free: 248.2 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002356/2.106, allocations: 0.716 MB / 1.113 GB, free: 248 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003864/2.107, allocations: 135.9 kB / 1.113 GB, free: 248 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003332/2.11, allocations: 2.135 MB / 1.115 GB, free: 247.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/2.11, allocations: 0 / 1.115 GB, free: 247.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.008863/2.119, allocations: 3.539 MB / 1.118 GB, free: 246.9 MB / 0.7481 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 (241): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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,40,13.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(42,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.04855/2.167, allocations: 19.44 MB / 1.137 GB, free: 240.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.03916/2.207, allocations: 15.64 MB / 1.153 GB, free: 225.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.661e-05/2.207, allocations: 6.656 kB / 1.153 GB, free: 225.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01662/2.223, allocations: 6.08 MB / 1.159 GB, free: 219.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004262/2.227, allocations: 395.1 kB / 1.159 GB, free: 219.3 MB / 0.7481 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: 5.676759005989879] Failed to read output from testmodel.py, exit status != 0: 2.2380153329577297 2.254603425 1.932604936 Calling exit ...