Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002576/0.002576, allocations: 85.06 kB / 19.82 MB, free: 1.922 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.002799/0.002799, allocations: 161.6 kB / 23.06 MB, free: 4.516 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.368/1.368, allocations: 158.6 MB / 184.8 MB, free: 6.5 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.8674/0.8674, allocations: 88.34 MB / 325.4 MB, free: 4.293 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.SheetI7QMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.measurements.UPu|Unit.measurements.PPu|Unit.measurements.QPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.measurements.UPu|Unit.measurements.PPu|Unit.measurements.QPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003478/0.003478, allocations: 69.34 kB / 0.4922 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2054, allocations: 79.83 MB / 0.5702 GB, free: 8.949 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin): time 0.02384/0.2292, allocations: 14.18 MB / 0.584 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01898/0.2482, allocations: 7.618 MB / 0.5914 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006431/0.2547, allocations: 111.2 kB / 0.5915 GB, free: 2.945 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.004818/0.2595, allocations: 1.002 MB / 0.5925 GB, free: 1.938 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.007929/0.2674, allocations: 1.355 MB / 0.5938 GB, free: 0.5742 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.01066/0.2781, allocations: 3.8 MB / 0.5976 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01063/0.2887, allocations: 6.035 MB / 0.6035 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004624/0.2933, allocations: 1.351 MB / 0.6048 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004877/0.2982, allocations: 2.237 MB / 0.607 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004036/0.3022, allocations: 2.117 MB / 0.609 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001959/0.3042, allocations: 0.6367 MB / 0.6096 GB, free: 328 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002913/0.3071, allocations: 0.988 MB / 0.6106 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002352/0.3094, allocations: 1.339 MB / 0.6119 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004234/0.3137, allocations: 1.954 MB / 0.6138 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01313/0.3268, allocations: 7.912 MB / 0.6216 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.3268, allocations: 0 / 0.6216 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3268, allocations: 0 / 0.6216 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003027/0.3271, allocations: 4 kB / 0.6216 GB, free: 4.078 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.02051/0.3476, allocations: 5.924 MB / 0.6273 GB, free: 14.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.558e-05/0.3477, allocations: 8.031 kB / 0.6274 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005098/0.3528, allocations: 0.9189 MB / 0.6282 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009327/0.3621, allocations: 3.152 MB / 0.6313 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001099/0.3632, allocations: 0.9011 MB / 0.6322 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001439/0.3647, allocations: 315.9 kB / 0.6325 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/0.3782, allocations: 4.492 MB / 0.6369 GB, free: 3.723 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.3783, allocations: 3.938 kB / 0.6369 GB, free: 3.719 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009325/0.3793, allocations: 132 kB / 0.637 GB, free: 3.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.739e-05/0.3794, allocations: 76 kB / 0.6371 GB, free: 3.516 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009895/0.3893, allocations: 3.203 MB / 0.6402 GB, free: 308 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.02871/0.418, allocations: 11.88 MB / 0.6518 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00959/0.4276, allocations: 3.202 MB / 0.655 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003777/0.4313, allocations: 1.41 MB / 0.6563 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003227/0.4317, allocations: 45.92 kB / 0.6564 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005039/0.4367, allocations: 1.986 MB / 0.6583 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=252): time 7.795e-06/0.4367, allocations: 0 / 0.6583 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=252): time 0.01371/0.4504, allocations: 4.739 MB / 0.6629 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005325/0.4509, allocations: 0.6724 MB / 0.6636 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009762/0.4607, allocations: 3.697 MB / 0.6672 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006121/0.4613, allocations: 93.62 kB / 0.6673 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002717/0.464, allocations: 1.904 MB / 0.6692 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001569/0.4656, allocations: 0.8988 MB / 0.67 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002597/0.4682, allocations: 0.708 MB / 0.6707 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.4684, allocations: 301.1 kB / 0.671 GB, free: 260 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004485/0.4729, allocations: 1.7 MB / 0.6727 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005358/0.4782, allocations: 2.928 MB / 0.6755 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02699/0.5052, allocations: 8.256 MB / 0.6836 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-05/0.5052, allocations: 4 kB / 0.6836 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.3931/0.8984, allocations: 4.814 MB / 0.6883 GB, free: 105 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.8985, allocations: 58.84 kB / 0.6884 GB, free: 105 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.404e-05/0.8985, allocations: 11.91 kB / 0.6884 GB, free: 105 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004159/0.8989, allocations: 190.2 kB / 0.6886 GB, free: 105 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006795/0.9057, allocations: 1.33 MB / 0.6899 GB, free: 105 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001263/0.9059, allocations: 34.8 kB / 0.6899 GB, free: 105 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004072/0.9099, allocations: 469.9 kB / 0.6903 GB, free: 105 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004988/0.9104, allocations: 141 kB / 0.6905 GB, free: 105 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.005401/0.9158, allocations: 2.48 MB / 0.6929 GB, free: 104.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003618/0.9194, allocations: 2.871 MB / 0.6957 GB, free: 102.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02691/0.9464, allocations: 8.102 MB / 0.7036 GB, free: 99.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.241e-05/0.9464, allocations: 4 kB / 0.7036 GB, free: 99.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=492) (initialization_lambda0): time 0.01102/0.9574, allocations: 4.721 MB / 0.7082 GB, free: 97.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.537e-05/0.9575, allocations: 60.7 kB / 0.7083 GB, free: 97.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.9575, allocations: 11.81 kB / 0.7083 GB, free: 97.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002399/0.9577, allocations: 191.8 kB / 0.7085 GB, free: 97.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005307/0.963, allocations: 1.309 MB / 0.7097 GB, free: 97.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000106/0.9631, allocations: 38.34 kB / 0.7098 GB, free: 97.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003921/0.9671, allocations: 449.8 kB / 0.7102 GB, free: 97.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004449/0.9675, allocations: 142.7 kB / 0.7104 GB, free: 97.13 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.001538/0.969, allocations: 0.5459 MB / 0.7109 GB, free: 96.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/0.9705, allocations: 422.7 kB / 0.7113 GB, free: 96.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007793/0.9783, allocations: 3.57 MB / 0.7148 GB, free: 95.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.9783, allocations: 24.69 kB / 0.7148 GB, free: 95.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.9783, allocations: 7.875 kB / 0.7148 GB, free: 95.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.748e-05/0.9783, allocations: 14.39 kB / 0.7148 GB, free: 95.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/0.9921, allocations: 7.077 MB / 0.7217 GB, free: 90.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.9921, allocations: 4 kB / 0.7217 GB, free: 90.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00523/0.9974, allocations: 1.032 MB / 0.7227 GB, free: 89.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002905/0.9976, allocations: 188.4 kB / 0.7229 GB, free: 88.92 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003664/0.998, allocations: 71.97 kB / 0.723 GB, free: 88.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.413e-05/0.998, allocations: 12 kB / 0.723 GB, free: 88.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.9981, allocations: 7.938 kB / 0.723 GB, free: 88.83 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/1.009, allocations: 5.753 MB / 0.7286 GB, free: 82.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002413/1.012, allocations: 0.7995 MB / 0.7294 GB, free: 82.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001163/1.013, allocations: 79.98 kB / 0.7295 GB, free: 82.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/1.016, allocations: 255.7 kB / 0.7297 GB, free: 81.89 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006126/1.016, allocations: 269.4 kB / 0.73 GB, free: 81.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002581/1.017, allocations: 91.95 kB / 0.7301 GB, free: 81.53 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005042/1.022, allocations: 2.419 MB / 0.7324 GB, free: 79.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.022, allocations: 0 / 0.7324 GB, free: 79.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007446/1.029, allocations: 1.671 MB / 0.7341 GB, free: 77.57 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.003678/1.033, allocations: 0.9303 MB / 0.735 GB, free: 77.03 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01572/1.049, allocations: 6.069 MB / 0.7409 GB, free: 70.91 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/1.049, allocations: 0 / 0.7409 GB, free: 70.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004982/1.054, allocations: 2.022 MB / 0.7429 GB, free: 68.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005717/1.059, allocations: 0.6556 MB / 0.7435 GB, free: 68.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02072/1.08, allocations: 8.222 MB / 0.7515 GB, free: 59.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003671/1.084, allocations: 1.713 MB / 0.7532 GB, free: 58.21 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005118/1.089, allocations: 0.5593 MB / 0.7538 GB, free: 57.65 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/1.09, allocations: 272.4 kB / 0.754 GB, free: 57.39 MB / 0.5919 GB Notification: Performance of SimCode: time 1.933e-06/1.09, allocations: 0 / 0.754 GB, free: 57.39 MB / 0.5919 GB Notification: Performance of Templates: time 0.07665/1.167, allocations: 47.35 MB / 0.8003 GB, free: 10.26 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.366000656038523] Failed to read output from testmodel.py, exit status != 0: 1.179850386455655 1.190536712 0.860123695 Calling exit ...