Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.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.001581/0.001581, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001717/0.001717, allocations: 210.6 kB / 23.01 MB, free: 4.621 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.496/1.496, allocations: 207.7 MB / 233.9 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.6359/0.6359, allocations: 103.8 MB / 389.9 MB, free: 21.39 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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.WTG4BCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") [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.002324/0.002324, allocations: 74.67 kB / 0.5521 GB, free: 58.36 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1156, allocations: 75.99 MB / 0.6263 GB, free: 8.836 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.0107/0.1263, allocations: 10.65 MB / 0.6367 GB, free: 14.12 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.1381, allocations: 5.994 MB / 0.6426 GB, free: 8.113 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002608/0.1407, allocations: 91.31 kB / 0.6427 GB, free: 8.023 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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.002243/0.1429, allocations: 0.6391 MB / 0.6433 GB, free: 7.379 MB / 478.1 MB [/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.003361/0.1463, allocations: 0.8767 MB / 0.6442 GB, free: 6.496 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006131/0.1524, allocations: 2.778 MB / 0.6469 GB, free: 3.734 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006623/0.159, allocations: 4.36 MB / 0.6511 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002754/0.1618, allocations: 1.035 MB / 0.6521 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002858/0.1647, allocations: 1.603 MB / 0.6537 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002548/0.1672, allocations: 1.457 MB / 0.6551 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001393/0.1686, allocations: 472 kB / 0.6556 GB, free: 10.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.1705, allocations: 0.6756 MB / 0.6562 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001704/0.1722, allocations: 0.9422 MB / 0.6572 GB, free: 9.102 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003134/0.1754, allocations: 1.395 MB / 0.6585 GB, free: 7.699 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008695/0.1841, allocations: 5.713 MB / 0.6641 GB, free: 1.965 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1841, allocations: 0 / 0.6641 GB, free: 1.965 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1841, allocations: 0 / 0.6641 GB, free: 1.965 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002082/0.1843, allocations: 0 / 0.6641 GB, free: 1.965 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.01412/0.1984, allocations: 4.382 MB / 0.6684 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1985, allocations: 12.03 kB / 0.6684 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005162/0.2036, allocations: 0.8846 MB / 0.6693 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006012/0.2096, allocations: 2.286 MB / 0.6715 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009216/0.2105, allocations: 0.8506 MB / 0.6723 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008432/0.2114, allocations: 220 kB / 0.6725 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009395/0.2208, allocations: 3.418 MB / 0.6759 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.359e-05/0.2209, allocations: 7.875 kB / 0.6759 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005581/0.2214, allocations: 95.98 kB / 0.676 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.544e-05/0.2215, allocations: 56 kB / 0.676 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008097/0.2296, allocations: 2.446 MB / 0.6784 GB, free: 2.691 MB / 0.4981 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.02087/0.2504, allocations: 8.694 MB / 0.6869 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007297/0.2577, allocations: 2.376 MB / 0.6892 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002986/0.2607, allocations: 1.074 MB / 0.6903 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.2609, allocations: 29.98 kB / 0.6903 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004083/0.265, allocations: 1.654 MB / 0.6919 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=185): time 5.009e-06/0.265, allocations: 4 kB / 0.6919 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of matching and sorting (n=185): time 0.01288/0.2779, allocations: 3.975 MB / 0.6958 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003195/0.2782, allocations: 496.6 kB / 0.6963 GB, free: 20 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005426/0.2836, allocations: 2.473 MB / 0.6987 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006523/0.2843, allocations: 69.7 kB / 0.6988 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001861/0.2861, allocations: 1.384 MB / 0.7001 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001289/0.2874, allocations: 0.6198 MB / 0.7007 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00131/0.2887, allocations: 367.4 kB / 0.7011 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2889, allocations: 305.1 kB / 0.7013 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00311/0.292, allocations: 1.064 MB / 0.7024 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00369/0.2957, allocations: 1.929 MB / 0.7043 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01932/0.315, allocations: 5.566 MB / 0.7097 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-05/0.315, allocations: 0 / 0.7097 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.009597/0.3246, allocations: 3.245 MB / 0.7129 GB, free: 14.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.141e-05/0.3247, allocations: 41.69 kB / 0.7129 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.3247, allocations: 8 kB / 0.7129 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005506/0.3253, allocations: 316.8 kB / 0.7132 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/0.328, allocations: 487.3 kB / 0.7137 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.917e-05/0.3281, allocations: 23.92 kB / 0.7137 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/0.3307, allocations: 298.7 kB / 0.714 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003279/0.331, allocations: 75.98 kB / 0.7141 GB, free: 13.26 MB / 0.545 GB Warning: Assuming fixed start value for the following 26 variables: WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.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 WTG4B.line.running.value:DISCRETE(flow=false start = WTG4B.line.Running0 fixed = true ) type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.injector.running.value:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.a_end * WTG4B.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004213/0.3352, allocations: 1.633 MB / 0.7157 GB, free: 11.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003332/0.3386, allocations: 1.875 MB / 0.7175 GB, free: 9.477 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01811/0.3567, allocations: 5.418 MB / 0.7228 GB, free: 3.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.797e-05/0.3567, allocations: 7.938 kB / 0.7228 GB, free: 3.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.008704/0.3654, allocations: 3.135 MB / 0.7259 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.422e-05/0.3654, allocations: 41.62 kB / 0.7259 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.3655, allocations: 12 kB / 0.7259 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005553/0.366, allocations: 321.2 kB / 0.7262 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002509/0.3685, allocations: 471.3 kB / 0.7267 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.424e-05/0.3686, allocations: 23.94 kB / 0.7267 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/0.3711, allocations: 286.9 kB / 0.727 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/0.3713, allocations: 75.98 kB / 0.727 GB, free: 15.53 MB / 0.5606 GB Warning: Assuming fixed start value for the following 26 variables: WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.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 WTG4B.line.running.value:DISCRETE(flow=false start = WTG4B.line.Running0 fixed = true ) type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.injector.running.value:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.a_end * WTG4B.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.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: 42 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.WTG4B.injector.state,WTG4B.injector.state,$PRE.WTG4B.line.state,WTG4B.line.state,$PRE.line.state,line.state,WTG4B.injector.switchOffSignal3.value,WTG4B.injector.switchOffSignal2.value,WTG4B.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4B.wecc_regc.rateLimFirstOrderFreeze.local_freeze,$PRE.line.running.value,$PRE.WTG4B.line.running.value,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4B.injector.running.value,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_repc.freeze,WTG4B.injector.running.value,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.y,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.line.running.value,line.running.value,$whenCondition17,$whenCondition16,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition15,WTG4B.wecc_repc.limPIDFreeze.I.resetLocal,WTG4B.wecc_repc.limPID.I.local_reset,WTG4B.pll.limIntegrator.local_reset,WTG4B.pll.integrator.local_reset,WTG4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4B.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 (244): * Single equations (assignments): 242 * 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.001381/0.3727, allocations: 487.5 kB / 0.7275 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000966/0.3737, allocations: 314 kB / 0.7278 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008296/0.382, allocations: 3.042 MB / 0.7308 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/0.382, allocations: 23.94 kB / 0.7308 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.382, allocations: 0 / 0.7308 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.629e-05/0.382, allocations: 11.95 kB / 0.7308 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/0.3978, allocations: 5.762 MB / 0.7364 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.3978, allocations: 3.984 kB / 0.7364 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/0.4004, allocations: 407.5 kB / 0.7368 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005177/0.4009, allocations: 312.6 kB / 0.7371 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002519/0.4012, allocations: 51.97 kB / 0.7372 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-05/0.4012, allocations: 4 kB / 0.7372 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4012, allocations: 3.938 kB / 0.7372 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/0.4127, allocations: 4.617 MB / 0.7417 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002062/0.4148, allocations: 0.5954 MB / 0.7423 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007824/0.4156, allocations: 64 kB / 0.7423 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002114/0.4177, allocations: 191.7 kB / 0.7425 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005357/0.4182, allocations: 205.5 kB / 0.7427 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002036/0.4184, allocations: 63.97 kB / 0.7428 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003512/0.422, allocations: 1.636 MB / 0.7444 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.422, allocations: 0 / 0.7444 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004096/0.426, allocations: 1.079 MB / 0.7454 GB, free: 12.54 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 19 (WTG4B.wecc_reec.firstOrder.y,WTG4B.wecc_reec.firstOrder1.y,WTG4B.wecc_reec.limPIDFreeze.I.y,WTG4B.wecc_reec.varLimPIDFreeze.I.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4B.wecc_reec.slewRateLimiter.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze.y,WTG4B.wecc_regc.firstOrder.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4B.pll.integrator.y,WTG4B.pll.limIntegrator.y,WTG4B.wecc_repc.firstOrder.y,WTG4B.wecc_repc.limPID.I.y,WTG4B.wecc_repc.firstOrder1.y,WTG4B.wecc_repc.firstOrder2.y,WTG4B.wecc_repc.firstOrder3.y,WTG4B.wecc_repc.limPIDFreeze.I.y,WTG4B.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 32 ($whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition16,$whenCondition17,line.running.value,line.state,WTG4B.line.running.value,WTG4B.line.state,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_regc.offDelay.y,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.tNext,WTG4B.injector.running.value,WTG4B.injector.state,WTG4B.wecc_repc.freeze) * Number of discrete states: 12 (WTG4B.injector.running.value,WTG4B.line.running.value,line.running.value,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,$whenCondition17,$whenCondition16,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 9 * 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.002061/0.4281, allocations: 0.4972 MB / 0.7459 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01099/0.4391, allocations: 4.056 MB / 0.7499 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/0.4391, allocations: 4 kB / 0.7499 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003697/0.4428, allocations: 1.365 MB / 0.7512 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/0.446, allocations: 495 kB / 0.7517 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/0.4605, allocations: 5.644 MB / 0.7572 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002305/0.4628, allocations: 1.202 MB / 0.7584 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002893/0.4657, allocations: 352.6 kB / 0.7587 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009739/0.4666, allocations: 179.4 kB / 0.7589 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.142e-06/0.4667, allocations: 0 / 0.7589 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.3792/0.8458, allocations: 39.17 MB / 0.7971 GB, free: 147.3 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.sim & ./Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.441040601581335] Failed to read output from testmodel.py, exit status != 0: 1.0819921474903822 0.866605753 0.68000147 Calling exit ...