Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.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.001354/0.001354, allocations: 81.22 kB / 20.56 MB, free: 1.094 MB / 14.72 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.001388/0.001388, allocations: 161.9 kB / 23.81 MB, free: 4.168 MB / 14.72 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 1.251/1.251, allocations: 158.6 MB / 185.6 MB, free: 6.496 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.6111/0.6111, allocations: 88.32 MB / 326.1 MB, free: 1.598 MB / 302.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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.SheetI7QMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.measurements.UPu|Unit.measurements.PPu|Unit.measurements.QPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.measurements.UPu|Unit.measurements.PPu|Unit.measurements.QPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 71.89 kB / 0.4929 GB, free: 1.555 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3197, allocations: 79.83 MB / 0.5709 GB, free: 3.852 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax): time 0.01728/0.337, allocations: 14.16 MB / 0.5847 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01802/0.355, allocations: 7.633 MB / 0.5922 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00424/0.3592, allocations: 103.2 kB / 0.5923 GB, free: 13.87 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.004059/0.3633, allocations: 1.012 MB / 0.5933 GB, free: 12.85 MB / 0.4981 GB [/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.006938/0.3702, allocations: 1.343 MB / 0.5946 GB, free: 11.5 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Wind/WECC/WT4CurrentSource_INIT.mo:82:3-82:98:writable] Warning: In relation Modelica.ComplexMath.'abs'(INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.01009/0.3803, allocations: 3.809 MB / 0.5983 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01018/0.3905, allocations: 6.039 MB / 0.6042 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004946/0.3955, allocations: 1.355 MB / 0.6055 GB, free: 248 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006463/0.4019, allocations: 2.233 MB / 0.6077 GB, free: 14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003469/0.4054, allocations: 2.11 MB / 0.6097 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002115/0.4075, allocations: 0.6367 MB / 0.6104 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.4101, allocations: 0.988 MB / 0.6113 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00244/0.4125, allocations: 1.339 MB / 0.6126 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004782/0.4173, allocations: 1.958 MB / 0.6146 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.4294, allocations: 7.92 MB / 0.6223 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.4294, allocations: 3.984 kB / 0.6223 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.745e-06/0.4294, allocations: 0 / 0.6223 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003393/0.4297, allocations: 0 / 0.6223 GB, free: 14.99 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 763 * Number of variables: 763 Notification: Performance of Generate backend data structure: time 0.01882/0.4486, allocations: 5.924 MB / 0.6281 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4486, allocations: 12.02 kB / 0.6281 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00489/0.4535, allocations: 0.9111 MB / 0.629 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007463/0.461, allocations: 3.152 MB / 0.6321 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000988/0.462, allocations: 0.9011 MB / 0.6329 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000977/0.4629, allocations: 315.9 kB / 0.6332 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01153/0.4745, allocations: 4.485 MB / 0.6376 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.514e-05/0.4745, allocations: 7.938 kB / 0.6376 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006579/0.4752, allocations: 132 kB / 0.6377 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.41e-05/0.4753, allocations: 72 kB / 0.6378 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009596/0.4849, allocations: 3.214 MB / 0.641 GB, free: 11.22 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02708/0.512, allocations: 11.89 MB / 0.6526 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009215/0.5212, allocations: 3.191 MB / 0.6557 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004204/0.5254, allocations: 1.414 MB / 0.6571 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003569/0.5257, allocations: 41.92 kB / 0.6571 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005201/0.5309, allocations: 1.982 MB / 0.659 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=252): time 6.502e-06/0.5309, allocations: 0 / 0.659 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=252): time 0.01471/0.5456, allocations: 4.735 MB / 0.6637 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004603/0.5461, allocations: 0.6724 MB / 0.6643 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007025/0.5531, allocations: 3.701 MB / 0.6679 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008022/0.5539, allocations: 85.7 kB / 0.668 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002576/0.5565, allocations: 1.908 MB / 0.6699 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001789/0.5583, allocations: 0.895 MB / 0.6708 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002601/0.5609, allocations: 0.708 MB / 0.6714 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5611, allocations: 305.1 kB / 0.6717 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004548/0.5656, allocations: 1.7 MB / 0.6734 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005727/0.5713, allocations: 2.924 MB / 0.6763 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02891/0.6002, allocations: 8.255 MB / 0.6843 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.021e-05/0.6003, allocations: 8 kB / 0.6843 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01384/0.6141, allocations: 4.818 MB / 0.689 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.6142, allocations: 61.67 kB / 0.6891 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-05/0.6142, allocations: 15.98 kB / 0.6891 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003442/0.6146, allocations: 189.4 kB / 0.6893 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00641/0.621, allocations: 1.326 MB / 0.6906 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000103/0.6211, allocations: 35.94 kB / 0.6906 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003912/0.625, allocations: 469.8 kB / 0.6911 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007658/0.6258, allocations: 140 kB / 0.6912 GB, free: 6.637 MB / 0.5919 GB Warning: Assuming fixed start value for the following 33 variables: Unit.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.line.State0 fixed = true ) \"Line 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.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.omegaRefWTGQPu0 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.value:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) type: Boolean Unit.line.running.value:DISCRETE(flow=false start = Unit.line.Running0 fixed = true ) type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UInj0Pu 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.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.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.PInj0Pu 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.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.006705/0.6325, allocations: 2.476 MB / 0.6936 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005502/0.638, allocations: 2.874 MB / 0.6964 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02782/0.6658, allocations: 8.111 MB / 0.7043 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.063e-05/0.6658, allocations: 4 kB / 0.7043 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=492) (initialization_lambda0): time 0.01345/0.6793, allocations: 4.712 MB / 0.7089 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.6794, allocations: 61.61 kB / 0.709 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.6794, allocations: 15.94 kB / 0.709 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003462/0.6798, allocations: 193.4 kB / 0.7092 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006268/0.686, allocations: 1.311 MB / 0.7105 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.773e-05/0.6861, allocations: 39.86 kB / 0.7105 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004199/0.6903, allocations: 454.1 kB / 0.711 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/0.6913, allocations: 136 kB / 0.7111 GB, free: 1.641 MB / 0.6075 GB Warning: Assuming fixed start value for the following 33 variables: Unit.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.line.State0 fixed = true ) \"Line 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.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.omegaRefWTGQPu0 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.value:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) type: Boolean Unit.line.running.value:DISCRETE(flow=false start = Unit.line.Running0 fixed = true ) type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UInj0Pu 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.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.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.PInj0Pu 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.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: 54 * Number of states: 0 () * Number of discrete variables: 74 ($PRE.infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,$whenCondition17,infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,$PRE.Unit.line.state,Unit.line.state,$PRE.Unit.injector.state,Unit.injector.state,$PRE.infiniteBusFromTable.tableUPhase.nextTimeEvent,$whenCondition2,$PRE.infiniteBusFromTable.tableUPu.nextTimeEvent,$whenCondition1,Unit.injector.switchOffSignal3.value,Unit.injector.switchOffSignal2.value,Unit.injector.switchOffSignal1.value,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.Unit.wecc_regc.offDelay.delaySignal,$PRE.Unit.wecc_regc.offDelay.tNext,$PRE.Unit.injector.running.value,$PRE.Unit.line.running.value,$PRE.Unit.wecc_reec.iqInjectionLogic.vDip,$PRE.Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_regc.Qinj0PuNeg.k,Unit.wecc_regc.QInj0PuPos.k,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDip,$PRE.Unit.wecc_regc.offDelay.u,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.line.running.value,Unit.injector.running.value,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,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableUPhase.nextTimeEventScaled,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableUPu.nextTimeEventScaled,infiniteBusFromTable.tableUPu.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,Unit.wecc_reec.varLimPIDFreeze.I.resetLocal,Unit.wecc_reec.limPIDFreeze.I.resetLocal,Unit.pll.limIntegrator.local_reset,Unit.pll.integrator.local_reset,Unit.wecc_repc.limPIDFreeze.I.resetLocal,Unit.wecc_repc.limPID.I.local_reset,Unit.wecc_wtgt.dOmegaGenerator.local_reset,Unit.wecc_wtgt.dOmegaTurbine.local_reset,Unit.wecc_wtgt.dPhi.local_reset,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (472): * Single equations (assignments): 470 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,75.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002854/0.6942, allocations: 0.5488 MB / 0.7116 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001943/0.6961, allocations: 413.3 kB / 0.712 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/0.707, allocations: 3.573 MB / 0.7155 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.651e-05/0.707, allocations: 27.94 kB / 0.7155 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.047e-05/0.707, allocations: 4 kB / 0.7155 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.909e-05/0.7071, allocations: 11.95 kB / 0.7155 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01891/0.726, allocations: 7.086 MB / 0.7225 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/0.726, allocations: 4.469 kB / 0.7225 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005912/0.732, allocations: 1.03 MB / 0.7235 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003025/0.7323, allocations: 180.8 kB / 0.7236 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003984/0.7327, allocations: 67.97 kB / 0.7237 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.731e-05/0.7327, allocations: 15.98 kB / 0.7237 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.7327, allocations: 11.94 kB / 0.7237 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01361/0.7463, allocations: 5.758 MB / 0.7294 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002394/0.7487, allocations: 0.805 MB / 0.7301 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007514/0.7494, allocations: 75.92 kB / 0.7302 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003142/0.7526, allocations: 259.7 kB / 0.7305 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001045/0.7536, allocations: 273.4 kB / 0.7307 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004414/0.7541, allocations: 87.97 kB / 0.7308 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.005239/0.7593, allocations: 2.42 MB / 0.7332 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7593, allocations: 0 / 0.7332 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006631/0.7659, allocations: 1.672 MB / 0.7348 GB, free: 9.066 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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.varLimPIDFreeze.I.y,Unit.wecc_reec.rateLimFirstOrderFreeze1.y,Unit.wecc_reec.slewRateLimiter.y,Unit.wecc_reec.rateLimFirstOrderFreeze.y) * Number of discrete variables: 39 ($whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,infiniteBusFromTable.tableUPu.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEventScaled,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,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.value,Unit.injector.state,Unit.line.running.value,Unit.line.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,$whenCondition17,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled) * Number of discrete states: 14 (infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,Unit.line.running.value,Unit.injector.running.value,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEvent,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,infiniteBusFromTable.tableUPu.nextTimeEventScaled,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 (259): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,75.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003797/0.7697, allocations: 0.9117 MB / 0.7357 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0161/0.7858, allocations: 6.068 MB / 0.7416 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/0.7858, allocations: 4 kB / 0.7416 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005179/0.791, allocations: 2.024 MB / 0.7436 GB, free: 364 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2757/1.067, allocations: 0.6481 MB / 0.7442 GB, free: 159 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/1.086, allocations: 8.223 MB / 0.7523 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/1.089, allocations: 1.71 MB / 0.7539 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002941/1.092, allocations: 0.5641 MB / 0.7545 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000966/1.093, allocations: 256.6 kB / 0.7547 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.092e-06/1.093, allocations: 3.75 kB / 0.7547 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.07237/1.165, allocations: 47.36 MB / 0.801 GB, free: 114.7 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.828702591941692] Failed to read output from testmodel.py, exit status != 0: 1.1771887189242989 1.1884806350000001 0.755772184 Calling exit ...