Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.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.001398/0.001398, allocations: 100.3 kB / 20.5 MB, free: 1.367 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.001434/0.001434, allocations: 224.9 kB / 23.8 MB, free: 4.539 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.443/1.443, allocations: 207.7 MB / 234.6 MB, free: 9.812 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.5967/0.5967, allocations: 103.8 MB / 390.7 MB, free: 21.92 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: "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 76.08 kB / 0.5524 GB, free: 58.39 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1398, allocations: 76 MB / 0.6266 GB, free: 9.422 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01164/0.1514, allocations: 11.24 MB / 0.6376 GB, free: 14.12 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.1651, allocations: 6.205 MB / 0.6437 GB, free: 7.898 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003508/0.1686, allocations: 95.31 kB / 0.6438 GB, free: 7.805 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.002845/0.1715, allocations: 0.6852 MB / 0.6444 GB, free: 7.117 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.004251/0.1757, allocations: 0.9271 MB / 0.6453 GB, free: 6.184 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007117/0.1828, allocations: 2.869 MB / 0.6481 GB, free: 3.328 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008057/0.1909, allocations: 4.634 MB / 0.6527 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002878/0.1938, allocations: 1.19 MB / 0.6538 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/0.1969, allocations: 1.696 MB / 0.6555 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002868/0.1997, allocations: 1.749 MB / 0.6572 GB, free: 9.973 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001601/0.2013, allocations: 0.4922 MB / 0.6577 GB, free: 9.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.2032, allocations: 0.7069 MB / 0.6584 GB, free: 8.773 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.2045, allocations: 1.008 MB / 0.6593 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002453/0.207, allocations: 1.496 MB / 0.6608 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008912/0.2159, allocations: 6.093 MB / 0.6668 GB, free: 144 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.2159, allocations: 0 / 0.6668 GB, free: 144 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.2159, allocations: 0 / 0.6668 GB, free: 144 kB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001977/0.2161, allocations: 0 / 0.6668 GB, free: 144 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 604 * Number of variables: 604 Notification: Performance of Generate backend data structure: time 0.01502/0.2311, allocations: 4.634 MB / 0.6713 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.2312, allocations: 8.031 kB / 0.6713 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.578e-05/0.2313, allocations: 60.86 kB / 0.6713 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00088/0.2322, allocations: 345.5 kB / 0.6717 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005336/0.2375, allocations: 0.9156 MB / 0.6726 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006074/0.2436, allocations: 2.436 MB / 0.675 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009053/0.2445, allocations: 0.8586 MB / 0.6758 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007466/0.2452, allocations: 251.9 kB / 0.676 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007751/0.253, allocations: 3.625 MB / 0.6796 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.826e-05/0.253, allocations: 3.938 kB / 0.6796 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003007/0.2533, allocations: 104 kB / 0.6797 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.747e-05/0.2534, allocations: 60 kB / 0.6797 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006477/0.2599, allocations: 2.6 MB / 0.6823 GB, free: 15.6 MB / 0.5137 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.01972/0.2796, allocations: 9.986 MB / 0.692 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00655/0.2861, allocations: 2.463 MB / 0.6944 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/0.2889, allocations: 1.121 MB / 0.6955 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.289, allocations: 29.98 kB / 0.6955 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003591/0.2926, allocations: 1.71 MB / 0.6972 GB, free: 0 / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 4.469e-06/0.2926, allocations: 0 / 0.6972 GB, free: 0 / 0.5137 GB Notification: Performance of matching and sorting (n=197): time 0.01161/0.3042, allocations: 4.135 MB / 0.7013 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003271/0.3045, allocations: 0.4928 MB / 0.7017 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005143/0.3097, allocations: 2.885 MB / 0.7046 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006526/0.3103, allocations: 69.7 kB / 0.7046 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001835/0.3122, allocations: 1.48 MB / 0.7061 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001299/0.3135, allocations: 0.6817 MB / 0.7067 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008783/0.3143, allocations: 383.8 kB / 0.7071 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3145, allocations: 305.1 kB / 0.7074 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002617/0.3171, allocations: 1.116 MB / 0.7085 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003441/0.3205, allocations: 2.03 MB / 0.7105 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01952/0.3401, allocations: 5.822 MB / 0.7161 GB, free: 11.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/0.3401, allocations: 8 kB / 0.7162 GB, free: 11.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.009934/0.35, allocations: 3.428 MB / 0.7195 GB, free: 8.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.848e-05/0.3501, allocations: 41.69 kB / 0.7195 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.3501, allocations: 8 kB / 0.7196 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005417/0.3506, allocations: 325.2 kB / 0.7199 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/0.3535, allocations: 0.5071 MB / 0.7204 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.098e-05/0.3535, allocations: 27.88 kB / 0.7204 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/0.3561, allocations: 354.2 kB / 0.7207 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/0.3563, allocations: 87.97 kB / 0.7208 GB, free: 7.156 MB / 0.545 GB Warning: Assuming fixed start value for the following 26 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.rateLimFirstOrderFreeze.Y0 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.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze.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.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.a_end * WTG4A.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004051/0.3604, allocations: 1.706 MB / 0.7225 GB, free: 5.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003204/0.3636, allocations: 1.963 MB / 0.7244 GB, free: 3.184 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01938/0.383, allocations: 5.682 MB / 0.7299 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.281e-05/0.383, allocations: 4 kB / 0.7299 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=275) (initialization_lambda0): time 0.009527/0.3925, allocations: 3.327 MB / 0.7332 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.411e-05/0.3926, allocations: 41.69 kB / 0.7332 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.3926, allocations: 12.12 kB / 0.7332 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005233/0.3931, allocations: 324.7 kB / 0.7335 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002908/0.396, allocations: 499.2 kB / 0.734 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.782e-05/0.3961, allocations: 27.92 kB / 0.7341 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003166/0.3992, allocations: 306.7 kB / 0.7343 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003559/0.3996, allocations: 80 kB / 0.7344 GB, free: 8.695 MB / 0.5606 GB Warning: Assuming fixed start value for the following 26 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.rateLimFirstOrderFreeze.Y0 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.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze.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.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.a_end * WTG4A.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] 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: 48 * Number of states: 0 () * Number of discrete variables: 59 ($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.rateLimFirstOrderFreeze.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.injector.running.value,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_repc.freeze,WTG4A.injector.running.value,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.y,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,$whenCondition17,$whenCondition16,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition15,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.driveTrainPmConstrant.dOmegaGenerator.local_reset,WTG4A.driveTrainPmConstrant.dOmegaTurbine.local_reset,WTG4A.driveTrainPmConstrant.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 (265): * Single equations (assignments): 263 * 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.00115/0.4007, allocations: 494.9 kB / 0.7349 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/0.4017, allocations: 349.8 kB / 0.7352 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00852/0.4103, allocations: 3.199 MB / 0.7384 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/0.4103, allocations: 23.94 kB / 0.7384 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.4103, allocations: 0 / 0.7384 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.922e-05/0.4103, allocations: 7.969 kB / 0.7384 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01491/0.4252, allocations: 6.272 MB / 0.7445 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.4253, allocations: 0 / 0.7445 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002938/0.4282, allocations: 439.4 kB / 0.7449 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004803/0.4287, allocations: 308.7 kB / 0.7452 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002603/0.4289, allocations: 59.91 kB / 0.7453 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.209e-05/0.4289, allocations: 8 kB / 0.7453 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4289, allocations: 0 / 0.7453 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/0.4405, allocations: 4.819 MB / 0.75 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001993/0.4425, allocations: 0.6612 MB / 0.7506 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007158/0.4432, allocations: 68.06 kB / 0.7507 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/0.4451, allocations: 191.8 kB / 0.7509 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005223/0.4456, allocations: 201.6 kB / 0.7511 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/0.4458, allocations: 67.97 kB / 0.7511 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003536/0.4493, allocations: 1.945 MB / 0.753 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4493, allocations: 0 / 0.753 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003785/0.4531, allocations: 1.095 MB / 0.7541 GB, free: 4.387 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.firstOrder.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4A.pll.integrator.y,WTG4A.pll.limIntegrator.y,WTG4A.driveTrainPmConstrant.dPhi.y,WTG4A.driveTrainPmConstrant.dOmegaTurbine.y,WTG4A.driveTrainPmConstrant.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: 32 ($whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition16,$whenCondition17,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.y,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.tNext,WTG4A.injector.running.value,WTG4A.injector.state,WTG4A.wecc_repc.freeze) * Number of discrete states: 12 (WTG4A.injector.running.value,WTG4A.line.running.value,line.running.value,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,$whenCondition17,$whenCondition16,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 (196): * Single equations (assignments): 185 * 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.01331/0.4664, allocations: 5.789 MB / 0.7598 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01025/0.4767, allocations: 4.252 MB / 0.7639 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.4767, allocations: 7.938 kB / 0.7639 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003355/0.48, allocations: 1.423 MB / 0.7653 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/0.4833, allocations: 0.517 MB / 0.7658 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3583/0.8417, allocations: 26.74 MB / 0.7919 GB, free: 148.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002401/0.8441, allocations: 1.295 MB / 0.7932 GB, free: 148.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002485/0.8466, allocations: 395.4 kB / 0.7936 GB, free: 148.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002116/0.8487, allocations: 1.343 MB / 0.7949 GB, free: 148.4 MB / 0.6075 GB Notification: Performance of SimCode: time 1.092e-06/0.8487, allocations: 4.531 kB / 0.7949 GB, free: 148.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1163/0.965, allocations: 70.11 MB / 0.8634 GB, free: 89.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.7/19.66, allocations: 4.062 kB / 0.8634 GB, free: 89.29 MB / 0.6075 GB " [Timeout remaining time 640] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Dynawo_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource.fmu > Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.29622889100574] Failed to read output from testmodel.py, exit status != 0: 20.14942902198527 19.933893292 19.715487143 Calling exit ...