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.001866/0.001866, allocations: 78.41 kB / 20.57 MB, free: 1.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002278/0.002278, allocations: 161.3 kB / 23.82 MB, free: 4.434 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.32/1.32, allocations: 158.6 MB / 185.6 MB, free: 6.508 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.6153/0.6153, allocations: 88.33 MB / 326.2 MB, free: 4.297 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: translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.measurements.UPu|Unit.measurements.PPu|Unit.measurements.QPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.measurements.UPu|Unit.measurements.PPu|Unit.measurements.QPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax") [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.002331/0.002331, allocations: 71.98 kB / 0.4929 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1285, allocations: 79.83 MB / 0.5709 GB, free: 8.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax): time 0.01877/0.1473, allocations: 14.16 MB / 0.5847 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01471/0.162, allocations: 7.626 MB / 0.5922 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00406/0.1661, allocations: 111.2 kB / 0.5923 GB, free: 2.797 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.002703/0.1688, allocations: 1.008 MB / 0.5933 GB, free: 1.781 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.004256/0.173, allocations: 1.355 MB / 0.5946 GB, free: 428 kB / 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.008593/0.1816, allocations: 3.8 MB / 0.5983 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00923/0.1908, allocations: 6.042 MB / 0.6042 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003451/0.1943, allocations: 1.355 MB / 0.6055 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003607/0.1979, allocations: 2.229 MB / 0.6077 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003098/0.201, allocations: 2.117 MB / 0.6098 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001158/0.2022, allocations: 0.6367 MB / 0.6104 GB, free: 168 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.2042, allocations: 0.9841 MB / 0.6113 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001671/0.2058, allocations: 1.339 MB / 0.6127 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002799/0.2086, allocations: 1.962 MB / 0.6146 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.2189, allocations: 7.904 MB / 0.6223 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.2189, allocations: 4 kB / 0.6223 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2189, allocations: 0 / 0.6223 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002483/0.2191, allocations: 0 / 0.6223 GB, free: 3.926 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.01869/0.2378, allocations: 5.928 MB / 0.6281 GB, free: 13.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.2379, allocations: 12.03 kB / 0.6281 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004304/0.2422, allocations: 0.915 MB / 0.629 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00745/0.2496, allocations: 3.141 MB / 0.6321 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009847/0.2506, allocations: 0.905 MB / 0.6329 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008543/0.2515, allocations: 315.9 kB / 0.6332 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009086/0.2606, allocations: 4.488 MB / 0.6376 GB, free: 3.578 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.914e-05/0.2606, allocations: 11.94 kB / 0.6376 GB, free: 3.566 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003432/0.261, allocations: 132 kB / 0.6378 GB, free: 3.438 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.747e-05/0.261, allocations: 72 kB / 0.6378 GB, free: 3.367 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008427/0.2695, allocations: 3.214 MB / 0.641 GB, free: 144 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.025/0.2945, allocations: 11.89 MB / 0.6526 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00875/0.3032, allocations: 3.194 MB / 0.6557 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003466/0.3067, allocations: 1.418 MB / 0.6571 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/0.3069, allocations: 41.98 kB / 0.6571 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004331/0.3112, allocations: 1.986 MB / 0.6591 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=252): time 5.631e-06/0.3112, allocations: 0 / 0.6591 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=252): time 0.0123/0.3235, allocations: 4.739 MB / 0.6637 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000396/0.3239, allocations: 0.6685 MB / 0.6643 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006053/0.33, allocations: 3.693 MB / 0.6679 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004001/0.3304, allocations: 97.69 kB / 0.668 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001924/0.3323, allocations: 1.897 MB / 0.6699 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001279/0.3336, allocations: 0.9066 MB / 0.6708 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/0.3349, allocations: 0.708 MB / 0.6715 GB, free: 408 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.335, allocations: 305.1 kB / 0.6718 GB, free: 100 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00395/0.3389, allocations: 1.688 MB / 0.6734 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005076/0.344, allocations: 2.936 MB / 0.6763 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02661/0.3706, allocations: 8.259 MB / 0.6843 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.951e-05/0.3706, allocations: 4 kB / 0.6843 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.3015/0.6722, allocations: 4.813 MB / 0.689 GB, free: 105.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.192e-05/0.6723, allocations: 59.44 kB / 0.6891 GB, free: 105.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.141e-05/0.6723, allocations: 12.47 kB / 0.6891 GB, free: 105.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003487/0.6726, allocations: 191.6 kB / 0.6893 GB, free: 105.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006978/0.6796, allocations: 1.329 MB / 0.6906 GB, free: 105.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001395/0.6798, allocations: 33.8 kB / 0.6906 GB, free: 105.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003743/0.6835, allocations: 473.9 kB / 0.6911 GB, free: 105.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004611/0.684, allocations: 137.4 kB / 0.6912 GB, free: 105.9 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.004809/0.6888, allocations: 2.47 MB / 0.6936 GB, free: 105.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003577/0.6923, allocations: 2.868 MB / 0.6964 GB, free: 103.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02591/0.7183, allocations: 8.12 MB / 0.7043 GB, free: 100.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.811e-05/0.7183, allocations: 3.812 kB / 0.7044 GB, free: 100.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=492) (initialization_lambda0): time 0.009784/0.7281, allocations: 4.72 MB / 0.709 GB, free: 98.42 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.261e-05/0.7281, allocations: 61.11 kB / 0.709 GB, free: 98.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.7281, allocations: 11.72 kB / 0.709 GB, free: 98.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/0.7284, allocations: 192.8 kB / 0.7092 GB, free: 98.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005598/0.7339, allocations: 1.298 MB / 0.7105 GB, free: 98.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.202e-05/0.734, allocations: 47.42 kB / 0.7105 GB, free: 98.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003124/0.7371, allocations: 444.7 kB / 0.711 GB, free: 98.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003096/0.7375, allocations: 139.3 kB / 0.7111 GB, free: 98.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: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 74 ($PRE.infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,$whenCondition17,infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,$PRE.Unit.line.state,Unit.line.state,$PRE.Unit.injector.state,Unit.injector.state,$PRE.infiniteBusFromTable.tableUPhase.nextTimeEvent,$whenCondition2,$PRE.infiniteBusFromTable.tableUPu.nextTimeEvent,$whenCondition1,Unit.injector.switchOffSignal3.value,Unit.injector.switchOffSignal2.value,Unit.injector.switchOffSignal1.value,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.Unit.wecc_regc.offDelay.delaySignal,$PRE.Unit.wecc_regc.offDelay.tNext,$PRE.Unit.injector.running.value,$PRE.Unit.line.running.value,$PRE.Unit.wecc_reec.iqInjectionLogic.vDip,$PRE.Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_regc.Qinj0PuNeg.k,Unit.wecc_regc.QInj0PuPos.k,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDip,$PRE.Unit.wecc_regc.offDelay.u,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.line.running.value,Unit.injector.running.value,Unit.wecc_repc.freeze,Unit.wecc_regc.and2.y,Unit.wecc_regc.and1.y,Unit.wecc_regc.and1.u[2],Unit.wecc_regc.offDelay.tNext,Unit.wecc_regc.offDelay.delaySignal,Unit.wecc_regc.offDelay.u,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableUPhase.nextTimeEventScaled,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableUPu.nextTimeEventScaled,infiniteBusFromTable.tableUPu.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,Unit.wecc_reec.varLimPIDFreeze.I.resetLocal,Unit.wecc_reec.limPIDFreeze.I.resetLocal,Unit.pll.limIntegrator.local_reset,Unit.pll.integrator.local_reset,Unit.wecc_repc.limPIDFreeze.I.resetLocal,Unit.wecc_repc.limPID.I.local_reset,Unit.wecc_wtgt.dOmegaGenerator.local_reset,Unit.wecc_wtgt.dOmegaTurbine.local_reset,Unit.wecc_wtgt.dPhi.local_reset,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (472): * Single equations (assignments): 470 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,75.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001023/0.7385, allocations: 0.5492 MB / 0.7116 GB, free: 97.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007541/0.7392, allocations: 421.8 kB / 0.712 GB, free: 97.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007334/0.7466, allocations: 3.57 MB / 0.7155 GB, free: 96.31 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.658e-05/0.7466, allocations: 14.39 kB / 0.7155 GB, free: 96.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.7466, allocations: 0 / 0.7155 GB, free: 96.31 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/0.7483, allocations: 0.7985 MB / 0.7163 GB, free: 95.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005904/0.7489, allocations: 78.02 kB / 0.7164 GB, free: 95.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/0.7511, allocations: 257.6 kB / 0.7166 GB, free: 95.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005391/0.7516, allocations: 254.8 kB / 0.7169 GB, free: 95.71 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008595/0.7602, allocations: 3.941 MB / 0.7207 GB, free: 92.95 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009941/0.7702, allocations: 5.81 MB / 0.7264 GB, free: 87.06 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002925/0.7731, allocations: 1.63 MB / 0.728 GB, free: 85.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003208/0.7763, allocations: 2.423 MB / 0.7303 GB, free: 83 MB / 0.5919 GB Notification: Performance of Backend: time 4.61e-07/0.7763, allocations: 0 / 0.7303 GB, free: 83 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01416/0.7905, allocations: 5.851 MB / 0.7361 GB, free: 77.61 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01087/0.8013, allocations: 7.499 MB / 0.7434 GB, free: 70.09 MB / 0.5919 GB Notification: Performance of Templates: time 0.1078/0.9092, allocations: 83.07 MB / 0.8245 GB, free: 3.141 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.makefile [Timeout 660] (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 & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.276557898032479] Failed to read output from testmodel.py, exit status != 0: 0.9183193079661578 0.934785306 0.712251402 Calling exit ...