Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.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.0007081/0.0007081, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009248/0.001633, allocations: 440 kB / 10.41 MB, free: 284 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.0006925/0.0006925, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009288/0.001621, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.8482/0.8482, allocations: 158.6 MB / 171.1 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1359/0.9841, allocations: 49.51 MB / 220.7 MB, free: 1.363 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.4703/0.4703, allocations: 90.84 MB / 312.2 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04763/0.518, allocations: 32.16 MB / 344.4 MB, free: 14.3 MB / 346.7 MB " [Timeout remaining time 179] 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.SheetI2Xcca,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 346 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.401e-05, allocations: 2.312 kB / 346 MB, free: 12.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca): time 0.01481/0.01483, allocations: 17.11 MB / 363.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.02803, allocations: 8.293 MB / 371.4 MB, free: 3.254 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003616/0.03164, allocations: 115.2 kB / 371.5 MB, free: 3.141 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002982/0.03462, allocations: 1.132 MB / 372.6 MB, free: 2 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.004958/0.03958, allocations: 1.696 MB / 374.3 MB, free: 300 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.005771/0.04535, allocations: 3.747 MB / 378.1 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008219/0.05357, allocations: 6.572 MB / 384.6 MB, free: 5.953 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003473/0.05704, allocations: 1.559 MB / 386.2 MB, free: 4.305 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006191/0.06324, allocations: 4.39 MB / 390.6 MB, free: 15.83 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00233/0.06557, allocations: 2.013 MB / 392.6 MB, free: 13.81 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001184/0.06675, allocations: 0.7031 MB / 393.3 MB, free: 13.11 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.06831, allocations: 1.042 MB / 394.3 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008011/0.06912, allocations: 1.149 MB / 395.5 MB, free: 10.91 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.0705, allocations: 1.419 MB / 396.9 MB, free: 9.492 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005118/0.07562, allocations: 4.285 MB / 401.2 MB, free: 5.191 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.417e-05/0.07563, allocations: 0 / 401.2 MB, free: 5.191 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.07563, allocations: 0 / 401.2 MB, free: 5.191 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001413/0.07577, allocations: 0 / 401.2 MB, free: 5.191 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.01154/0.08732, allocations: 7.781 MB / 409 MB, free: 13.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.08735, allocations: 11.97 kB / 409 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003498/0.09085, allocations: 1.492 MB / 410.5 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003962/0.09481, allocations: 2.115 MB / 412.6 MB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006065/0.09542, allocations: 1.179 MB / 413.8 MB, free: 8.219 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004272/0.09585, allocations: 375.9 kB / 414.1 MB, free: 7.852 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004109/0.09995, allocations: 3.424 MB / 417.6 MB, free: 4.105 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.552e-05/0.1, allocations: 3.938 kB / 417.6 MB, free: 4.102 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/0.1002, allocations: 148 kB / 417.7 MB, free: 3.957 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.344e-05/0.1002, allocations: 88 kB / 417.8 MB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.1021, allocations: 1.093 MB / 418.9 MB, free: 2.758 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.01157/0.1136, allocations: 9.449 MB / 428.3 MB, free: 9.082 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002242/0.1159, allocations: 1.682 MB / 430 MB, free: 7.383 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006258/0.1165, allocations: 467.4 kB / 430.5 MB, free: 6.926 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001942/0.1167, allocations: 65.97 kB / 430.5 MB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001512/0.1182, allocations: 1.179 MB / 431.7 MB, free: 5.625 MB / 426.7 MB Notification: Performance of pre-optimization done (n=293): time 4.578e-06/0.1182, allocations: 0 / 431.7 MB, free: 5.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=293): time 0.003765/0.122, allocations: 1.994 MB / 433.7 MB, free: 3.586 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.1221, allocations: 123.2 kB / 433.8 MB, free: 3.445 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002836/0.1249, allocations: 3.013 MB / 436.8 MB, free: 404 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002668/0.1252, allocations: 101.7 kB / 436.9 MB, free: 296 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001138/0.1263, allocations: 1.421 MB / 438.4 MB, free: 14.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007798/0.1271, allocations: 1.058 MB / 439.4 MB, free: 13.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008413/0.1279, allocations: 0.8308 MB / 440.3 MB, free: 12.94 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.501e-05/0.128, allocations: 305.1 kB / 440.5 MB, free: 12.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.1293, allocations: 0.7889 MB / 441.3 MB, free: 11.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.1309, allocations: 1.922 MB / 443.3 MB, free: 9.547 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004427/0.1353, allocations: 3.583 MB / 446.8 MB, free: 5.707 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/0.1353, allocations: 4 kB / 446.8 MB, free: 5.703 MB / 442.7 MB Notification: Performance of matching and sorting (n=585) (initialization): time 0.004397/0.1397, allocations: 2.979 MB / 449.8 MB, free: 2.652 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.509e-05/0.1398, allocations: 69.66 kB / 449.9 MB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.1398, allocations: 12 kB / 449.9 MB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006474/0.1405, allocations: 332.2 kB / 450.2 MB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003091/0.1436, allocations: 1.416 MB / 451.6 MB, free: 0.8242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1828/0.3264, allocations: 1.84 MB / 453.5 MB, free: 63.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/0.3293, allocations: 452.8 kB / 453.9 MB, free: 63.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004267/0.3298, allocations: 116.8 kB / 454 MB, free: 63.3 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.002998/0.3328, allocations: 1.106 MB / 455.1 MB, free: 63.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002081/0.3348, allocations: 1.917 MB / 457.1 MB, free: 61.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004884/0.3397, allocations: 3.559 MB / 460.6 MB, free: 61.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.216e-05/0.3397, allocations: 3.156 kB / 460.6 MB, free: 61.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=585) (initialization_lambda0): time 0.004355/0.3441, allocations: 2.971 MB / 463.6 MB, free: 60.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.655e-05/0.3442, allocations: 78.28 kB / 463.7 MB, free: 60.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.3442, allocations: 12.75 kB / 463.7 MB, free: 60.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007852/0.345, allocations: 322 kB / 464 MB, free: 60.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/0.3481, allocations: 1.412 MB / 465.4 MB, free: 60.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.3504, allocations: 1.856 MB / 467.3 MB, free: 59.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/0.3532, allocations: 427 kB / 467.7 MB, free: 59.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/0.3535, allocations: 119.8 kB / 467.8 MB, free: 59.8 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.001163/0.3546, allocations: 0.5792 MB / 468.4 MB, free: 59.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007198/0.3554, allocations: 352.6 kB / 468.7 MB, free: 59.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/0.3584, allocations: 1.784 MB / 470.5 MB, free: 59.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.3585, allocations: 27.91 kB / 470.5 MB, free: 59.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.3585, allocations: 3.969 kB / 470.5 MB, free: 59.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.483e-05/0.3585, allocations: 21.8 kB / 470.6 MB, free: 59.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006426/0.3649, allocations: 4.13 MB / 474.7 MB, free: 58.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.3649, allocations: 7.438 kB / 474.7 MB, free: 58.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002556/0.3675, allocations: 1.003 MB / 475.7 MB, free: 58.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.3686, allocations: 474.3 kB / 476.2 MB, free: 58.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005642/0.3691, allocations: 302 kB / 476.5 MB, free: 58.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.3692, allocations: 74.84 kB / 476.5 MB, free: 58.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.3709, allocations: 1.824 MB / 478.4 MB, free: 57.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3709, allocations: 7.438 kB / 478.4 MB, free: 57.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003075/0.374, allocations: 2.624 MB / 481 MB, free: 56.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004157/0.3744, allocations: 96.86 kB / 481.1 MB, free: 56.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.3755, allocations: 199 kB / 481.3 MB, free: 56.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003888/0.3759, allocations: 288.8 kB / 481.6 MB, free: 56.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.376, allocations: 69.89 kB / 481.6 MB, free: 56.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001721/0.3777, allocations: 1.582 MB / 483.2 MB, free: 56.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.3777, allocations: 0 / 483.2 MB, free: 56.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003472/0.3812, allocations: 1.993 MB / 485.2 MB, free: 54.53 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.001382/0.3826, allocations: 0.6543 MB / 485.9 MB, free: 54.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006345/0.3889, allocations: 4.468 MB / 490.3 MB, free: 50.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001235/0.3891, allocations: 74.77 kB / 490.4 MB, free: 50.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001749/0.3908, allocations: 1.219 MB / 491.6 MB, free: 49.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/0.3941, allocations: 3.232 MB / 494.8 MB, free: 46.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.4055, allocations: 7.877 MB / 0.4909 GB, free: 38.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/0.4061, allocations: 0.7284 MB / 0.4917 GB, free: 38.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002271/0.4084, allocations: 0.5882 MB / 0.4922 GB, free: 37.53 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/0.4099, allocations: 0.7317 MB / 0.4929 GB, free: 36.83 MB / 442.7 MB Notification: Performance of SimCode: time 1.803e-06/0.4099, allocations: 0 / 0.4929 GB, free: 36.83 MB / 442.7 MB Notification: Performance of Templates: time 0.06855/0.4784, allocations: 60.42 MB / 0.5519 GB, free: 9.719 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe ; mkfifo Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe >> ../files/Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.sim & ./Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.933423751965165]