Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.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.001821/0.001821, allocations: 77.62 kB / 20.56 MB, free: 1.25 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.002284/0.002284, allocations: 160.9 kB / 23.81 MB, free: 4.445 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.352/1.352, allocations: 158.6 MB / 185.6 MB, free: 6.52 MB / 174.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.7373/0.7373, allocations: 88.33 MB / 326.2 MB, free: 4.293 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.SheetI7QMin,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.SheetI7QMin") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin,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.SheetI7QMin") [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.002697/0.002697, allocations: 77.5 kB / 0.4929 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1936, allocations: 79.82 MB / 0.5709 GB, free: 8.945 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin): time 0.02009/0.2137, allocations: 14.17 MB / 0.5847 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01551/0.2292, allocations: 7.626 MB / 0.5922 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00421/0.2334, allocations: 115.1 kB / 0.5923 GB, free: 2.941 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.003564/0.237, allocations: 1.004 MB / 0.5932 GB, free: 1.93 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.005983/0.243, allocations: 1.347 MB / 0.5946 GB, free: 0.5742 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.009442/0.2524, allocations: 3.8 MB / 0.5983 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0118/0.2642, allocations: 6.039 MB / 0.6042 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005256/0.2695, allocations: 1.351 MB / 0.6055 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00521/0.2747, allocations: 2.237 MB / 0.6077 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004389/0.2791, allocations: 2.117 MB / 0.6097 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002296/0.2814, allocations: 0.6328 MB / 0.6104 GB, free: 328 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.2844, allocations: 0.9841 MB / 0.6113 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00208/0.2865, allocations: 1.339 MB / 0.6126 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002925/0.2894, allocations: 1.958 MB / 0.6145 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.3005, allocations: 7.912 MB / 0.6223 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3005, allocations: 0 / 0.6223 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3005, allocations: 0 / 0.6223 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001587/0.3006, allocations: 0 / 0.6223 GB, free: 4.082 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.01589/0.3165, allocations: 5.932 MB / 0.6281 GB, free: 14.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.3166, allocations: 12.03 kB / 0.6281 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003866/0.3205, allocations: 0.9111 MB / 0.629 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00643/0.3269, allocations: 3.152 MB / 0.632 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009154/0.3278, allocations: 0.8973 MB / 0.6329 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000723/0.3285, allocations: 315.9 kB / 0.6332 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009016/0.3375, allocations: 4.492 MB / 0.6376 GB, free: 3.727 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.677e-05/0.3376, allocations: 7.938 kB / 0.6376 GB, free: 3.719 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003455/0.3379, allocations: 132 kB / 0.6377 GB, free: 3.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-05/0.338, allocations: 72 kB / 0.6378 GB, free: 3.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00753/0.3455, allocations: 3.214 MB / 0.6409 GB, free: 300 kB / 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.02212/0.3677, allocations: 11.88 MB / 0.6525 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008087/0.3757, allocations: 3.206 MB / 0.6557 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00316/0.3789, allocations: 1.409 MB / 0.6571 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/0.3791, allocations: 45.97 kB / 0.6571 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004143/0.3833, allocations: 1.99 MB / 0.659 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=252): time 5.671e-06/0.3833, allocations: 0 / 0.659 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=252): time 0.01186/0.3951, allocations: 4.735 MB / 0.6637 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004367/0.3956, allocations: 0.6724 MB / 0.6643 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006033/0.4016, allocations: 3.697 MB / 0.6679 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004757/0.4021, allocations: 85.7 kB / 0.668 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001933/0.404, allocations: 1.897 MB / 0.6699 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001142/0.4052, allocations: 0.9066 MB / 0.6708 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/0.4064, allocations: 0.7041 MB / 0.6714 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4065, allocations: 305.1 kB / 0.6717 GB, free: 264 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003714/0.4102, allocations: 1.696 MB / 0.6734 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004839/0.4151, allocations: 2.936 MB / 0.6763 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02499/0.4401, allocations: 8.263 MB / 0.6843 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/0.4401, allocations: 4 kB / 0.6843 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.3074/0.7475, allocations: 4.81 MB / 0.689 GB, free: 106 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.417e-05/0.7476, allocations: 59.25 kB / 0.6891 GB, free: 105.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.778e-05/0.7476, allocations: 11.66 kB / 0.6891 GB, free: 105.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000313/0.748, allocations: 190.8 kB / 0.6893 GB, free: 105.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005892/0.7539, allocations: 1.333 MB / 0.6906 GB, free: 105.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.95e-05/0.7539, allocations: 35.81 kB / 0.6906 GB, free: 105.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/0.7568, allocations: 472 kB / 0.6911 GB, free: 105.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/0.7571, allocations: 137.9 kB / 0.6912 GB, free: 105.9 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.004179/0.7613, allocations: 2.466 MB / 0.6936 GB, free: 105.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003185/0.7644, allocations: 2.875 MB / 0.6964 GB, free: 103.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02274/0.7872, allocations: 8.111 MB / 0.7043 GB, free: 100.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.589e-05/0.7872, allocations: 3.031 kB / 0.7043 GB, free: 100.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=492) (initialization_lambda0): time 0.009005/0.7962, allocations: 4.724 MB / 0.7089 GB, free: 98.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/0.7963, allocations: 60.97 kB / 0.709 GB, free: 98.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.7963, allocations: 11.78 kB / 0.709 GB, free: 98.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.7965, allocations: 193.6 kB / 0.7092 GB, free: 98.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004979/0.8015, allocations: 1.303 MB / 0.7105 GB, free: 98.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.836e-05/0.8015, allocations: 40.17 kB / 0.7105 GB, free: 98.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/0.8045, allocations: 454 kB / 0.7109 GB, free: 98.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002643/0.8047, allocations: 135.4 kB / 0.7111 GB, free: 98.09 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: 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.000935/0.8057, allocations: 0.5499 MB / 0.7116 GB, free: 97.69 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006091/0.8063, allocations: 418.7 kB / 0.712 GB, free: 97.69 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006812/0.8131, allocations: 3.566 MB / 0.7155 GB, free: 96.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.8131, allocations: 27.84 kB / 0.7155 GB, free: 96.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.8131, allocations: 0 / 0.7155 GB, free: 96.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/0.8131, allocations: 10.73 kB / 0.7155 GB, free: 96.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.8237, allocations: 7.092 MB / 0.7225 GB, free: 91.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.8237, allocations: 4 kB / 0.7225 GB, free: 91.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00503/0.8288, allocations: 1.03 MB / 0.7235 GB, free: 90.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001975/0.829, allocations: 176.8 kB / 0.7236 GB, free: 90.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001755/0.8291, allocations: 71.97 kB / 0.7237 GB, free: 89.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.8291, allocations: 12 kB / 0.7237 GB, free: 89.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.8292, allocations: 13.14 kB / 0.7237 GB, free: 89.92 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00927/0.8384, allocations: 5.754 MB / 0.7293 GB, free: 84.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/0.84, allocations: 0.7905 MB / 0.7301 GB, free: 83.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000426/0.8404, allocations: 79.98 kB / 0.7302 GB, free: 83.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/0.8424, allocations: 263.6 kB / 0.7304 GB, free: 82.99 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004521/0.8428, allocations: 269.5 kB / 0.7307 GB, free: 82.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/0.843, allocations: 85.5 kB / 0.7308 GB, free: 82.64 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002754/0.8457, allocations: 2.427 MB / 0.7332 GB, free: 80.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.8457, allocations: 4 kB / 0.7332 GB, free: 80.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003102/0.8488, allocations: 1.68 MB / 0.7348 GB, free: 78.57 MB / 0.5919 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.002908/0.8517, allocations: 0.9236 MB / 0.7357 GB, free: 78.03 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01042/0.8621, allocations: 6.062 MB / 0.7416 GB, free: 71.92 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.8622, allocations: 8.062 kB / 0.7416 GB, free: 71.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003648/0.8658, allocations: 2.021 MB / 0.7436 GB, free: 69.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/0.8688, allocations: 0.6557 MB / 0.7442 GB, free: 69.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.8817, allocations: 8.23 MB / 0.7523 GB, free: 60.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.883, allocations: 1.713 MB / 0.754 GB, free: 59.19 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002476/0.8855, allocations: 0.5592 MB / 0.7545 GB, free: 58.63 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007739/0.8862, allocations: 264.4 kB / 0.7547 GB, free: 58.37 MB / 0.5919 GB Notification: Performance of SimCode: time 9.52e-07/0.8862, allocations: 0 / 0.7547 GB, free: 58.37 MB / 0.5919 GB Notification: Performance of Templates: time 1.05/1.936, allocations: 47.34 MB / 0.801 GB, free: 11.25 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.257672998006456] Failed to read output from testmodel.py, exit status != 0: 1.9469618289731443 1.958713887 1.6542264899999999 Calling exit ...