Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.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.001671/0.001671, 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.001721/0.001721, allocations: 212 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.399/1.399, allocations: 207.7 MB / 233.9 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.6393/0.6393, allocations: 119.1 MB / 405.2 MB, free: 13.66 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax,fileNamePrefix="Dynawo_dev_Dynawo_Examples_GridCodeSimulations_SheetSimulations_SheetI7QMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax,fileNamePrefix="Dynawo_dev_Dynawo_Examples_GridCodeSimulations_SheetSimulations_SheetI7QMax",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.002149/0.002149, allocations: 76.56 kB / 0.5696 GB, free: 42.28 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1299, allocations: 79.85 MB / 0.6476 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax): time 0.01977/0.1497, allocations: 14.17 MB / 0.6614 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01606/0.1658, allocations: 7.634 MB / 0.6689 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003726/0.1695, allocations: 107.2 kB / 0.669 GB, free: 4.98 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.003332/0.1728, allocations: 1.008 MB / 0.6699 GB, free: 3.965 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.005246/0.1781, allocations: 1.347 MB / 0.6713 GB, free: 2.609 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.009814/0.1879, allocations: 3.784 MB / 0.675 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01114/0.199, allocations: 6.109 MB / 0.6809 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004255/0.2033, allocations: 1.355 MB / 0.6822 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004239/0.2075, allocations: 2.245 MB / 0.6844 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003735/0.2112, allocations: 2.117 MB / 0.6865 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001964/0.2132, allocations: 0.6367 MB / 0.6871 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.2157, allocations: 0.988 MB / 0.6881 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002145/0.2178, allocations: 1.339 MB / 0.6894 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003541/0.2214, allocations: 1.958 MB / 0.6913 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.2325, allocations: 7.912 MB / 0.699 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2325, allocations: 0 / 0.699 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2325, allocations: 0 / 0.699 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000226/0.2327, allocations: 0 / 0.699 GB, free: 6.047 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.01739/0.2501, allocations: 5.936 MB / 0.7048 GB, free: 24 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.2502, allocations: 8.031 kB / 0.7048 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009808/0.2511, allocations: 417.7 kB / 0.7052 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004194/0.2553, allocations: 0.9189 MB / 0.7061 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007115/0.2624, allocations: 3.144 MB / 0.7092 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008655/0.2633, allocations: 0.8973 MB / 0.7101 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007958/0.2641, allocations: 319.9 kB / 0.7104 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009372/0.2735, allocations: 4.488 MB / 0.7148 GB, free: 5.273 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.255e-05/0.2735, allocations: 7.938 kB / 0.7148 GB, free: 5.266 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003512/0.2739, allocations: 132 kB / 0.7149 GB, free: 5.137 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.561e-05/0.274, allocations: 76 kB / 0.715 GB, free: 5.062 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007944/0.2819, allocations: 3.214 MB / 0.7181 GB, free: 1.836 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.02288/0.3048, allocations: 12.34 MB / 0.7302 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008383/0.3132, allocations: 3.202 MB / 0.7333 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00337/0.3165, allocations: 1.407 MB / 0.7347 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/0.3167, allocations: 37.98 kB / 0.7347 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004328/0.3211, allocations: 1.986 MB / 0.7367 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=252): time 4.909e-06/0.3211, allocations: 4 kB / 0.7367 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=252): time 0.01258/0.3337, allocations: 4.763 MB / 0.7413 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004422/0.3341, allocations: 0.6723 MB / 0.742 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008838/0.3429, allocations: 4.064 MB / 0.7459 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007608/0.3437, allocations: 85.7 kB / 0.746 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002631/0.3463, allocations: 1.879 MB / 0.7479 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001662/0.348, allocations: 0.9106 MB / 0.7487 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002803/0.3508, allocations: 0.724 MB / 0.7494 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3509, allocations: 301.1 kB / 0.7497 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004565/0.3555, allocations: 1.724 MB / 0.7514 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005574/0.3611, allocations: 2.965 MB / 0.7543 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02705/0.3881, allocations: 8.352 MB / 0.7625 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.08e-05/0.3882, allocations: 8 kB / 0.7625 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.01292/0.4011, allocations: 4.93 MB / 0.7673 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.925e-05/0.4012, allocations: 57.67 kB / 0.7673 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-05/0.4012, allocations: 12 kB / 0.7674 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003689/0.4016, allocations: 189.4 kB / 0.7675 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006656/0.4082, allocations: 1.35 MB / 0.7689 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001143/0.4083, allocations: 35.88 kB / 0.7689 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003877/0.4122, allocations: 0.5246 MB / 0.7694 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00062/0.4128, allocations: 139.9 kB / 0.7695 GB, free: 12.03 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.006476/0.4193, allocations: 2.507 MB / 0.772 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005436/0.4248, allocations: 2.91 MB / 0.7748 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3279/0.7526, allocations: 8.193 MB / 0.7828 GB, free: 118.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.337e-05/0.7526, allocations: 4.344 kB / 0.7828 GB, free: 118.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=508) (initialization_lambda0): time 0.0107/0.7633, allocations: 4.828 MB / 0.7875 GB, free: 118.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.228e-05/0.7634, allocations: 63.47 kB / 0.7876 GB, free: 118 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.7634, allocations: 13.78 kB / 0.7876 GB, free: 118 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002534/0.7637, allocations: 188.4 kB / 0.7878 GB, free: 118 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006085/0.7698, allocations: 1.328 MB / 0.7891 GB, free: 117.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001026/0.7699, allocations: 40.34 kB / 0.7891 GB, free: 117.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00386/0.7737, allocations: 458.9 kB / 0.7896 GB, free: 117.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004638/0.7742, allocations: 139.1 kB / 0.7897 GB, free: 117.8 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: 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.001041/0.7752, allocations: 0.5611 MB / 0.7903 GB, free: 117.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009996/0.7762, allocations: 451.7 kB / 0.7907 GB, free: 117.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008995/0.7852, allocations: 3.584 MB / 0.7942 GB, free: 116 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.344e-05/0.7853, allocations: 25.75 kB / 0.7942 GB, free: 116 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/0.7853, allocations: 2.344 kB / 0.7942 GB, free: 116 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.739e-05/0.7853, allocations: 17.3 kB / 0.7942 GB, free: 116 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.8001, allocations: 7.417 MB / 0.8015 GB, free: 112.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.8001, allocations: 3.938 kB / 0.8015 GB, free: 112.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005274/0.8053, allocations: 1.029 MB / 0.8025 GB, free: 112.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002677/0.8056, allocations: 171.7 kB / 0.8026 GB, free: 112.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003019/0.8059, allocations: 79.58 kB / 0.8027 GB, free: 112.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.09e-05/0.8059, allocations: 20.62 kB / 0.8027 GB, free: 112.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.8059, allocations: 3.875 kB / 0.8027 GB, free: 112.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/0.8167, allocations: 5.788 MB / 0.8084 GB, free: 110 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001994/0.8187, allocations: 0.8454 MB / 0.8092 GB, free: 109.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007133/0.8194, allocations: 77.66 kB / 0.8093 GB, free: 109.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/0.8216, allocations: 260.8 kB / 0.8095 GB, free: 109.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004555/0.8221, allocations: 275 kB / 0.8098 GB, free: 109.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/0.8222, allocations: 83.53 kB / 0.8099 GB, free: 109.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003445/0.8257, allocations: 2.673 MB / 0.8125 GB, free: 108 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8257, allocations: 0 / 0.8125 GB, free: 108 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003883/0.8296, allocations: 1.621 MB / 0.8141 GB, free: 106.5 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.01313/0.8427, allocations: 7.175 MB / 0.8211 GB, free: 100.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01268/0.8554, allocations: 6.148 MB / 0.8271 GB, free: 93.99 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.686e-05/0.8554, allocations: 4 kB / 0.8271 GB, free: 93.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004271/0.8597, allocations: 2.027 MB / 0.8291 GB, free: 91.96 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003952/0.8636, allocations: 0.6823 MB / 0.8297 GB, free: 91.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0662/0.9298, allocations: 36.14 MB / 0.865 GB, free: 54.55 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/0.9312, allocations: 1.71 MB / 0.8667 GB, free: 52.81 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002658/0.9338, allocations: 0.5923 MB / 0.8673 GB, free: 52.21 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002139/0.936, allocations: 1.862 MB / 0.8691 GB, free: 50.35 MB / 0.6075 GB Notification: Performance of SimCode: time 1.152e-06/0.936, allocations: 0 / 0.8691 GB, free: 50.35 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1467/1.083, allocations: 90.19 MB / 0.9572 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.37/18.46, allocations: 7.859 kB / 0.9572 GB, free: 8.348 MB / 0.6544 GB " [Timeout remaining time 641] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_GridCodeSimulations_SheetSimulations_SheetI7QMax_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Dynawo_dev_Dynawo_Examples_GridCodeSimulations_SheetSimulations_SheetI7QMax.fmu > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.32643197104335] Failed to read output from testmodel.py, exit status != 0: 18.686968024005182 18.703479997 18.467473268 Calling exit ...