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.001538/0.001538, allocations: 92.42 kB / 20.46 MB, free: 1.246 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.001658/0.001658, allocations: 222.5 kB / 23.77 MB, free: 4.422 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.463/1.463, allocations: 207.7 MB / 234.6 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] 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.7163/0.7163, allocations: 119.1 MB / 406 MB, free: 14.13 MB / 318.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.002283/0.002283, allocations: 76.23 kB / 0.5708 GB, free: 41.8 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1476, allocations: 79.85 MB / 0.6488 GB, free: 10.37 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax): time 0.0197/0.1673, allocations: 14.17 MB / 0.6626 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0171/0.1844, allocations: 7.615 MB / 0.6701 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004216/0.1886, allocations: 111.2 kB / 0.6702 GB, free: 4.375 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.003369/0.1919, allocations: 1.007 MB / 0.6712 GB, free: 3.363 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.005696/0.1976, allocations: 1.358 MB / 0.6725 GB, free: 2 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.009558/0.2072, allocations: 3.789 MB / 0.6762 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01007/0.2173, allocations: 6.109 MB / 0.6822 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003443/0.2207, allocations: 1.351 MB / 0.6835 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003851/0.2246, allocations: 2.245 MB / 0.6857 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003645/0.2282, allocations: 2.117 MB / 0.6877 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001386/0.2296, allocations: 0.6367 MB / 0.6884 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.2315, allocations: 0.9919 MB / 0.6893 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001302/0.2328, allocations: 1.331 MB / 0.6906 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002472/0.2353, allocations: 1.962 MB / 0.6925 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.2459, allocations: 7.912 MB / 0.7003 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2459, allocations: 0 / 0.7003 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2459, allocations: 0 / 0.7003 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000204/0.2461, allocations: 3.984 kB / 0.7003 GB, free: 5.43 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.01592/0.2621, allocations: 5.925 MB / 0.7061 GB, free: 15.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.2621, allocations: 8.031 kB / 0.7061 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004118/0.2662, allocations: 0.9227 MB / 0.707 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00713/0.2733, allocations: 3.148 MB / 0.71 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009922/0.2743, allocations: 0.9012 MB / 0.7109 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008828/0.2752, allocations: 311.8 kB / 0.7112 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009676/0.2849, allocations: 4.492 MB / 0.7156 GB, free: 5.078 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.1e-05/0.285, allocations: 3.938 kB / 0.7156 GB, free: 5.074 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003571/0.2853, allocations: 132 kB / 0.7157 GB, free: 4.945 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.501e-05/0.2854, allocations: 76 kB / 0.7158 GB, free: 4.871 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008584/0.294, allocations: 3.211 MB / 0.7189 GB, free: 1.648 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.02462/0.3186, allocations: 11.89 MB / 0.7305 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00938/0.328, allocations: 3.198 MB / 0.7337 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004092/0.3321, allocations: 1.407 MB / 0.735 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003045/0.3324, allocations: 41.98 kB / 0.7351 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005232/0.3376, allocations: 1.982 MB / 0.737 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=252): time 7.264e-06/0.3376, allocations: 0 / 0.737 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=252): time 0.01494/0.3526, allocations: 4.739 MB / 0.7416 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004992/0.3531, allocations: 0.6763 MB / 0.7423 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008273/0.3613, allocations: 3.704 MB / 0.7459 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007231/0.362, allocations: 85.7 kB / 0.746 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002365/0.3644, allocations: 1.893 MB / 0.7479 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001692/0.3661, allocations: 0.9066 MB / 0.7487 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/0.3676, allocations: 0.708 MB / 0.7494 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3678, allocations: 301.1 kB / 0.7497 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004208/0.372, allocations: 1.7 MB / 0.7514 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005629/0.3776, allocations: 2.928 MB / 0.7542 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02903/0.4067, allocations: 8.261 MB / 0.7623 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.477e-05/0.4067, allocations: 0 / 0.7623 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01603/0.4227, allocations: 4.822 MB / 0.767 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001625/0.4229, allocations: 57.67 kB / 0.7671 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.752e-05/0.4229, allocations: 12 kB / 0.7671 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003917/0.4233, allocations: 193.2 kB / 0.7673 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009551/0.4329, allocations: 1.334 MB / 0.7686 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001263/0.433, allocations: 31.94 kB / 0.7686 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005454/0.4385, allocations: 473.8 kB / 0.7691 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009628/0.4394, allocations: 136 kB / 0.7692 GB, free: 13.04 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009948/0.4494, allocations: 2.47 MB / 0.7716 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008516/0.4579, allocations: 2.87 MB / 0.7744 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3705/0.8284, allocations: 8.118 MB / 0.7823 GB, free: 119.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.771e-05/0.8284, allocations: 3.344 kB / 0.7823 GB, free: 119.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=492) (initialization_lambda0): time 0.01242/0.8408, allocations: 4.715 MB / 0.7869 GB, free: 119.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.143e-05/0.8409, allocations: 62.09 kB / 0.787 GB, free: 119.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.8409, allocations: 17.66 kB / 0.787 GB, free: 119.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003083/0.8412, allocations: 185.2 kB / 0.7872 GB, free: 119.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006264/0.8475, allocations: 1.31 MB / 0.7885 GB, free: 119.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000109/0.8476, allocations: 34.94 kB / 0.7885 GB, free: 119.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003708/0.8513, allocations: 450 kB / 0.7889 GB, free: 119.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004861/0.8518, allocations: 132.5 kB / 0.7891 GB, free: 119.4 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.001025/0.8528, allocations: 0.5539 MB / 0.7896 GB, free: 119.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009292/0.8537, allocations: 420.6 kB / 0.79 GB, free: 119.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008864/0.8626, allocations: 3.57 MB / 0.7935 GB, free: 117.7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-05/0.8626, allocations: 25.75 kB / 0.7935 GB, free: 117.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.8626, allocations: 2.375 kB / 0.7935 GB, free: 117.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.987e-05/0.8627, allocations: 17.7 kB / 0.7935 GB, free: 117.7 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01811/0.8808, allocations: 7.075 MB / 0.8004 GB, free: 114.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/0.8808, allocations: 4.062 kB / 0.8004 GB, free: 114.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005732/0.8865, allocations: 1.025 MB / 0.8014 GB, free: 114.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002643/0.8868, allocations: 180.7 kB / 0.8016 GB, free: 114.4 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004422/0.8872, allocations: 73.41 kB / 0.8017 GB, free: 114.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.902e-05/0.8873, allocations: 19.23 kB / 0.8017 GB, free: 114.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.8873, allocations: 7.812 kB / 0.8017 GB, free: 114.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/0.8991, allocations: 5.75 MB / 0.8073 GB, free: 111.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002514/0.9016, allocations: 0.7979 MB / 0.8081 GB, free: 111.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008986/0.9025, allocations: 77.83 kB / 0.8082 GB, free: 111.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002628/0.9051, allocations: 257.9 kB / 0.8084 GB, free: 111.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000523/0.9056, allocations: 270.3 kB / 0.8087 GB, free: 111.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001843/0.9058, allocations: 88.52 kB / 0.8088 GB, free: 111.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003486/0.9093, allocations: 2.418 MB / 0.8111 GB, free: 110.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9093, allocations: 0 / 0.8111 GB, free: 110.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0043/0.9136, allocations: 1.678 MB / 0.8128 GB, free: 109.1 MB / 0.6075 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.003094/0.9167, allocations: 0.9353 MB / 0.8137 GB, free: 108.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01277/0.9295, allocations: 6.07 MB / 0.8196 GB, free: 102.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/0.9295, allocations: 0 / 0.8196 GB, free: 102.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004506/0.934, allocations: 1.96 MB / 0.8215 GB, free: 100.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004048/0.9381, allocations: 0.6506 MB / 0.8222 GB, free: 100.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/0.9549, allocations: 8.325 MB / 0.8303 GB, free: 91.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001585/0.9565, allocations: 1.713 MB / 0.832 GB, free: 90.08 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001715/0.9582, allocations: 291.3 kB / 0.8322 GB, free: 89.8 MB / 0.6075 GB Notification: Performance of SimCode: time 1.453e-06/0.9582, allocations: 0 / 0.8322 GB, free: 89.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.08259/1.041, allocations: 77.52 MB / 0.9079 GB, free: 12.32 MB / 0.6075 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 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 13.798783852020279] Failed to read output from testmodel.py, exit status != 0: 1.0507749760290608 1.061981199 0.812526592 Calling exit ...