Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.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.0006596/0.0006596, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008908/0.00155, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] 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.00069/0.00069, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008941/0.001584, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.7492/0.7492, allocations: 158.6 MB / 171 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.115/0.8642, allocations: 49.5 MB / 220.5 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo): time 0.4115/0.4115, allocations: 90.82 MB / 312.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04209/0.4536, allocations: 32.14 MB / 344.2 MB, free: 14.39 MB / 346.7 MB " [Timeout remaining time 180] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 345.8 MB, free: 12.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.54e-05, allocations: 5.266 kB / 345.8 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb): time 0.01295/0.01296, allocations: 17.11 MB / 362.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.02314, allocations: 8.293 MB / 371.2 MB, free: 3.359 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.02474, allocations: 119.2 kB / 371.3 MB, free: 3.242 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.02619, allocations: 1.128 MB / 372.4 MB, free: 2.105 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002416/0.02861, allocations: 1.692 MB / 374.1 MB, free: 412 kB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:90:3-90:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wtgCurrentSource_INIT.s0Pu) == 0.0, == on Real operands is not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] Notification: Performance of NFTyping.typeClassSections: time 0.003812/0.03242, allocations: 3.735 MB / 377.9 MB, free: 12.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004218/0.03664, allocations: 6.58 MB / 384.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.03816, allocations: 1.563 MB / 386 MB, free: 4.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003332/0.04149, allocations: 4.379 MB / 390.4 MB, free: 15.95 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.04276, allocations: 2.013 MB / 392.4 MB, free: 13.93 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005195/0.04328, allocations: 0.707 MB / 393.1 MB, free: 13.22 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.04434, allocations: 1.046 MB / 394.1 MB, free: 12.18 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006433/0.04498, allocations: 1.145 MB / 395.3 MB, free: 11.03 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009577/0.04594, allocations: 1.415 MB / 396.7 MB, free: 9.609 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003272/0.04921, allocations: 4.293 MB / 401 MB, free: 5.301 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-05/0.04923, allocations: 0 / 401 MB, free: 5.301 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.04923, allocations: 0 / 401 MB, free: 5.301 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.18e-05/0.04926, allocations: 0 / 401 MB, free: 5.301 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.007737/0.057, allocations: 7.785 MB / 408.8 MB, free: 13.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.79e-05/0.05702, allocations: 8.031 kB / 408.8 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/0.05981, allocations: 1.492 MB / 410.3 MB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.06209, allocations: 2.122 MB / 412.4 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005005/0.06259, allocations: 1.179 MB / 413.6 MB, free: 8.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003116/0.0629, allocations: 371.9 kB / 413.9 MB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/0.06585, allocations: 3.424 MB / 417.4 MB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/0.0659, allocations: 3.938 kB / 417.4 MB, free: 4.211 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/0.06608, allocations: 152 kB / 417.5 MB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.06612, allocations: 91.98 kB / 417.6 MB, free: 3.973 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.0676, allocations: 1.089 MB / 418.7 MB, free: 2.863 MB / 410.7 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.008795/0.0764, allocations: 9.445 MB / 428.1 MB, free: 9.191 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.07855, allocations: 1.683 MB / 429.8 MB, free: 7.492 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000577/0.07912, allocations: 467.4 kB / 430.3 MB, free: 7.035 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/0.07931, allocations: 69.97 kB / 430.3 MB, free: 6.965 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.08045, allocations: 1.179 MB / 431.5 MB, free: 5.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=293): time 3.657e-06/0.08045, allocations: 0 / 431.5 MB, free: 5.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=293): time 0.003239/0.08369, allocations: 1.998 MB / 433.5 MB, free: 3.688 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.08375, allocations: 119.2 kB / 433.6 MB, free: 3.551 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/0.0858, allocations: 3.005 MB / 436.6 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.08594, allocations: 97.69 kB / 436.7 MB, free: 416 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006802/0.08662, allocations: 1.425 MB / 438.2 MB, free: 14.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005235/0.08714, allocations: 1.058 MB / 439.2 MB, free: 13.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007706/0.08791, allocations: 0.8347 MB / 440.1 MB, free: 13.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.852e-05/0.08797, allocations: 301.1 kB / 440.4 MB, free: 12.76 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.08912, allocations: 0.7928 MB / 441.1 MB, free: 11.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.09066, allocations: 1.918 MB / 443.1 MB, free: 9.664 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003568/0.09423, allocations: 3.408 MB / 446.5 MB, free: 5.996 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.09424, allocations: 4 kB / 446.5 MB, free: 5.992 MB / 442.7 MB Notification: Performance of matching and sorting (n=585) (initialization): time 0.003641/0.09788, allocations: 2.983 MB / 449.5 MB, free: 2.938 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.727e-05/0.09794, allocations: 69.66 kB / 449.5 MB, free: 2.863 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.09795, allocations: 12 kB / 449.5 MB, free: 2.852 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000574/0.09853, allocations: 328.3 kB / 449.9 MB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/0.1014, allocations: 1.412 MB / 451.3 MB, free: 1.117 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.153/0.2544, allocations: 1.846 MB / 453.1 MB, free: 62.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/0.2569, allocations: 448.6 kB / 453.6 MB, free: 62.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.2571, allocations: 119 kB / 453.7 MB, free: 62.88 MB / 442.7 MB Warning: Assuming fixed start value for the following 37 variables: Unit.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Xcc_a.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.running:DISCRETE(flow=false start = Xcc_a.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.HvTfo.running:DISCRETE(flow=false start = Unit.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.omegaRefWTGQ0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.LvTfo.running:DISCRETE(flow=false start = Unit.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00228/0.2593, allocations: 1.105 MB / 454.8 MB, free: 62.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001564/0.2609, allocations: 1.923 MB / 456.7 MB, free: 61.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003827/0.2647, allocations: 3.391 MB / 460.1 MB, free: 60.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.626e-05/0.2647, allocations: 2.344 kB / 460.1 MB, free: 60.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=585) (initialization_lambda0): time 0.004604/0.2693, allocations: 2.97 MB / 463.1 MB, free: 60.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.2694, allocations: 72.53 kB / 463.1 MB, free: 60.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.2694, allocations: 11.94 kB / 463.1 MB, free: 60.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005391/0.2699, allocations: 327.8 kB / 463.5 MB, free: 60.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002817/0.2728, allocations: 1.406 MB / 464.9 MB, free: 60.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.2743, allocations: 1.852 MB / 466.7 MB, free: 59.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.2756, allocations: 432.6 kB / 467.1 MB, free: 59.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/0.2758, allocations: 118.1 kB / 467.3 MB, free: 59.39 MB / 442.7 MB Warning: Assuming fixed start value for the following 37 variables: Unit.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Xcc_a.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.running:DISCRETE(flow=false start = Xcc_a.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.HvTfo.running:DISCRETE(flow=false start = Unit.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.omegaRefWTGQ0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.LvTfo.running:DISCRETE(flow=false start = Unit.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 75 ($PRE.Unit.LvTfo.state,Unit.LvTfo.state,$PRE.Unit.injector.state,Unit.injector.state,$PRE.Unit.HvTfo.state,Unit.HvTfo.state,$PRE.Xcc_a.state,Xcc_a.state,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset,Unit.wecc_wtgt.dPhi.local_reset,Unit.wecc_wtgt.dOmegaTurbine.local_reset,Unit.wecc_wtgt.dOmegaGenerator.local_reset,Unit.wecc_repc.limPID.I.local_reset,Unit.wecc_repc.limPIDFreeze.I.resetLocal,Unit.pll.integrator.local_reset,Unit.pll.limIntegrator.local_reset,Unit.wecc_reec.limPIDFreeze.I.resetLocal,Unit.wecc_reec.varLimPIDFreeze.I.resetLocal,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.injector.switchOffSignal1,Unit.injector.switchOffSignal2,Unit.injector.switchOffSignal3,Xcc_a.switchOffSignal1,Xcc_a.switchOffSignal2,$PRE.Xcc_a.running,$PRE.Unit.HvTfo.running,$PRE.Unit.wecc_regc.offDelay.delaySignal,$PRE.Unit.wecc_regc.offDelay.tNext,$PRE.Unit.injector.running,$PRE.Unit.wecc_reec.iqInjectionLogic.vDip,$PRE.Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.Unit.LvTfo.running,Unit.wecc_regc.QConv0PuPos.k,Unit.wecc_regc.QConv0PuNeg.k,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDip,$PRE.Unit.wecc_regc.offDelay.u,Unit.LvTfo.running,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.injector.running,Unit.wecc_repc.freeze,Unit.wecc_regc.and2.y,Unit.wecc_regc.and1.y,Unit.wecc_regc.and1.u[2],Unit.wecc_regc.offDelay.tNext,Unit.wecc_regc.offDelay.delaySignal,Unit.wecc_regc.offDelay.u,Unit.HvTfo.running,Xcc_a.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,$whenCondition19,$whenCondition18,$whenCondition20) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 545 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000622/0.2764, allocations: 0.5873 MB / 467.9 MB, free: 59.15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/0.2768, allocations: 359.2 kB / 468.2 MB, free: 59.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.279, allocations: 1.771 MB / 470 MB, free: 58.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.279, allocations: 27.84 kB / 470 MB, free: 58.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.279, allocations: 7.188 kB / 470 MB, free: 58.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.279, allocations: 21.2 kB / 470 MB, free: 58.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005061/0.2841, allocations: 4.136 MB / 474.2 MB, free: 58.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.2841, allocations: 3.875 kB / 474.2 MB, free: 58.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002485/0.2865, allocations: 1.005 MB / 475.2 MB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007754/0.2873, allocations: 474.1 kB / 475.6 MB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005194/0.2878, allocations: 309.2 kB / 475.9 MB, free: 58.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.288, allocations: 74.98 kB / 476 MB, free: 58.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/0.2894, allocations: 1.82 MB / 477.8 MB, free: 57.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.2894, allocations: 7.312 kB / 477.8 MB, free: 57.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/0.2921, allocations: 2.621 MB / 480.5 MB, free: 56.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/0.2925, allocations: 86.34 kB / 480.5 MB, free: 56.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000909/0.2934, allocations: 203 kB / 480.7 MB, free: 56.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003077/0.2937, allocations: 283.8 kB / 481 MB, free: 56.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.2938, allocations: 72.27 kB / 481.1 MB, free: 56.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001641/0.2954, allocations: 1.581 MB / 482.7 MB, free: 55.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2954, allocations: 0 / 482.7 MB, free: 55.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003191/0.2986, allocations: 1.996 MB / 484.7 MB, free: 54.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 28 (Unit.wecc_wtgp.limitedIntegrator.y,Unit.wecc_wtgp.limitedIntegrator1.y,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.y,Unit.wecc_wtgq.firstOrder.y,Unit.wecc_wtgq.firstOrder1.y,Unit.wecc_wtgq.limitedIntegratorFreeze.y,Unit.wecc_wtgt.dPhi.y,Unit.wecc_wtgt.dOmegaTurbine.y,Unit.wecc_wtgt.dOmegaGenerator.y,Unit.wecc_regc.rateLimFirstOrderFreeze2.y,Unit.wecc_regc.rateLimFirstOrderFreeze1.y,Unit.wecc_regc.firstOrder.y,Unit.wecc_repc.firstOrder.y,Unit.wecc_repc.limPID.I.y,Unit.wecc_repc.firstOrder1.y,Unit.wecc_repc.firstOrder2.y,Unit.wecc_repc.firstOrder3.y,Unit.wecc_repc.limPIDFreeze.I.y,Unit.wecc_repc.leadLag.x_scaled[1],Unit.pll.integrator.y,Unit.pll.limIntegrator.y,Unit.wecc_reec.firstOrder.y,Unit.wecc_reec.firstOrder1.y,Unit.wecc_reec.limPIDFreeze.I.y,Unit.wecc_reec.rateLimFirstOrderFreeze1.y,Unit.wecc_reec.slewRateLimiter.y,Unit.wecc_reec.rateLimFirstOrderFreeze.y,Unit.wecc_reec.varLimPIDFreeze.I.y) * Number of discrete variables: 40 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,Xcc_a.running,Xcc_a.state,Unit.HvTfo.running,Unit.HvTfo.state,Unit.wecc_regc.offDelay.u,Unit.wecc_regc.offDelay.delaySignal,Unit.wecc_regc.offDelay.tNext,Unit.wecc_regc.and1.u[2],Unit.wecc_regc.and1.y,Unit.wecc_regc.and2.y,Unit.wecc_repc.freeze,Unit.injector.running,Unit.injector.state,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.LvTfo.running,Unit.LvTfo.state) * Number of discrete states: 10 (Unit.LvTfo.running,Unit.injector.running,Unit.HvTfo.running,Xcc_a.running,Unit.wecc_regc.offDelay.u,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_reec.currentLimitsCalculation1.ipMaxPu,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (290): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001255/0.2999, allocations: 0.6701 MB / 485.3 MB, free: 54.17 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005037/0.3049, allocations: 4.368 MB / 489.7 MB, free: 50.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.915e-05/0.305, allocations: 69.81 kB / 489.8 MB, free: 50.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.3061, allocations: 1.054 MB / 490.8 MB, free: 49.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/0.3078, allocations: 0.9481 MB / 491.8 MB, free: 49.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008292/0.316, allocations: 7.887 MB / 499.7 MB, free: 41.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.3165, allocations: 0.7307 MB / 0.4887 GB, free: 40.97 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001624/0.3181, allocations: 0.5941 MB / 0.4892 GB, free: 40.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/0.3194, allocations: 0.7034 MB / 0.4899 GB, free: 39.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.293e-06/0.3194, allocations: 0 / 0.4899 GB, free: 39.7 MB / 442.7 MB Notification: Performance of Templates: time 0.06169/0.3811, allocations: 59.36 MB / 0.5479 GB, free: 13.97 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe ; mkfifo Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe >> ../files/Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.sim & ./Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.415026292204857]