Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.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.001444/0.001444, 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.001553/0.001553, allocations: 222 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.612/1.612, allocations: 207.7 MB / 234.6 MB, free: 9.801 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.6791/0.6791, allocations: 119.1 MB / 406 MB, free: 13.66 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.SheetI6,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.SheetI6") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6,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.SheetI6") [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.002291/0.002291, allocations: 70.98 kB / 0.5708 GB, free: 41.77 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1335, allocations: 79.86 MB / 0.6488 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6): time 0.01953/0.153, allocations: 14.17 MB / 0.6626 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01555/0.1686, allocations: 7.63 MB / 0.6701 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003629/0.1722, allocations: 111.1 kB / 0.6702 GB, free: 4.32 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.003332/0.1755, allocations: 1.012 MB / 0.6712 GB, free: 3.301 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.005189/0.1807, allocations: 1.343 MB / 0.6725 GB, free: 1.949 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.00881/0.1895, allocations: 3.785 MB / 0.6762 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009157/0.1987, allocations: 6.101 MB / 0.6821 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003305/0.202, allocations: 1.355 MB / 0.6835 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003912/0.2059, allocations: 2.249 MB / 0.6857 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003657/0.2096, allocations: 2.121 MB / 0.6877 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00166/0.2112, allocations: 0.6328 MB / 0.6884 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.2134, allocations: 0.9919 MB / 0.6893 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001671/0.2151, allocations: 1.328 MB / 0.6906 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002998/0.2181, allocations: 1.962 MB / 0.6925 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01093/0.229, allocations: 7.916 MB / 0.7003 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.229, allocations: 0 / 0.7003 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.565e-06/0.229, allocations: 0 / 0.7003 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002514/0.2293, allocations: 0 / 0.7003 GB, free: 5.387 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.01649/0.2458, allocations: 5.925 MB / 0.706 GB, free: 15.37 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2458, allocations: 8.031 kB / 0.7061 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004307/0.2501, allocations: 0.9188 MB / 0.707 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007687/0.2578, allocations: 3.148 MB / 0.71 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001047/0.2589, allocations: 0.9012 MB / 0.7109 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/0.2599, allocations: 315.9 kB / 0.7112 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009521/0.2695, allocations: 4.488 MB / 0.7156 GB, free: 5.039 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.026e-05/0.2695, allocations: 3.938 kB / 0.7156 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003222/0.2698, allocations: 132 kB / 0.7157 GB, free: 4.906 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-05/0.2699, allocations: 76 kB / 0.7158 GB, free: 4.832 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00788/0.2778, allocations: 3.214 MB / 0.7189 GB, free: 1.605 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.02312/0.3009, allocations: 11.88 MB / 0.7305 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008917/0.3098, allocations: 3.19 MB / 0.7337 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003696/0.3135, allocations: 1.411 MB / 0.735 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000266/0.3138, allocations: 53.91 kB / 0.7351 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004898/0.3187, allocations: 1.982 MB / 0.737 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=252): time 5.861e-06/0.3187, allocations: 0 / 0.737 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=252): time 0.01371/0.3324, allocations: 4.743 MB / 0.7416 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004832/0.3329, allocations: 0.6685 MB / 0.7423 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007498/0.3404, allocations: 3.693 MB / 0.7459 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007665/0.3412, allocations: 93.64 kB / 0.746 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002487/0.3436, allocations: 1.897 MB / 0.7478 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001691/0.3453, allocations: 0.9027 MB / 0.7487 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002173/0.3475, allocations: 0.7119 MB / 0.7494 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3476, allocations: 305.1 kB / 0.7497 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004411/0.3521, allocations: 1.688 MB / 0.7514 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005649/0.3577, allocations: 2.936 MB / 0.7542 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02814/0.3858, allocations: 8.249 MB / 0.7623 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-05/0.3859, allocations: 4 kB / 0.7623 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01343/0.3993, allocations: 4.822 MB / 0.767 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.3994, allocations: 61.67 kB / 0.7671 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.655e-05/0.3995, allocations: 16.06 kB / 0.7671 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003606/0.3998, allocations: 188.8 kB / 0.7673 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006618/0.4064, allocations: 1.33 MB / 0.7686 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000106/0.4065, allocations: 35.92 kB / 0.7686 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003988/0.4105, allocations: 473.8 kB / 0.769 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006746/0.4112, allocations: 135.9 kB / 0.7692 GB, free: 13.01 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.006545/0.4177, allocations: 2.475 MB / 0.7716 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005336/0.4231, allocations: 2.878 MB / 0.7744 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.339/0.7621, allocations: 8.099 MB / 0.7823 GB, free: 120.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.682e-05/0.7621, allocations: 4.656 kB / 0.7823 GB, free: 120.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=492) (initialization_lambda0): time 0.01139/0.7735, allocations: 4.71 MB / 0.7869 GB, free: 120.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-05/0.7736, allocations: 64.39 kB / 0.787 GB, free: 120.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/0.7736, allocations: 11.94 kB / 0.787 GB, free: 120.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002833/0.7739, allocations: 195.5 kB / 0.7872 GB, free: 120.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006054/0.7799, allocations: 1.312 MB / 0.7885 GB, free: 120.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.462e-05/0.78, allocations: 35.67 kB / 0.7885 GB, free: 120.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003691/0.7837, allocations: 450.9 kB / 0.7889 GB, free: 120.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004665/0.7842, allocations: 131.6 kB / 0.789 GB, free: 120.3 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.001144/0.7853, allocations: 0.5479 MB / 0.7896 GB, free: 119.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/0.7864, allocations: 421.1 kB / 0.79 GB, free: 119.9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008775/0.7952, allocations: 3.575 MB / 0.7935 GB, free: 118.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/0.7952, allocations: 25.56 kB / 0.7935 GB, free: 118.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.7952, allocations: 2.594 kB / 0.7935 GB, free: 118.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.767e-05/0.7952, allocations: 12.56 kB / 0.7935 GB, free: 118.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/0.8111, allocations: 7.088 MB / 0.8004 GB, free: 115.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.8111, allocations: 4.188 kB / 0.8004 GB, free: 115.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005571/0.8167, allocations: 1.03 MB / 0.8014 GB, free: 115.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002721/0.817, allocations: 169 kB / 0.8016 GB, free: 115.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003898/0.8174, allocations: 76.48 kB / 0.8017 GB, free: 115.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.93e-05/0.8174, allocations: 23.28 kB / 0.8017 GB, free: 115.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8174, allocations: 3.969 kB / 0.8017 GB, free: 115.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/0.8289, allocations: 5.748 MB / 0.8073 GB, free: 112.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002285/0.8312, allocations: 0.8022 MB / 0.8081 GB, free: 112.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008274/0.832, allocations: 72.44 kB / 0.8082 GB, free: 112.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002376/0.8344, allocations: 259.7 kB / 0.8084 GB, free: 112.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005091/0.8349, allocations: 268.3 kB / 0.8087 GB, free: 112.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/0.8351, allocations: 91.94 kB / 0.8088 GB, free: 112 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003518/0.8386, allocations: 2.419 MB / 0.8111 GB, free: 111.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8386, allocations: 4 kB / 0.8111 GB, free: 111.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004781/0.8434, allocations: 1.675 MB / 0.8128 GB, free: 110.2 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.00323/0.8466, allocations: 0.933 MB / 0.8137 GB, free: 109.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01306/0.8597, allocations: 6.07 MB / 0.8196 GB, free: 103.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/0.8597, allocations: 4.188 kB / 0.8196 GB, free: 103.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004106/0.8638, allocations: 1.959 MB / 0.8215 GB, free: 101.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003523/0.8673, allocations: 0.647 MB / 0.8221 GB, free: 101.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.8824, allocations: 8.331 MB / 0.8303 GB, free: 92.79 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/0.8838, allocations: 1.713 MB / 0.832 GB, free: 91.04 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/0.8854, allocations: 287.4 kB / 0.8322 GB, free: 90.77 MB / 0.6075 GB Notification: Performance of SimCode: time 1.492e-06/0.8854, allocations: 0 / 0.8322 GB, free: 90.77 MB / 0.6075 GB Notification: Performance of Templates: time 0.08761/0.973, allocations: 77.51 MB / 0.9079 GB, free: 13.3 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 14.016286494908854] Failed to read output from testmodel.py, exit status != 0: 0.982565967948176 0.999720585 0.766574741 Calling exit ...