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.001322/0.001322, allocations: 74.27 kB / 19.81 MB, free: 2.082 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.001485/0.001485, allocations: 160.7 kB / 23.06 MB, free: 4.953 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.295/1.295, allocations: 158.6 MB / 184.8 MB, free: 6.523 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.6432/0.6432, allocations: 88.32 MB / 325.4 MB, free: 4.32 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: "" <> buildModelFMU(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6,fileNamePrefix="Dynawo_dev_Dynawo_Examples_GridCodeSimulations_SheetSimulations_SheetI6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6,fileNamePrefix="Dynawo_dev_Dynawo_Examples_GridCodeSimulations_SheetSimulations_SheetI6",fmuType="me",version="2.0",platforms={"static"}) [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.002351/0.002351, allocations: 73.36 kB / 0.4917 GB, free: 24.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1293, allocations: 79.83 MB / 0.5696 GB, free: 9.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6): time 0.01829/0.1476, allocations: 14.16 MB / 0.5835 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01393/0.1616, allocations: 7.634 MB / 0.5909 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002702/0.1643, allocations: 107.2 kB / 0.591 GB, free: 3.48 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.002433/0.1667, allocations: 1.01 MB / 0.592 GB, free: 2.465 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.003901/0.1706, allocations: 1.347 MB / 0.5933 GB, free: 1.109 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.007712/0.1783, allocations: 3.794 MB / 0.597 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008267/0.1866, allocations: 6.105 MB / 0.603 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00269/0.1893, allocations: 1.351 MB / 0.6043 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/0.1924, allocations: 2.249 MB / 0.6065 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/0.195, allocations: 2.114 MB / 0.6086 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000904/0.1959, allocations: 0.6367 MB / 0.6092 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.1975, allocations: 0.9919 MB / 0.6102 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.1987, allocations: 1.328 MB / 0.6115 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002011/0.2007, allocations: 1.962 MB / 0.6134 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008887/0.2096, allocations: 7.916 MB / 0.6211 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2096, allocations: 3.938 kB / 0.6211 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2096, allocations: 4 kB / 0.6211 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001245/0.2098, allocations: 0 / 0.6211 GB, free: 4.535 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.01641/0.2262, allocations: 5.923 MB / 0.6269 GB, free: 14.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2262, allocations: 8.031 kB / 0.6269 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006343/0.2268, allocations: 421.7 kB / 0.6273 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003856/0.2307, allocations: 0.9227 MB / 0.6282 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006029/0.2367, allocations: 3.142 MB / 0.6313 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008531/0.2376, allocations: 0.8973 MB / 0.6321 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006113/0.2382, allocations: 315.9 kB / 0.6324 GB, free: 8.629 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008794/0.247, allocations: 4.496 MB / 0.6368 GB, free: 3.766 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-05/0.2471, allocations: 7.938 kB / 0.6368 GB, free: 3.758 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000334/0.2474, allocations: 128 kB / 0.637 GB, free: 3.633 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.549e-05/0.2474, allocations: 76 kB / 0.637 GB, free: 3.559 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008215/0.2557, allocations: 3.211 MB / 0.6402 GB, free: 344 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.02263/0.2783, allocations: 12.33 MB / 0.6522 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008988/0.2873, allocations: 3.191 MB / 0.6553 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003699/0.291, allocations: 1.418 MB / 0.6567 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/0.2912, allocations: 41.98 kB / 0.6568 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004783/0.296, allocations: 1.982 MB / 0.6587 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=252): time 7.815e-06/0.296, allocations: 0 / 0.6587 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=252): time 0.01369/0.3097, allocations: 4.781 MB / 0.6634 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004194/0.3101, allocations: 0.6685 MB / 0.664 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008361/0.3185, allocations: 4.052 MB / 0.668 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006533/0.3191, allocations: 89.7 kB / 0.6681 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002286/0.3214, allocations: 1.883 MB / 0.6699 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001587/0.323, allocations: 0.9067 MB / 0.6708 GB, free: 492 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002375/0.3254, allocations: 0.7279 MB / 0.6715 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3255, allocations: 305.1 kB / 0.6718 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004562/0.3301, allocations: 1.724 MB / 0.6735 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005641/0.3357, allocations: 2.969 MB / 0.6764 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02841/0.3641, allocations: 8.347 MB / 0.6845 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.362e-05/0.3642, allocations: 4 kB / 0.6845 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.2897/0.6539, allocations: 4.935 MB / 0.6893 GB, free: 105.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.948e-05/0.654, allocations: 62.94 kB / 0.6894 GB, free: 105.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/0.654, allocations: 15.58 kB / 0.6894 GB, free: 105.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003307/0.6543, allocations: 190.3 kB / 0.6896 GB, free: 105.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0062/0.6605, allocations: 1.351 MB / 0.6909 GB, free: 105.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.283e-05/0.6606, allocations: 34.81 kB / 0.691 GB, free: 105.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003243/0.6638, allocations: 0.5125 MB / 0.6915 GB, free: 105.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003058/0.6641, allocations: 138.4 kB / 0.6916 GB, free: 105.3 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.004842/0.669, allocations: 2.499 MB / 0.694 GB, free: 104.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003952/0.6729, allocations: 2.912 MB / 0.6969 GB, free: 102.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02579/0.6987, allocations: 8.206 MB / 0.7049 GB, free: 99.33 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-05/0.6987, allocations: 3.812 kB / 0.7049 GB, free: 99.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=508) (initialization_lambda0): time 0.01013/0.7089, allocations: 4.837 MB / 0.7096 GB, free: 97.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.304e-05/0.7089, allocations: 56 kB / 0.7097 GB, free: 97.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.709, allocations: 15.5 kB / 0.7097 GB, free: 97.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002325/0.7092, allocations: 192.6 kB / 0.7099 GB, free: 97.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005948/0.7151, allocations: 1.328 MB / 0.7112 GB, free: 97.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-05/0.7152, allocations: 37.45 kB / 0.7112 GB, free: 97.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003177/0.7184, allocations: 454.5 kB / 0.7116 GB, free: 97.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002849/0.7186, allocations: 143.9 kB / 0.7118 GB, free: 97.21 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: 78 ($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.QInj0PuPos.k,Unit.wecc_regc.and1.u[1],Unit.wecc_regc.QInj0PuPos.y,Unit.wecc_regc.Qinj0PuNeg.k,Unit.wecc_regc.and2.u[2],Unit.wecc_regc.Qinj0PuNeg.y,$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 (488): * Single equations (assignments): 486 * 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.0009572/0.7196, allocations: 0.556 MB / 0.7123 GB, free: 96.81 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007159/0.7203, allocations: 460.5 kB / 0.7127 GB, free: 96.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007657/0.728, allocations: 3.582 MB / 0.7162 GB, free: 95.19 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.728, allocations: 28 kB / 0.7163 GB, free: 95.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.728, allocations: 0 / 0.7163 GB, free: 95.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.229e-05/0.728, allocations: 18.52 kB / 0.7163 GB, free: 95.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/0.7432, allocations: 7.417 MB / 0.7235 GB, free: 88.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.7432, allocations: 4 kB / 0.7235 GB, free: 88.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005637/0.7489, allocations: 1.034 MB / 0.7245 GB, free: 87.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002392/0.7491, allocations: 168.8 kB / 0.7247 GB, free: 87.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003219/0.7494, allocations: 75.95 kB / 0.7248 GB, free: 87.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-05/0.7494, allocations: 16 kB / 0.7248 GB, free: 87 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.7494, allocations: 11.94 kB / 0.7248 GB, free: 86.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/0.7606, allocations: 5.782 MB / 0.7305 GB, free: 81.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002103/0.7627, allocations: 0.8449 MB / 0.7313 GB, free: 80.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009334/0.7637, allocations: 84.95 kB / 0.7314 GB, free: 80.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002666/0.7663, allocations: 259.6 kB / 0.7316 GB, free: 79.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005088/0.7669, allocations: 265.5 kB / 0.7319 GB, free: 79.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/0.7671, allocations: 87.95 kB / 0.7319 GB, free: 79.56 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004452/0.7715, allocations: 2.667 MB / 0.7345 GB, free: 76.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7715, allocations: 0 / 0.7345 GB, free: 76.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004643/0.7762, allocations: 1.633 MB / 0.7361 GB, free: 75.37 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.0142/0.7904, allocations: 7.166 MB / 0.7431 GB, free: 68.45 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01274/0.8031, allocations: 6.149 MB / 0.7491 GB, free: 62.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.8031, allocations: 4 kB / 0.7491 GB, free: 62.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004188/0.8073, allocations: 2.026 MB / 0.7511 GB, free: 60.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004124/0.8114, allocations: 0.673 MB / 0.7518 GB, free: 59.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06762/0.879, allocations: 36.14 MB / 0.7871 GB, free: 22.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/0.8811, allocations: 1.706 MB / 0.7887 GB, free: 21.08 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003277/0.8843, allocations: 0.5923 MB / 0.7893 GB, free: 20.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002617/0.887, allocations: 1.863 MB / 0.7911 GB, free: 18.62 MB / 0.5919 GB Notification: Performance of SimCode: time 1.212e-06/0.887, allocations: 0 / 0.7911 GB, free: 18.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.224/1.111, allocations: 90.49 MB / 0.8795 GB, free: 8.242 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.91/20.02, allocations: 3.984 kB / 0.8795 GB, free: 8.238 MB / 0.67 GB " [Timeout remaining time 640] (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 & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Dynawo_dev_Dynawo_Examples_GridCodeSimulations_SheetSimulations_SheetI6.fmu > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.60370546206832] Failed to read output from testmodel.py, exit status != 0: 20.268621752038598 20.299144509 20.083394988 Calling exit ...