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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.OpenCPS.Network_Expanded_Noise,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_OpenCPS_Network_Expanded_Noise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.OpenCPS.Network_Expanded_Noise,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_OpenCPS_Network_Expanded_Noise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 222.9 MB / 239.3 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002113/0.002113, allocations: 196.4 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5892/0.5892, allocations: 91.9 MB / 431.6 MB, free: 9.305 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.00162, allocations: 83.88 kB / 0.502 GB, free: 7.672 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.515/0.5167, allocations: 71.25 MB / 0.5716 GB, free: 36.55 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.05525/0.572, allocations: 35.14 MB / 0.6059 GB, free: 19.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01605/0.588, allocations: 5.74 MB / 0.6115 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006191/0.5943, allocations: 47.72 kB / 0.6115 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003245/0.5976, allocations: 0.6782 MB / 0.6122 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00828/0.6059, allocations: 1.755 MB / 0.6139 GB, free: 14.19 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.006392/0.6123, allocations: 2.192 MB / 0.6161 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009576/0.6219, allocations: 5.684 MB / 0.6216 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003478/0.6254, allocations: 1.699 MB / 0.6233 GB, free: 6.223 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005236/0.6306, allocations: 2.12 MB / 0.6253 GB, free: 4.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005531/0.6362, allocations: 2.628 MB / 0.6279 GB, free: 2.254 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002579/0.6388, allocations: 0.5859 MB / 0.6285 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004374/0.6431, allocations: 1.088 MB / 0.6295 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003851/0.647, allocations: 1.212 MB / 0.6307 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004741/0.6518, allocations: 2.374 MB / 0.633 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01333/0.6651, allocations: 6.888 MB / 0.6398 GB, free: 9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.211e-05/0.6652, allocations: 4 kB / 0.6398 GB, free: 8.996 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.6652, allocations: 0 / 0.6398 GB, free: 8.996 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002821/0.6655, allocations: 0 / 0.6398 GB, free: 8.996 MB / 446.1 MB 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.03368/0.6992, allocations: 7.393 MB / 0.647 GB, free: 1.508 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/0.6993, allocations: 8.031 kB / 0.647 GB, free: 1.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001023/0.7003, allocations: 412.8 kB / 0.6474 GB, free: 1.086 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00625/0.7066, allocations: 1.044 MB / 0.6484 GB, free: 36 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006835/0.7135, allocations: 2.607 MB / 0.651 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001135/0.7146, allocations: 0.8363 MB / 0.6518 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009394/0.7156, allocations: 319.8 kB / 0.6521 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007726/0.7233, allocations: 3.465 MB / 0.6555 GB, free: 8.527 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-05/0.7234, allocations: 7.938 kB / 0.6555 GB, free: 8.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003311/0.7238, allocations: 108 kB / 0.6556 GB, free: 8.414 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/0.7238, allocations: 68 kB / 0.6556 GB, free: 8.348 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007284/0.7311, allocations: 3.121 MB / 0.6587 GB, free: 5.215 MB / 462.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.03084/0.762, allocations: 13.99 MB / 0.6723 GB, free: 6.707 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.7721, allocations: 4.209 MB / 0.6765 GB, free: 2.328 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004546/0.7767, allocations: 1.721 MB / 0.6781 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003723/0.7771, allocations: 46.02 kB / 0.6782 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005395/0.7825, allocations: 2.089 MB / 0.6802 GB, free: 14.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=283): time 1.512e-05/0.7825, allocations: 0 / 0.6802 GB, free: 14.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=287): time 0.0912/0.8737, allocations: 22.47 MB / 0.7022 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001955/0.874, allocations: 277.5 kB / 0.7024 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006842/0.8808, allocations: 3.277 MB / 0.7056 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001065/0.8819, allocations: 109.7 kB / 0.7057 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.8834, allocations: 1.484 MB / 0.7072 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00154/0.8849, allocations: 0.9823 MB / 0.7081 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001576/0.8865, allocations: 0.7878 MB / 0.7089 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.8867, allocations: 305.1 kB / 0.7092 GB, free: 380 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004759/0.8915, allocations: 2.045 MB / 0.7112 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005019/0.8965, allocations: 2.494 MB / 0.7136 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0464/0.9429, allocations: 11.76 MB / 0.7251 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.842e-05/0.943, allocations: 4 kB / 0.7251 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=550) (initialization): time 0.01944/0.9625, allocations: 6.664 MB / 0.7316 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-05/0.9626, allocations: 63.41 kB / 0.7317 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/0.9626, allocations: 8 kB / 0.7317 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01371/0.9763, allocations: 3.756 MB / 0.7354 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003573/0.9799, allocations: 0.6358 MB / 0.736 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/0.9945, allocations: 6.314 MB / 0.7422 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005694/1, allocations: 315.6 kB / 0.7425 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006147/1.001, allocations: 152.2 kB / 0.7426 GB, free: 13.44 MB / 0.545 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.007175/1.008, allocations: 2.58 MB / 0.7451 GB, free: 10.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005551/1.014, allocations: 2.467 MB / 0.7475 GB, free: 8.254 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04498/1.059, allocations: 11.69 MB / 0.7589 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.445e-05/1.059, allocations: 0 / 0.7589 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=550) (initialization_lambda0): time 0.0205/1.079, allocations: 6.567 MB / 0.7654 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.34e-05/1.079, allocations: 67.34 kB / 0.7654 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/1.079, allocations: 8 kB / 0.7654 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0145/1.094, allocations: 3.741 MB / 0.7691 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003969/1.098, allocations: 0.6319 MB / 0.7697 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4281/1.526, allocations: 6.303 MB / 0.7759 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006435/1.533, allocations: 304 kB / 0.7761 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009077/1.534, allocations: 141.5 kB / 0.7763 GB, free: 156.5 MB / 0.5606 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: 29 * 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 (426): * Single equations (assignments): 421 * Array equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (45,67)} Notification: Performance of prepare postOptimizeDAE: time 0.001369/1.535, allocations: 442.9 kB / 0.7767 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/1.536, allocations: 361.8 kB / 0.777 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02328/1.56, allocations: 7.258 MB / 0.7841 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-05/1.56, allocations: 31.81 kB / 0.7842 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/1.56, allocations: 2.281 kB / 0.7842 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000105/1.56, allocations: 18.25 kB / 0.7842 GB, free: 155.4 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 postOpt removeSimpleEquations (simulation): time 0.03934/1.599, allocations: 12.04 MB / 0.7959 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.441e-05/1.599, allocations: 4.672 kB / 0.7959 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00256/1.602, allocations: 331.7 kB / 0.7963 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.012/1.614, allocations: 2.855 MB / 0.7991 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009956/1.615, allocations: 67.19 kB / 0.7991 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04268/1.658, allocations: 15.9 MB / 0.8146 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.658, allocations: 3.969 kB / 0.8147 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03022/1.688, allocations: 9.316 MB / 0.8237 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/1.69, allocations: 493.4 kB / 0.8242 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002049/1.692, allocations: 73.47 kB / 0.8243 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0046/1.696, allocations: 248.4 kB / 0.8245 GB, free: 138 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002132/1.699, allocations: 451 kB / 0.825 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005731/1.699, allocations: 77.3 kB / 0.825 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00457/1.704, allocations: 2.159 MB / 0.8271 GB, free: 136 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.7e-07/1.704, allocations: 2.656 kB / 0.8271 GB, free: 136 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006533/1.71, allocations: 1.597 MB / 0.8287 GB, free: 134.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 31 (IB.omega,G1.gen.w,G1.gen.delta,G1.gen.Epq,G1.gen.PSIkd,G1.gen.PSIppq,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,IB.delta,IB.eq,G2.gen.w,G2.gen.delta,G2.gen.Epq,G2.gen.PSIkd,G2.gen.PSIppq,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 (207): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (39,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02527/1.736, allocations: 10.09 MB / 0.8386 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02983/1.766, allocations: 9.741 MB / 0.8481 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/1.766, allocations: 0 / 0.8481 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.008735/1.774, allocations: 3.3 MB / 0.8513 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/1.778, allocations: 358.9 kB / 0.8516 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09017/1.868, allocations: 42.86 MB / 0.8935 GB, free: 64.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002835/1.871, allocations: 2.063 MB / 0.8955 GB, free: 62.87 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003116/1.874, allocations: 427.9 kB / 0.8959 GB, free: 62.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00223/1.876, allocations: 1.608 MB / 0.8975 GB, free: 60.85 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/1.876, allocations: 0 / 0.8975 GB, free: 60.85 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1998/2.076, allocations: 104.4 MB / 0.9994 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.63/19.71, allocations: 7.641 kB / 0.9994 GB, free: 4.836 MB / 0.6075 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.OpenCPS.Network_Expanded_Noise.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.OpenCPS.Network_Expanded_Noise.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.OpenCPS.Network_Expanded_Noise.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.OpenCPS.Network_Expanded_Noise.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.OpenCPS.Network_Expanded_Noise_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 OpenIPSL_dev_OpenIPSL_Examples_OpenCPS_Network_Expanded_Noise.fmu > OpenIPSL_dev_OpenIPSL.Examples.OpenCPS.Network_Expanded_Noise.pipe 2>&1)