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.001351/0.001351, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001669/0.001669, allocations: 211.1 kB / 23.01 MB, free: 4.992 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.512/1.512, allocations: 207.7 MB / 233.9 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.6851/0.6851, allocations: 115.9 MB / 402 MB, free: 15.96 MB / 318.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: "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource1",fmuType="me",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.003427/0.003427, allocations: 70.56 kB / 0.5694 GB, free: 41.62 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1932, allocations: 79.04 MB / 0.6466 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1): time 0.01781/0.211, allocations: 11.9 MB / 0.6582 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01381/0.2248, allocations: 6.368 MB / 0.6644 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004017/0.2288, allocations: 91.31 kB / 0.6645 GB, free: 8.914 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.003124/0.2319, allocations: 0.7712 MB / 0.6652 GB, free: 8.137 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.005773/0.2377, allocations: 1.017 MB / 0.6662 GB, free: 7.113 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.00925/0.247, allocations: 3.064 MB / 0.6692 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009142/0.2561, allocations: 4.841 MB / 0.674 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00345/0.2596, allocations: 1.14 MB / 0.6751 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003188/0.2627, allocations: 1.79 MB / 0.6768 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002946/0.2657, allocations: 1.69 MB / 0.6785 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001404/0.2671, allocations: 0.5195 MB / 0.679 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.2691, allocations: 0.8045 MB / 0.6798 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001485/0.2706, allocations: 1.063 MB / 0.6808 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00288/0.2734, allocations: 1.578 MB / 0.6823 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008437/0.2819, allocations: 6.422 MB / 0.6886 GB, free: 92 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.2819, allocations: 0 / 0.6886 GB, free: 92 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2819, allocations: 0 / 0.6886 GB, free: 92 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001946/0.2821, allocations: 0 / 0.6886 GB, free: 92 kB / 0.5137 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.01469/0.2968, allocations: 4.982 MB / 0.6935 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.2968, allocations: 12.92 kB / 0.6935 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005266/0.2974, allocations: 362.4 kB / 0.6938 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004676/0.302, allocations: 0.9468 MB / 0.6948 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005649/0.3077, allocations: 2.495 MB / 0.6972 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009196/0.3086, allocations: 0.9286 MB / 0.6981 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009851/0.3096, allocations: 263.9 kB / 0.6984 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008166/0.3177, allocations: 3.666 MB / 0.7019 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.276e-05/0.3178, allocations: 7.938 kB / 0.7019 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002789/0.3181, allocations: 112 kB / 0.702 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.599e-05/0.3181, allocations: 60 kB / 0.7021 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007013/0.3251, allocations: 2.758 MB / 0.7048 GB, free: 14.89 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.01992/0.3451, allocations: 10.32 MB / 0.7149 GB, free: 4.363 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007121/0.3522, allocations: 2.65 MB / 0.7175 GB, free: 1.703 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002972/0.3552, allocations: 1.202 MB / 0.7186 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002119/0.3554, allocations: 33.98 kB / 0.7187 GB, free: 484 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003629/0.359, allocations: 1.746 MB / 0.7204 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=215): time 4.308e-06/0.359, allocations: 0 / 0.7204 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=215): time 0.01161/0.3706, allocations: 4.314 MB / 0.7246 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002882/0.3709, allocations: 474.9 kB / 0.725 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005225/0.3761, allocations: 3.145 MB / 0.7281 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005506/0.3767, allocations: 85.69 kB / 0.7282 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001614/0.3783, allocations: 1.468 MB / 0.7296 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001218/0.3795, allocations: 0.7633 MB / 0.7304 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.3807, allocations: 0.6325 MB / 0.731 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3808, allocations: 305.1 kB / 0.7313 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003466/0.3843, allocations: 1.506 MB / 0.7327 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004416/0.3887, allocations: 2.434 MB / 0.7351 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02458/0.4133, allocations: 7.396 MB / 0.7423 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/0.4133, allocations: 4 kB / 0.7424 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=440) (initialization): time 0.01131/0.4246, allocations: 4.44 MB / 0.7467 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.667e-05/0.4247, allocations: 61.67 kB / 0.7467 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/0.4247, allocations: 12 kB / 0.7468 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005586/0.4253, allocations: 317 kB / 0.7471 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003467/0.4288, allocations: 0.7216 MB / 0.7478 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.88e-05/0.4288, allocations: 35.92 kB / 0.7478 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002914/0.4317, allocations: 437.7 kB / 0.7482 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002968/0.432, allocations: 120 kB / 0.7483 GB, free: 1.371 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.437, allocations: 2.13 MB / 0.7504 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004003/0.441, allocations: 2.383 MB / 0.7527 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0227/0.4637, allocations: 7.252 MB / 0.7598 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.565e-05/0.4637, allocations: 4 kB / 0.7598 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of matching and sorting (n=440) (initialization_lambda0): time 0.01047/0.4742, allocations: 4.338 MB / 0.7641 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.266e-05/0.4743, allocations: 57.67 kB / 0.7641 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/0.4743, allocations: 12.88 kB / 0.7641 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005078/0.4748, allocations: 316.7 kB / 0.7644 GB, free: 360 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003534/0.4784, allocations: 0.7215 MB / 0.7651 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.126e-05/0.4784, allocations: 35.81 kB / 0.7652 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003038/0.4815, allocations: 370.6 kB / 0.7655 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003027/0.4818, allocations: 120 kB / 0.7656 GB, free: 15.11 MB / 0.6075 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: 71 ($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.QInj0PuPos.k,WTG4A.wecc_regc.and1.u[1],WTG4A.wecc_regc.QInj0PuPos.y,WTG4A.wecc_regc.Qinj0PuNeg.k,WTG4A.wecc_regc.and2.u[2],WTG4A.wecc_regc.Qinj0PuNeg.y,$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 (417): * Single equations (assignments): 415 * 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.001052/0.4828, allocations: 0.4995 MB / 0.7661 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009261/0.4837, allocations: 361.7 kB / 0.7665 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008804/0.4925, allocations: 3.322 MB / 0.7697 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/0.4926, allocations: 20 kB / 0.7697 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.4926, allocations: 4 kB / 0.7697 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/0.4926, allocations: 11.95 kB / 0.7697 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/0.5078, allocations: 6.736 MB / 0.7763 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.5078, allocations: 4 kB / 0.7763 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002872/0.5107, allocations: 483.3 kB / 0.7768 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005132/0.5112, allocations: 304.7 kB / 0.7771 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002631/0.5115, allocations: 63.97 kB / 0.7771 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.422e-05/0.5115, allocations: 15.98 kB / 0.7772 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.5115, allocations: 11.88 kB / 0.7772 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3682/0.8797, allocations: 5.219 MB / 0.7823 GB, free: 128 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002159/0.8819, allocations: 0.711 MB / 0.783 GB, free: 128 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006381/0.8825, allocations: 66.38 kB / 0.783 GB, free: 128 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/0.8848, allocations: 211.5 kB / 0.7832 GB, free: 127.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005433/0.8853, allocations: 229.7 kB / 0.7834 GB, free: 127.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/0.8855, allocations: 79.27 kB / 0.7835 GB, free: 127.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003344/0.8888, allocations: 2.056 MB / 0.7855 GB, free: 127.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8888, allocations: 7.188 kB / 0.7855 GB, free: 127.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003897/0.8927, allocations: 1.338 MB / 0.7868 GB, free: 127 MB / 0.6075 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.01339/0.9061, allocations: 6.197 MB / 0.7929 GB, free: 124.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01359/0.9197, allocations: 5.429 MB / 0.7982 GB, free: 122.1 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/0.9197, allocations: 6.781 kB / 0.7982 GB, free: 122.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004058/0.9238, allocations: 1.689 MB / 0.7998 GB, free: 121.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003278/0.9271, allocations: 0.5034 MB / 0.8003 GB, free: 121.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05702/0.9841, allocations: 29.96 MB / 0.8296 GB, free: 98.21 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.9852, allocations: 1.364 MB / 0.8309 GB, free: 96.81 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002196/0.9874, allocations: 463.8 kB / 0.8314 GB, free: 96.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001708/0.9891, allocations: 1.429 MB / 0.8328 GB, free: 94.93 MB / 0.6075 GB Notification: Performance of SimCode: time 1.112e-06/0.9891, allocations: 0 / 0.8328 GB, free: 94.93 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/1.108, allocations: 77.5 MB / 0.9085 GB, free: 17.66 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.76, allocations: 3.625 kB / 0.9085 GB, free: 17.66 MB / 0.6075 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource1_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource1.fmu > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.69223708473146] Failed to read output from testmodel.py, exit status != 0: 16.979065550956875 16.987312292 16.702906253 Calling exit ...