Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.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.001383/0.001383, allocations: 75.77 kB / 20.53 MB, free: 1.105 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.001635/0.001635, allocations: 160.9 kB / 23.78 MB, free: 4.184 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.299/1.299, allocations: 158.6 MB / 185.5 MB, free: 6.129 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.588/0.588, allocations: 85.32 MB / 323.1 MB, free: 6.684 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) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: translateModel(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1") translateModel(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1") [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.002538/0.002538, allocations: 76.73 kB / 0.4924 GB, free: 23.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1287, allocations: 78.79 MB / 0.5693 GB, free: 10.58 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1): time 0.01732/0.146, allocations: 11.91 MB / 0.581 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0134/0.1594, allocations: 6.368 MB / 0.5872 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002502/0.1619, allocations: 91.38 kB / 0.5873 GB, free: 8.133 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: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). [/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). Notification: Performance of NFTyping.typeComponents: time 0.002676/0.1646, allocations: 0.775 MB / 0.588 GB, free: 7.352 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.003855/0.1685, allocations: 1.009 MB / 0.589 GB, free: 6.336 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Wind/WECC/WT4CurrentSource_INIT.mo:54:3-54:99:writable] Warning: In relation Modelica.ComplexMath.'abs'(wt4CurrentSource_INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.007426/0.1759, allocations: 3.075 MB / 0.592 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007104/0.183, allocations: 4.837 MB / 0.5967 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002732/0.1857, allocations: 1.144 MB / 0.5979 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/0.1887, allocations: 1.786 MB / 0.5996 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002667/0.1914, allocations: 1.69 MB / 0.6012 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001207/0.1926, allocations: 0.5195 MB / 0.6018 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.1944, allocations: 0.7967 MB / 0.6025 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001367/0.1957, allocations: 1.078 MB / 0.6036 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002704/0.1984, allocations: 1.574 MB / 0.6051 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009364/0.2078, allocations: 6.418 MB / 0.6114 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2078, allocations: 0 / 0.6114 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2078, allocations: 0 / 0.6114 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001796/0.208, allocations: 0 / 0.6114 GB, free: 15.3 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: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.01566/0.2236, allocations: 4.983 MB / 0.6163 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2237, allocations: 8.031 kB / 0.6163 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00564/0.2293, allocations: 0.9546 MB / 0.6172 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005779/0.2351, allocations: 2.488 MB / 0.6196 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008849/0.236, allocations: 0.9325 MB / 0.6205 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006857/0.2367, allocations: 260 kB / 0.6208 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007331/0.244, allocations: 3.67 MB / 0.6244 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.036e-05/0.244, allocations: 0 / 0.6244 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002714/0.2443, allocations: 112 kB / 0.6245 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.9e-05/0.2444, allocations: 64 kB / 0.6245 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006697/0.2511, allocations: 2.766 MB / 0.6272 GB, free: 14.46 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.01743/0.2685, allocations: 9.932 MB / 0.6369 GB, free: 4.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007181/0.2757, allocations: 2.646 MB / 0.6395 GB, free: 1.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002837/0.2785, allocations: 1.183 MB / 0.6407 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.2787, allocations: 37.98 kB / 0.6407 GB, free: 472 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003831/0.2826, allocations: 1.742 MB / 0.6424 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=215): time 5.25e-06/0.2826, allocations: 0 / 0.6424 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=215): time 0.01238/0.295, allocations: 4.282 MB / 0.6466 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003059/0.2953, allocations: 474.9 kB / 0.647 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005663/0.3009, allocations: 2.824 MB / 0.6498 GB, free: 7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000392/0.3013, allocations: 81.69 kB / 0.6499 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001766/0.3031, allocations: 1.486 MB / 0.6513 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001109/0.3042, allocations: 0.7672 MB / 0.6521 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001523/0.3057, allocations: 0.6047 MB / 0.6527 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3059, allocations: 309.1 kB / 0.653 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003613/0.3095, allocations: 1.466 MB / 0.6544 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004392/0.3139, allocations: 2.393 MB / 0.6567 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02443/0.3383, allocations: 7.283 MB / 0.6638 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/0.3383, allocations: 4 kB / 0.6639 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01145/0.3498, allocations: 4.32 MB / 0.6681 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.587e-05/0.3498, allocations: 61.61 kB / 0.6681 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.3499, allocations: 11.94 kB / 0.6681 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006122/0.3505, allocations: 332.7 kB / 0.6685 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0036/0.3541, allocations: 0.706 MB / 0.6691 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-05/0.3541, allocations: 31.92 kB / 0.6692 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002813/0.357, allocations: 386.1 kB / 0.6695 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000387/0.3573, allocations: 116 kB / 0.6697 GB, free: 2.074 MB / 0.5762 GB Warning: Assuming fixed start value for the following 29 variables: WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean WTG4A.line.running.value:DISCRETE(flow=false start = WTG4A.line.Running0 fixed = true ) type: Boolean WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4A.injector.running.value:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005007/0.3623, allocations: 2.105 MB / 0.6717 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004274/0.3666, allocations: 2.335 MB / 0.674 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02352/0.3901, allocations: 7.135 MB / 0.681 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.745e-05/0.3902, allocations: 4 kB / 0.681 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of matching and sorting (n=421) (initialization_lambda0): time 0.0107/0.4009, allocations: 4.222 MB / 0.6851 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.604e-05/0.4009, allocations: 57.67 kB / 0.6851 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.401, allocations: 12 kB / 0.6852 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005141/0.4015, allocations: 325.1 kB / 0.6855 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003429/0.4049, allocations: 0.6865 MB / 0.6861 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.659e-05/0.405, allocations: 31.92 kB / 0.6862 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/0.4078, allocations: 362.7 kB / 0.6865 GB, free: 280 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003317/0.4081, allocations: 119.9 kB / 0.6866 GB, free: 160 kB / 0.5919 GB Warning: Assuming fixed start value for the following 29 variables: WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean WTG4A.line.running.value:DISCRETE(flow=false start = WTG4A.line.Running0 fixed = true ) type: Boolean WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4A.injector.running.value:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 67 ($PRE.WTG4A.injector.state,WTG4A.injector.state,$PRE.WTG4A.line.state,WTG4A.line.state,$PRE.line.state,line.state,WTG4A.injector.switchOffSignal3.value,WTG4A.injector.switchOffSignal2.value,WTG4A.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.WTG4A.line.running.value,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4A.wecc_regc.offDelay.delaySignal,$PRE.WTG4A.wecc_regc.offDelay.tNext,$PRE.WTG4A.injector.running.value,WTG4A.wecc_regc.Qinj0PuNeg.k,WTG4A.wecc_regc.QInj0PuPos.k,$PRE.WTG4A.wecc_regc.offDelay.u,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_repc.freeze,WTG4A.injector.running.value,WTG4A.wecc_regc.and2.y,WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.line.running.value,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition17,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.wecc_wtgt.dOmegaGenerator.local_reset,WTG4A.wecc_wtgt.dOmegaTurbine.local_reset,WTG4A.wecc_wtgt.dPhi.local_reset,WTG4A.pll.limIntegrator.local_reset,WTG4A.pll.integrator.local_reset,WTG4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4A.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 396 * 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 {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.2736/0.6817, allocations: 0.4892 MB / 0.6871 GB, free: 112.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007834/0.6825, allocations: 330.4 kB / 0.6874 GB, free: 112.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008298/0.6908, allocations: 3.308 MB / 0.6906 GB, free: 112 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/0.6908, allocations: 22.16 kB / 0.6907 GB, free: 112 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.6908, allocations: 6.438 kB / 0.6907 GB, free: 112 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/0.6908, allocations: 10.08 kB / 0.6907 GB, free: 112 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/0.7024, allocations: 6.46 MB / 0.697 GB, free: 109.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.7024, allocations: 2.625 kB / 0.697 GB, free: 109.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00279/0.7052, allocations: 475.5 kB / 0.6974 GB, free: 109.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003815/0.7056, allocations: 307 kB / 0.6977 GB, free: 109.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.7058, allocations: 64.69 kB / 0.6978 GB, free: 109.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.7058, allocations: 15.75 kB / 0.6978 GB, free: 109.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.7058, allocations: 6.125 kB / 0.6978 GB, free: 109.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/0.7165, allocations: 5.197 MB / 0.7029 GB, free: 107.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/0.7181, allocations: 0.6687 MB / 0.7036 GB, free: 106.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004379/0.7185, allocations: 66.03 kB / 0.7036 GB, free: 106.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/0.7205, allocations: 213.3 kB / 0.7038 GB, free: 106.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005563/0.7211, allocations: 238.9 kB / 0.704 GB, free: 106.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002056/0.7213, allocations: 74.98 kB / 0.7041 GB, free: 106.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002895/0.7242, allocations: 1.828 MB / 0.7059 GB, free: 106 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7242, allocations: 1.062 kB / 0.7059 GB, free: 106 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003339/0.7275, allocations: 1.378 MB / 0.7073 GB, free: 105.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 22 (WTG4A.wecc_reec.firstOrder.y,WTG4A.wecc_reec.firstOrder1.y,WTG4A.wecc_reec.limPIDFreeze.I.y,WTG4A.wecc_reec.varLimPIDFreeze.I.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4A.wecc_reec.slewRateLimiter.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4A.wecc_regc.firstOrder.y,WTG4A.pll.integrator.y,WTG4A.pll.limIntegrator.y,WTG4A.wecc_wtgt.dPhi.y,WTG4A.wecc_wtgt.dOmegaTurbine.y,WTG4A.wecc_wtgt.dOmegaGenerator.y,WTG4A.wecc_repc.firstOrder.y,WTG4A.wecc_repc.limPID.I.y,WTG4A.wecc_repc.firstOrder1.y,WTG4A.wecc_repc.firstOrder2.y,WTG4A.wecc_repc.firstOrder3.y,WTG4A.wecc_repc.limPIDFreeze.I.y,WTG4A.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 35 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,line.state,WTG4A.line.running.value,WTG4A.line.state,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and2.y,WTG4A.injector.running.value,WTG4A.injector.state,WTG4A.wecc_repc.freeze) * Number of discrete states: 9 (WTG4A.injector.running.value,WTG4A.line.running.value,line.running.value,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 206 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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 {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001759/0.7293, allocations: 0.5327 MB / 0.7078 GB, free: 105.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.011/0.7402, allocations: 5.328 MB / 0.713 GB, free: 103.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.7403, allocations: 8.156 kB / 0.713 GB, free: 103.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003654/0.7439, allocations: 1.685 MB / 0.7146 GB, free: 102.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.7465, allocations: 0.4893 MB / 0.7151 GB, free: 102.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.7578, allocations: 6.517 MB / 0.7215 GB, free: 98.37 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.7589, allocations: 1.359 MB / 0.7228 GB, free: 97.39 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002061/0.761, allocations: 429.2 kB / 0.7232 GB, free: 97.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006951/0.7617, allocations: 203 kB / 0.7234 GB, free: 96.91 MB / 0.5919 GB Notification: Performance of SimCode: time 9.31e-07/0.7617, allocations: 4 kB / 0.7234 GB, free: 96.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.05737/0.819, allocations: 41.03 MB / 0.7635 GB, free: 56.14 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1 -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.086681128945202] Failed to read output from testmodel.py, exit status != 0: 0.8277978450059891 0.836967374 0.626696205 Calling exit ...