Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_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.001428/0.001428, 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.001611/0.001611, allocations: 207.5 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.563/1.563, 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.6653/0.6653, allocations: 115.9 MB / 402 MB, free: 16.04 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.WTG4BCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource",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.002293/0.002293, allocations: 73.28 kB / 0.5694 GB, free: 41.43 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.154, allocations: 79.03 MB / 0.6465 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01703/0.171, allocations: 11.27 MB / 0.6576 GB, free: 64 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.1836, allocations: 6.142 MB / 0.6636 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003249/0.1869, allocations: 87.38 kB / 0.6636 GB, free: 9.82 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.002896/0.1898, allocations: 0.7325 MB / 0.6644 GB, free: 9.082 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.004725/0.1945, allocations: 0.9663 MB / 0.6653 GB, free: 8.109 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.007279/0.2018, allocations: 2.965 MB / 0.6682 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007187/0.209, allocations: 4.563 MB / 0.6726 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003408/0.2124, allocations: 1.06 MB / 0.6737 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003394/0.2158, allocations: 1.693 MB / 0.6753 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003213/0.219, allocations: 1.597 MB / 0.6769 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.2203, allocations: 500 kB / 0.6774 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.2225, allocations: 0.7654 MB / 0.6781 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00169/0.2242, allocations: 1.008 MB / 0.6791 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00278/0.227, allocations: 1.48 MB / 0.6805 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008691/0.2356, allocations: 6.036 MB / 0.6864 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2357, allocations: 0 / 0.6864 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2357, allocations: 0 / 0.6864 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001749/0.2358, allocations: 4 kB / 0.6864 GB, free: 2.336 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.0157/0.2515, allocations: 4.73 MB / 0.6911 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.2516, allocations: 12.92 kB / 0.6911 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001175/0.2528, allocations: 329 kB / 0.6914 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005701/0.2585, allocations: 0.9274 MB / 0.6923 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006854/0.2653, allocations: 2.349 MB / 0.6946 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000957/0.2663, allocations: 0.9087 MB / 0.6955 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009318/0.2672, allocations: 244 kB / 0.6957 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008583/0.2758, allocations: 3.445 MB / 0.6991 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.868e-05/0.2758, allocations: 4 kB / 0.6991 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005216/0.2764, allocations: 104 kB / 0.6992 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.871e-05/0.2764, allocations: 56 kB / 0.6992 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00713/0.2836, allocations: 2.624 MB / 0.7018 GB, free: 2.016 MB / 0.5294 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.02052/0.3041, allocations: 9.349 MB / 0.7109 GB, free: 8.477 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007115/0.3112, allocations: 2.532 MB / 0.7134 GB, free: 5.926 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002976/0.3142, allocations: 1.159 MB / 0.7145 GB, free: 4.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/0.3144, allocations: 29.98 kB / 0.7146 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003925/0.3183, allocations: 1.691 MB / 0.7162 GB, free: 3.023 MB / 0.545 GB Notification: Performance of pre-optimization done (n=203): time 5.691e-06/0.3184, allocations: 4 kB / 0.7162 GB, free: 3.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=203): time 0.01232/0.3307, allocations: 4.165 MB / 0.7203 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003216/0.331, allocations: 474.9 kB / 0.7207 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007268/0.3383, allocations: 2.991 MB / 0.7237 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006716/0.3389, allocations: 81.69 kB / 0.7237 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001931/0.3409, allocations: 1.362 MB / 0.7251 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00163/0.3425, allocations: 0.7129 MB / 0.7258 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002072/0.3446, allocations: 0.5927 MB / 0.7263 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3447, allocations: 309.1 kB / 0.7266 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003652/0.3484, allocations: 1.438 MB / 0.728 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0045/0.3529, allocations: 2.324 MB / 0.7303 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02393/0.3768, allocations: 7.084 MB / 0.7372 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.792e-05/0.3768, allocations: 4 kB / 0.7372 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01169/0.3885, allocations: 4.23 MB / 0.7414 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.73e-05/0.3886, allocations: 61.8 kB / 0.7414 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.3886, allocations: 8 kB / 0.7414 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005423/0.3892, allocations: 320.7 kB / 0.7417 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/0.3926, allocations: 0.6865 MB / 0.7424 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-05/0.3927, allocations: 27.92 kB / 0.7424 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003108/0.3958, allocations: 409.9 kB / 0.7428 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004022/0.3962, allocations: 119.9 kB / 0.7429 GB, free: 6.98 MB / 0.5762 GB Warning: Assuming fixed start value for the following 29 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.PInj0Pu 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.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.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.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) 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.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005171/0.4014, allocations: 2.061 MB / 0.7449 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004198/0.4056, allocations: 2.266 MB / 0.7472 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02311/0.4287, allocations: 6.916 MB / 0.7539 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.231e-05/0.4287, allocations: 4 kB / 0.7539 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=411) (initialization_lambda0): time 0.01231/0.441, allocations: 4.132 MB / 0.758 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.4411, allocations: 57.67 kB / 0.758 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.4411, allocations: 8 kB / 0.758 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005294/0.4417, allocations: 325 kB / 0.7583 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003406/0.4451, allocations: 0.667 MB / 0.759 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-05/0.4452, allocations: 31.92 kB / 0.759 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/0.4485, allocations: 366.6 kB / 0.7594 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004052/0.4489, allocations: 108 kB / 0.7595 GB, free: 5.543 MB / 0.5919 GB Warning: Assuming fixed start value for the following 29 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.PInj0Pu 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.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.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.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) 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.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean 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: 40 * Number of states: 0 () * Number of discrete variables: 68 ($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.rateLimFirstOrderFreeze2.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.wecc_regc.offDelay.delaySignal,$PRE.WTG4B.wecc_regc.offDelay.tNext,$PRE.WTG4B.injector.running.value,WTG4B.wecc_regc.QInj0PuPos.k,WTG4B.wecc_regc.and1.u[1],WTG4B.wecc_regc.QInj0PuPos.y,WTG4B.wecc_regc.Qinj0PuNeg.k,WTG4B.wecc_regc.and2.u[2],WTG4B.wecc_regc.Qinj0PuNeg.y,$PRE.WTG4B.wecc_regc.offDelay.u,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_repc.freeze,WTG4B.injector.running.value,WTG4B.wecc_regc.and2.y,WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.u,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,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition17,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 (388): * Single equations (assignments): 386 * 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.00135/0.4502, allocations: 498.2 kB / 0.7599 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/0.4513, allocations: 337.8 kB / 0.7603 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009049/0.4603, allocations: 3.205 MB / 0.7634 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.4603, allocations: 20 kB / 0.7634 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/0.4604, allocations: 4 kB / 0.7634 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-05/0.4604, allocations: 19.89 kB / 0.7634 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/0.4762, allocations: 6.469 MB / 0.7697 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.4763, allocations: 4 kB / 0.7698 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002811/0.4791, allocations: 455.9 kB / 0.7702 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005063/0.4796, allocations: 320.7 kB / 0.7705 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002111/0.4798, allocations: 59.91 kB / 0.7705 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.146e-05/0.4798, allocations: 19.92 kB / 0.7706 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4798, allocations: 4 kB / 0.7706 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/0.4915, allocations: 5.046 MB / 0.7755 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001943/0.4934, allocations: 0.6769 MB / 0.7762 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007534/0.4942, allocations: 67.98 kB / 0.7762 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/0.4965, allocations: 203.8 kB / 0.7764 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005128/0.497, allocations: 229.5 kB / 0.7766 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/0.4972, allocations: 75.95 kB / 0.7767 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004216/0.5014, allocations: 1.963 MB / 0.7786 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5014, allocations: 0 / 0.7786 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004402/0.5058, allocations: 1.259 MB / 0.7799 GB, free: 468 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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.rateLimFirstOrderFreeze2.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4B.wecc_regc.firstOrder.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: 35 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,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.u,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and2.y,WTG4B.injector.running.value,WTG4B.injector.state,WTG4B.wecc_repc.freeze) * Number of discrete states: 9 (WTG4B.injector.running.value,WTG4B.line.running.value,line.running.value,WTG4B.wecc_regc.offDelay.u,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 (206): * Single equations (assignments): 194 * 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.3581/0.8639, allocations: 6.009 MB / 0.7857 GB, free: 127.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01091/0.8748, allocations: 5.199 MB / 0.7908 GB, free: 125.1 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/0.8749, allocations: 2.406 kB / 0.7908 GB, free: 125.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003698/0.8786, allocations: 1.632 MB / 0.7924 GB, free: 124.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/0.8811, allocations: 497.8 kB / 0.7929 GB, free: 124.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05644/0.9376, allocations: 28.48 MB / 0.8207 GB, free: 106.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.9386, allocations: 1.275 MB / 0.8219 GB, free: 105.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002215/0.9409, allocations: 443.7 kB / 0.8224 GB, free: 104.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001645/0.9425, allocations: 1.331 MB / 0.8237 GB, free: 103.6 MB / 0.6075 GB Notification: Performance of SimCode: time 1.032e-06/0.9425, allocations: 0 / 0.8237 GB, free: 103.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1266/1.069, allocations: 74.07 MB / 0.896 GB, free: 29.76 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/16.35, allocations: 3.75 kB / 0.896 GB, free: 29.76 MB / 0.6075 GB " [Timeout remaining time 643] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource.fmu > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable WTG4B.injector.PInjPu in file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv. Warning: Get data of variable WTG4B.injector.PInjPu from file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv failed! Error: Could not read variable WTG4B.injector.QInjPu in file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv. Warning: Get data of variable WTG4B.injector.QInjPu from file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv failed! Error: Could not read variable WTG4B.pll.omegaPLLPu in file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv. Warning: Get data of variable WTG4B.pll.omegaPLLPu from file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.993621664121747]