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.001823/0.001823, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.002607/0.002607, allocations: 209.8 kB / 23.01 MB, free: 4.992 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.566/1.566, allocations: 207.7 MB / 233.9 MB, free: 9.793 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.7241/0.7241, allocations: 119.1 MB / 405.2 MB, free: 13.62 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.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.002572/0.002572, allocations: 75.14 kB / 0.5701 GB, free: 41.87 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1765, allocations: 79.87 MB / 0.6481 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin): time 0.01982/0.1964, allocations: 14.16 MB / 0.6619 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01742/0.2138, allocations: 7.638 MB / 0.6694 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00471/0.2185, allocations: 111.2 kB / 0.6695 GB, free: 4.301 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.002966/0.2215, allocations: 1.008 MB / 0.6705 GB, free: 3.285 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.005567/0.227, allocations: 1.343 MB / 0.6718 GB, free: 1.934 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.008609/0.2356, allocations: 3.791 MB / 0.6755 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009412/0.245, allocations: 6.098 MB / 0.6814 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003769/0.2488, allocations: 1.351 MB / 0.6827 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003733/0.2525, allocations: 2.253 MB / 0.6849 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003511/0.2561, allocations: 2.121 MB / 0.687 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.2571, allocations: 0.6367 MB / 0.6876 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002043/0.2591, allocations: 0.9803 MB / 0.6886 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001444/0.2606, allocations: 1.335 MB / 0.6899 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002428/0.263, allocations: 1.958 MB / 0.6918 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.2748, allocations: 7.916 MB / 0.6995 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2748, allocations: 4 kB / 0.6995 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2748, allocations: 0 / 0.6995 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002452/0.275, allocations: 0 / 0.6995 GB, free: 5.371 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.01901/0.294, allocations: 5.928 MB / 0.7053 GB, free: 15.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.2941, allocations: 8.031 kB / 0.7053 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004589/0.2987, allocations: 0.9149 MB / 0.7062 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008415/0.3071, allocations: 3.152 MB / 0.7093 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008977/0.308, allocations: 0.9012 MB / 0.7102 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000848/0.3088, allocations: 315.9 kB / 0.7105 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009777/0.3186, allocations: 4.488 MB / 0.7149 GB, free: 5.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.357e-05/0.3187, allocations: 7.938 kB / 0.7149 GB, free: 5.012 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003467/0.319, allocations: 128 kB / 0.715 GB, free: 4.887 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.554e-05/0.3191, allocations: 72 kB / 0.7151 GB, free: 4.816 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007781/0.3269, allocations: 3.207 MB / 0.7182 GB, free: 1.598 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.02303/0.3499, allocations: 11.9 MB / 0.7298 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008881/0.3588, allocations: 3.198 MB / 0.733 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00355/0.3623, allocations: 1.411 MB / 0.7343 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.3626, allocations: 41.97 kB / 0.7344 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004401/0.367, allocations: 1.982 MB / 0.7363 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=252): time 5.159e-06/0.367, allocations: 3.938 kB / 0.7363 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=252): time 0.01268/0.3797, allocations: 4.739 MB / 0.7409 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006477/0.3803, allocations: 0.6763 MB / 0.7416 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007063/0.3874, allocations: 3.693 MB / 0.7452 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006655/0.388, allocations: 85.7 kB / 0.7453 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002372/0.3904, allocations: 1.901 MB / 0.7471 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001551/0.392, allocations: 0.8988 MB / 0.748 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001306/0.3933, allocations: 0.7158 MB / 0.7487 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3934, allocations: 301.1 kB / 0.749 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003964/0.3974, allocations: 1.692 MB / 0.7507 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005413/0.4028, allocations: 2.936 MB / 0.7535 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02766/0.4304, allocations: 8.249 MB / 0.7616 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.677e-05/0.4305, allocations: 4 kB / 0.7616 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01256/0.443, allocations: 4.822 MB / 0.7663 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.4431, allocations: 61.86 kB / 0.7664 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.541e-05/0.4432, allocations: 16 kB / 0.7664 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003835/0.4435, allocations: 188.8 kB / 0.7666 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006354/0.4499, allocations: 1.323 MB / 0.7678 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001116/0.45, allocations: 39.86 kB / 0.7679 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00437/0.4544, allocations: 473.8 kB / 0.7683 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005886/0.455, allocations: 136 kB / 0.7685 GB, free: 12.99 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.007162/0.4621, allocations: 2.478 MB / 0.7709 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005448/0.4676, allocations: 2.874 MB / 0.7737 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3721/0.8397, allocations: 8.1 MB / 0.7816 GB, free: 118.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.567e-05/0.8397, allocations: 3.438 kB / 0.7816 GB, free: 118.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=492) (initialization_lambda0): time 0.01157/0.8513, allocations: 4.712 MB / 0.7862 GB, free: 118 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.39e-05/0.8513, allocations: 66.03 kB / 0.7863 GB, free: 118 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.516e-05/0.8514, allocations: 11 kB / 0.7863 GB, free: 118 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002815/0.8516, allocations: 196.4 kB / 0.7865 GB, free: 117.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005736/0.8574, allocations: 1.311 MB / 0.7877 GB, free: 117.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-05/0.8575, allocations: 35.67 kB / 0.7878 GB, free: 117.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003684/0.8611, allocations: 447.5 kB / 0.7882 GB, free: 117.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004243/0.8616, allocations: 137.1 kB / 0.7883 GB, free: 117.7 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.001218/0.8628, allocations: 0.5543 MB / 0.7889 GB, free: 117.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/0.8639, allocations: 422.1 kB / 0.7893 GB, free: 117.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009036/0.8729, allocations: 3.566 MB / 0.7928 GB, free: 116 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.132e-05/0.873, allocations: 28.69 kB / 0.7928 GB, free: 116 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.873, allocations: 2.344 kB / 0.7928 GB, free: 116 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.971e-05/0.873, allocations: 16.92 kB / 0.7928 GB, free: 116 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/0.8884, allocations: 7.077 MB / 0.7997 GB, free: 112.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/0.8884, allocations: 4.438 kB / 0.7997 GB, free: 112.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005514/0.894, allocations: 1.031 MB / 0.8007 GB, free: 112.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002578/0.8942, allocations: 176.3 kB / 0.8009 GB, free: 112.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000367/0.8946, allocations: 71.16 kB / 0.801 GB, free: 112.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.819e-05/0.8946, allocations: 19.53 kB / 0.801 GB, free: 112.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.8946, allocations: 7.844 kB / 0.801 GB, free: 112.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/0.9054, allocations: 5.757 MB / 0.8066 GB, free: 110.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002075/0.9075, allocations: 0.7961 MB / 0.8074 GB, free: 109.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006388/0.9081, allocations: 79.88 kB / 0.8075 GB, free: 109.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/0.9102, allocations: 258.7 kB / 0.8077 GB, free: 109.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004909/0.9107, allocations: 273.8 kB / 0.808 GB, free: 109.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/0.9109, allocations: 85.88 kB / 0.8081 GB, free: 109.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00336/0.9143, allocations: 2.417 MB / 0.8104 GB, free: 108.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9143, allocations: 7.438 kB / 0.8104 GB, free: 108.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004399/0.9187, allocations: 1.673 MB / 0.8121 GB, free: 108.3 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.003197/0.9218, allocations: 0.9158 MB / 0.813 GB, free: 107.9 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01164/0.9335, allocations: 6.071 MB / 0.8189 GB, free: 102.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/0.9335, allocations: 0 / 0.8189 GB, free: 102.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00405/0.9375, allocations: 2.02 MB / 0.8209 GB, free: 100.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003851/0.9414, allocations: 0.6652 MB / 0.8215 GB, free: 100.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/0.9572, allocations: 8.221 MB / 0.8295 GB, free: 91.78 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.9585, allocations: 1.712 MB / 0.8312 GB, free: 90.04 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002876/0.9614, allocations: 0.5592 MB / 0.8318 GB, free: 89.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008138/0.9622, allocations: 263.4 kB / 0.832 GB, free: 89.22 MB / 0.6075 GB Notification: Performance of SimCode: time 1.242e-06/0.9622, allocations: 0 / 0.832 GB, free: 89.22 MB / 0.6075 GB Notification: Performance of Templates: time 0.07344/1.036, allocations: 51.13 MB / 0.8819 GB, free: 38.32 MB / 0.6075 GB " [Timeout remaining time 659] 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 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.307694723829627] Failed to read output from testmodel.py, exit status != 0: 1.046700056642294 1.056225893 0.778767529 Calling exit ...