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.00134/0.00134, allocations: 116.5 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.438/1.438, allocations: 230.6 MB / 250.5 MB, free: 9.184 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.001818/0.001818, allocations: 209.2 kB / 306.7 MB, free: 4.289 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.5658/0.5658, allocations: 101.3 MB / 464.1 MB, free: 11.89 MB / 334.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.002428/0.002428, allocations: 79.88 kB / 0.6199 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.186, allocations: 78.57 MB / 0.6967 GB, free: 0.8398 MB / 494.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.4518/0.6377, allocations: 36.23 MB / 0.7321 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01676/0.6545, allocations: 5.77 MB / 0.7377 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006496/0.661, allocations: 57.69 kB / 0.7377 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003493/0.6645, allocations: 0.6913 MB / 0.7384 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009125/0.6736, allocations: 1.85 MB / 0.7402 GB, free: 2.066 MB / 0.4981 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.007216/0.6808, allocations: 2.216 MB / 0.7424 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01167/0.6925, allocations: 5.723 MB / 0.748 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003381/0.6959, allocations: 1.128 MB / 0.7491 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004958/0.7008, allocations: 2.198 MB / 0.7512 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005896/0.7067, allocations: 2.632 MB / 0.7538 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0022/0.7089, allocations: 0.5859 MB / 0.7544 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003106/0.712, allocations: 1.106 MB / 0.7555 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001378/0.7134, allocations: 1.215 MB / 0.7566 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003023/0.7164, allocations: 2.355 MB / 0.7589 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.7268, allocations: 7.033 MB / 0.7658 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.7268, allocations: 0 / 0.7658 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.615e-06/0.7268, allocations: 0 / 0.7658 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002307/0.727, allocations: 4 kB / 0.7658 GB, free: 11.65 MB / 0.5294 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.02827/0.7553, allocations: 7.519 MB / 0.7732 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.7554, allocations: 12.03 kB / 0.7732 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001251/0.7555, allocations: 84.83 kB / 0.7732 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006512/0.7562, allocations: 409.1 kB / 0.7736 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005533/0.7617, allocations: 1.082 MB / 0.7747 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005133/0.7668, allocations: 2.676 MB / 0.7773 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009571/0.7678, allocations: 0.8247 MB / 0.7781 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005476/0.7683, allocations: 323.9 kB / 0.7784 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007172/0.7755, allocations: 3.485 MB / 0.7818 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.865e-05/0.7755, allocations: 0 / 0.7818 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002869/0.7758, allocations: 112 kB / 0.7819 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.224e-05/0.7759, allocations: 68 kB / 0.782 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007147/0.783, allocations: 3.14 MB / 0.7851 GB, free: 7.52 MB / 0.545 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.02702/0.8101, allocations: 14.56 MB / 0.7993 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007812/0.8179, allocations: 3.814 MB / 0.803 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00347/0.8213, allocations: 1.571 MB / 0.8045 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/0.8216, allocations: 54.06 kB / 0.8046 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004293/0.8259, allocations: 2.067 MB / 0.8066 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=287): time 6.031e-06/0.8259, allocations: 0 / 0.8066 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=390): time 0.1381/0.964, allocations: 38.61 MB / 0.8443 GB, free: 9.738 MB / 0.6075 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.01014/0.9741, allocations: 3.149 MB / 0.8474 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006292/0.9804, allocations: 3.261 MB / 0.8506 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001171/0.9816, allocations: 125.7 kB / 0.8507 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001614/0.9832, allocations: 1.519 MB / 0.8522 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002251/0.9854, allocations: 1.383 MB / 0.8535 GB, free: 188 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002088/0.9875, allocations: 0.9859 MB / 0.8545 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.9877, allocations: 305.1 kB / 0.8548 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007287/0.995, allocations: 3.46 MB / 0.8582 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007993/1.003, allocations: 3.972 MB / 0.862 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07219/1.075, allocations: 19.91 MB / 0.8815 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/1.075, allocations: 8 kB / 0.8815 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.03782/1.113, allocations: 12.99 MB / 0.8942 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/1.113, allocations: 75.33 kB / 0.8942 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.918e-05/1.113, allocations: 4 kB / 0.8942 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02524/1.138, allocations: 6.659 MB / 0.9007 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0041/1.142, allocations: 0.7254 MB / 0.9015 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05034/1.193, allocations: 20.57 MB / 0.9215 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0104/1.203, allocations: 0.8387 MB / 0.9224 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/1.204, allocations: 227.8 kB / 0.9226 GB, free: 8.73 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008989/1.213, allocations: 4.032 MB / 0.9265 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007629/1.221, allocations: 3.949 MB / 0.9304 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07031/1.291, allocations: 19.85 MB / 0.9498 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.367e-05/1.291, allocations: 0 / 0.9498 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.03741/1.329, allocations: 12.94 MB / 0.9624 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.218e-05/1.329, allocations: 63.41 kB / 0.9625 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/1.329, allocations: 8 kB / 0.9625 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02515/1.354, allocations: 6.662 MB / 0.969 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004143/1.358, allocations: 0.7176 MB / 0.9697 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.448/1.806, allocations: 20.56 MB / 0.9898 GB, free: 227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01082/1.817, allocations: 0.8371 MB / 0.9906 GB, free: 226.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/1.818, allocations: 225.2 kB / 0.9908 GB, free: 226.9 MB / 0.7325 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.001305/1.819, allocations: 469.3 kB / 0.9912 GB, free: 226.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/1.82, allocations: 415.5 kB / 0.9916 GB, free: 226.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04887/1.869, allocations: 14.73 MB / 1.006 GB, free: 223.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04547/1.915, allocations: 14.09 MB / 1.02 GB, free: 220 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.253e-05/1.915, allocations: 17.09 kB / 1.02 GB, free: 220 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001366/1.915, allocations: 17.28 kB / 1.02 GB, free: 220 MB / 0.7325 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.05486/1.97, allocations: 24.04 MB / 1.043 GB, free: 204.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.985e-05/1.97, allocations: 4 kB / 1.043 GB, free: 204.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003152/1.973, allocations: 470.8 kB / 1.044 GB, free: 204.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02362/1.997, allocations: 7.377 MB / 1.051 GB, free: 197.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009564/1.998, allocations: 124.3 kB / 1.051 GB, free: 197.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06554/2.063, allocations: 34.49 MB / 1.085 GB, free: 162.8 MB / 0.7325 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.008182/2.071, allocations: 2.936 MB / 1.088 GB, free: 159.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04741/2.119, allocations: 18.65 MB / 1.106 GB, free: 141.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/2.12, allocations: 0.5803 MB / 1.106 GB, free: 140.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/2.121, allocations: 91.98 kB / 1.106 GB, free: 140.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005991/2.127, allocations: 0.5422 MB / 1.107 GB, free: 139.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002463/2.13, allocations: 0.6841 MB / 1.108 GB, free: 139.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003859/2.13, allocations: 139.8 kB / 1.108 GB, free: 139.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003163/2.133, allocations: 2.131 MB / 1.11 GB, free: 136.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/2.133, allocations: 0 / 1.11 GB, free: 136.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.009524/2.143, allocations: 3.541 MB / 1.113 GB, free: 133.4 MB / 0.7325 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.04839/2.191, allocations: 19.47 MB / 1.132 GB, free: 113.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.04151/2.233, allocations: 15.63 MB / 1.148 GB, free: 98.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/2.233, allocations: 0 / 1.148 GB, free: 98.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01786/2.251, allocations: 6.309 MB / 1.154 GB, free: 91.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005743/2.256, allocations: 398 kB / 1.154 GB, free: 91.45 MB / 0.7325 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.492726633965503] Failed to read output from testmodel.py, exit status != 0: 2.265398999035824 2.275680746 1.5464806389999999 Calling exit ...