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.001807/0.001807, 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.002206/0.002206, allocations: 164.3 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.427/1.427, allocations: 158.6 MB / 184.8 MB, free: 6.555 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.6606/0.6606, allocations: 88.33 MB / 325.4 MB, free: 4.324 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.002209/0.002209, allocations: 76.25 kB / 0.4917 GB, free: 24.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1617, allocations: 79.82 MB / 0.5696 GB, free: 9.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6): time 0.01839/0.1801, allocations: 14.17 MB / 0.5835 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01491/0.195, allocations: 7.638 MB / 0.5909 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005151/0.2002, allocations: 111.2 kB / 0.5911 GB, free: 3.449 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.003955/0.2041, allocations: 1.008 MB / 0.592 GB, free: 2.434 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.006171/0.2103, allocations: 1.343 MB / 0.5933 GB, free: 1.082 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.009005/0.2193, allocations: 3.799 MB / 0.5971 GB, free: 13.3 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.01017/0.2295, allocations: 6.043 MB / 0.603 GB, free: 7.254 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003557/0.233, allocations: 1.351 MB / 0.6043 GB, free: 5.832 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004601/0.2376, allocations: 2.233 MB / 0.6065 GB, free: 3.59 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003817/0.2415, allocations: 2.114 MB / 0.6085 GB, free: 1.465 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.001765/0.2432, allocations: 0.6367 MB / 0.6091 GB, free: 0.8281 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.2457, allocations: 0.9841 MB / 0.6101 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001409/0.2471, allocations: 1.339 MB / 0.6114 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002749/0.2498, allocations: 1.962 MB / 0.6133 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.2615, allocations: 7.908 MB / 0.6211 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.2616, allocations: 0 / 0.6211 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.206e-06/0.2616, allocations: 0 / 0.6211 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002242/0.2618, allocations: 0 / 0.6211 GB, free: 4.59 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.01677/0.2786, allocations: 5.931 MB / 0.6268 GB, free: 14.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.2786, allocations: 12.03 kB / 0.6269 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007143/0.2793, allocations: 417.7 kB / 0.6273 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00397/0.2833, allocations: 0.915 MB / 0.6281 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006695/0.29, allocations: 3.15 MB / 0.6312 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008604/0.2909, allocations: 0.9011 MB / 0.6321 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006277/0.2915, allocations: 315.9 kB / 0.6324 GB, free: 8.672 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008942/0.3004, allocations: 4.496 MB / 0.6368 GB, free: 3.809 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.473e-05/0.3005, allocations: 7.938 kB / 0.6368 GB, free: 3.801 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003242/0.3008, allocations: 128 kB / 0.6369 GB, free: 3.676 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.285e-05/0.3009, allocations: 72 kB / 0.637 GB, free: 3.605 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007727/0.3086, allocations: 3.207 MB / 0.6401 GB, free: 396 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.02508/0.3337, allocations: 12.34 MB / 0.6522 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009397/0.3431, allocations: 3.202 MB / 0.6553 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003811/0.3469, allocations: 1.406 MB / 0.6567 GB, free: 15.15 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003694/0.3473, allocations: 41.98 kB / 0.6567 GB, free: 15.11 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004704/0.352, allocations: 1.974 MB / 0.6586 GB, free: 13.11 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=252): time 5.129e-06/0.352, allocations: 0 / 0.6586 GB, free: 13.11 MB / 0.5763 GB Notification: Performance of matching and sorting (n=252): time 0.01277/0.3647, allocations: 4.781 MB / 0.6633 GB, free: 8.32 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004519/0.3652, allocations: 0.6762 MB / 0.664 GB, free: 7.496 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008809/0.374, allocations: 4.053 MB / 0.6679 GB, free: 3.426 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007025/0.3747, allocations: 85.7 kB / 0.668 GB, free: 3.336 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002542/0.3772, allocations: 1.883 MB / 0.6699 GB, free: 1.441 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00179/0.379, allocations: 0.9067 MB / 0.6707 GB, free: 0.5273 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002562/0.3816, allocations: 0.7279 MB / 0.6714 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3817, allocations: 309.1 kB / 0.6717 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004473/0.3862, allocations: 1.72 MB / 0.6734 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006394/0.3926, allocations: 2.969 MB / 0.6763 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03/0.4226, allocations: 8.354 MB / 0.6845 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.971e-05/0.4226, allocations: 3.938 kB / 0.6845 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.3529/0.7755, allocations: 4.933 MB / 0.6893 GB, free: 106.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.214e-05/0.7756, allocations: 59.84 kB / 0.6894 GB, free: 106.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-05/0.7756, allocations: 12.06 kB / 0.6894 GB, free: 106.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000363/0.776, allocations: 195.2 kB / 0.6896 GB, free: 106.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006502/0.7825, allocations: 1.348 MB / 0.6909 GB, free: 106.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.85e-05/0.7826, allocations: 34 kB / 0.6909 GB, free: 106.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/0.7862, allocations: 0.5119 MB / 0.6914 GB, free: 106.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003705/0.7865, allocations: 138.4 kB / 0.6915 GB, free: 106.1 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.004754/0.7913, allocations: 2.5 MB / 0.694 GB, free: 105.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003692/0.795, allocations: 2.907 MB / 0.6968 GB, free: 103.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0254/0.8204, allocations: 8.212 MB / 0.7048 GB, free: 100.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-05/0.8204, allocations: 6.781 kB / 0.7048 GB, free: 100.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=508) (initialization_lambda0): time 0.01019/0.8306, allocations: 4.826 MB / 0.7096 GB, free: 98.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.8306, allocations: 65.03 kB / 0.7096 GB, free: 98.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.8306, allocations: 11.62 kB / 0.7096 GB, free: 98.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002159/0.8309, allocations: 190.4 kB / 0.7098 GB, free: 98.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005567/0.8364, allocations: 1.331 MB / 0.7111 GB, free: 98.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.213e-05/0.8365, allocations: 40.42 kB / 0.7111 GB, free: 98.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/0.8399, allocations: 460 kB / 0.7116 GB, free: 98.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003402/0.8403, allocations: 135.2 kB / 0.7117 GB, free: 98.02 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.001315/0.8416, allocations: 0.5504 MB / 0.7123 GB, free: 97.62 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008876/0.8425, allocations: 458.1 kB / 0.7127 GB, free: 97.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007166/0.8496, allocations: 3.594 MB / 0.7162 GB, free: 96.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.8497, allocations: 24.66 kB / 0.7162 GB, free: 96.01 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.8497, allocations: 0 / 0.7162 GB, free: 96.01 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/0.8497, allocations: 18.06 kB / 0.7162 GB, free: 96.01 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/0.8634, allocations: 7.416 MB / 0.7235 GB, free: 89.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.8634, allocations: 8.031 kB / 0.7235 GB, free: 89.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005168/0.8685, allocations: 1.022 MB / 0.7245 GB, free: 88.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002192/0.8688, allocations: 176.8 kB / 0.7247 GB, free: 88.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002005/0.869, allocations: 71.97 kB / 0.7247 GB, free: 88.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-05/0.869, allocations: 19.94 kB / 0.7247 GB, free: 88.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.869, allocations: 8 kB / 0.7248 GB, free: 88.03 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.8791, allocations: 5.787 MB / 0.7304 GB, free: 82.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/0.8808, allocations: 0.8474 MB / 0.7312 GB, free: 81.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000519/0.8814, allocations: 80.97 kB / 0.7313 GB, free: 81.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002105/0.8835, allocations: 251.7 kB / 0.7315 GB, free: 80.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004732/0.8839, allocations: 281.4 kB / 0.7318 GB, free: 80.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/0.8841, allocations: 83.97 kB / 0.7319 GB, free: 80.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003247/0.8874, allocations: 2.671 MB / 0.7345 GB, free: 77.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8874, allocations: 0 / 0.7345 GB, free: 77.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00339/0.8907, allocations: 1.623 MB / 0.7361 GB, free: 76.35 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.01258/0.9033, allocations: 7.172 MB / 0.7431 GB, free: 69.42 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01153/0.9148, allocations: 6.149 MB / 0.7491 GB, free: 63.22 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-05/0.9149, allocations: 5.875 kB / 0.7491 GB, free: 63.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00392/0.9188, allocations: 2.022 MB / 0.7511 GB, free: 61.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/0.9223, allocations: 0.6852 MB / 0.7517 GB, free: 60.53 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06595/0.9882, allocations: 36.12 MB / 0.787 GB, free: 23.76 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.9896, allocations: 1.721 MB / 0.7887 GB, free: 22 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0026/0.9922, allocations: 0.5884 MB / 0.7893 GB, free: 21.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002048/0.9942, allocations: 1.863 MB / 0.7911 GB, free: 19.55 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.9942, allocations: 2.516 kB / 0.7911 GB, free: 19.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1682/1.162, allocations: 90.49 MB / 0.8795 GB, free: 9.188 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.21/20.37, allocations: 8.047 kB / 0.8795 GB, free: 9.18 MB / 0.67 GB " [Timeout remaining time 639] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_GridCodeSimulations_SheetSimulations_SheetI6_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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: 24.41148196114227] Failed to read output from testmodel.py, exit status != 0: 20.60471536894329 20.621190362 20.356109242 Calling exit ...