Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.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.0007503/0.0007503, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009365/0.001687, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006864/0.0006864, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008361/0.001522, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.8248/0.8248, allocations: 158.6 MB / 171 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1174/0.9423, allocations: 49.5 MB / 220.5 MB, free: 1.438 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.4523/0.4523, allocations: 100.5 MB / 321.8 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04888/0.5011, allocations: 35.69 MB / 357.5 MB, free: 1.309 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-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 the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG3.injector.PInjPu|WTG3.injector.QInjPu|WTG3.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1") translateModel(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG3.injector.PInjPu|WTG3.injector.QInjPu|WTG3.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 359 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.19e-05, allocations: 6.312 kB / 359 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1): time 0.01916/0.01918, allocations: 17 MB / 376 MB, free: 14.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.03035, allocations: 8.32 MB / 384.4 MB, free: 6.363 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.03207, allocations: 119.2 kB / 384.5 MB, free: 6.246 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.03355, allocations: 1.124 MB / 385.6 MB, free: 5.113 MB / 378.7 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.002473/0.03602, allocations: 1.844 MB / 387.4 MB, free: 3.258 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:87:3-87:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wtgCurrentSource_INIT.s0Pu) == 0.0, == on Real operands is not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] Notification: Performance of NFTyping.typeClassSections: time 0.003895/0.03992, allocations: 3.638 MB / 391.1 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005078/0.045, allocations: 6.623 MB / 397.7 MB, free: 8.977 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001796/0.04679, allocations: 1.578 MB / 399.3 MB, free: 7.312 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003717/0.05051, allocations: 4.388 MB / 403.7 MB, free: 2.84 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.05192, allocations: 2.024 MB / 405.7 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006983/0.05261, allocations: 0.707 MB / 406.4 MB, free: 104 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.05366, allocations: 1.062 MB / 407.5 MB, free: 15.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006488/0.05431, allocations: 1.145 MB / 408.6 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.05534, allocations: 1.43 MB / 410 MB, free: 12.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003648/0.05899, allocations: 4.32 MB / 414.4 MB, free: 8.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-05/0.05901, allocations: 4 kB / 414.4 MB, free: 8.117 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.05901, allocations: 0 / 414.4 MB, free: 8.117 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.977e-05/0.05906, allocations: 0 / 414.4 MB, free: 8.117 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.008752/0.06781, allocations: 7.79 MB / 422.2 MB, free: 220 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.06784, allocations: 11.97 kB / 422.2 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003794/0.07163, allocations: 1.851 MB / 424 MB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/0.0741, allocations: 2.095 MB / 426.1 MB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000537/0.07464, allocations: 1.249 MB / 427.4 MB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00053/0.07517, allocations: 375.9 kB / 427.7 MB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00308/0.07825, allocations: 3.452 MB / 431.2 MB, free: 6.578 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.671e-05/0.07829, allocations: 11.94 kB / 431.2 MB, free: 6.566 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001913/0.07848, allocations: 152 kB / 431.3 MB, free: 6.418 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/0.07853, allocations: 88 kB / 431.4 MB, free: 6.332 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.08007, allocations: 1.105 MB / 432.5 MB, free: 5.207 MB / 426.7 MB 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.009257/0.08933, allocations: 9.555 MB / 442.1 MB, free: 11.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/0.09155, allocations: 1.723 MB / 443.8 MB, free: 9.684 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/0.09214, allocations: 487.6 kB / 444.3 MB, free: 9.195 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.09232, allocations: 62.02 kB / 444.3 MB, free: 9.133 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001156/0.09347, allocations: 1.211 MB / 445.6 MB, free: 7.863 MB / 442.7 MB Notification: Performance of pre-optimization done (n=300): time 3.967e-06/0.09348, allocations: 0 / 445.6 MB, free: 7.863 MB / 442.7 MB Notification: Performance of matching and sorting (n=300): time 0.003284/0.09676, allocations: 2.035 MB / 447.6 MB, free: 5.781 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.09682, allocations: 131.2 kB / 447.7 MB, free: 5.633 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.09908, allocations: 2.968 MB / 450.7 MB, free: 2.625 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.09923, allocations: 97.69 kB / 450.8 MB, free: 2.523 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006974/0.09993, allocations: 1.427 MB / 452.2 MB, free: 1.082 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.162/0.2619, allocations: 1.075 MB / 453.3 MB, free: 53.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001733/0.2636, allocations: 0.8487 MB / 454.1 MB, free: 53.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.237e-05/0.2636, allocations: 305 kB / 454.4 MB, free: 53.42 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.2653, allocations: 0.8189 MB / 455.2 MB, free: 53.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/0.2673, allocations: 1.956 MB / 457.2 MB, free: 52.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005103/0.2724, allocations: 3.518 MB / 460.7 MB, free: 51.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.926e-05/0.2725, allocations: 3.594 kB / 460.7 MB, free: 51.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=597) (initialization): time 0.00514/0.2776, allocations: 3.049 MB / 463.8 MB, free: 51.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.9e-05/0.2777, allocations: 75.34 kB / 463.8 MB, free: 51.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.2777, allocations: 12.95 kB / 463.9 MB, free: 51.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007343/0.2784, allocations: 324.4 kB / 464.2 MB, free: 51.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003935/0.2824, allocations: 1.447 MB / 465.6 MB, free: 51.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.2844, allocations: 1.844 MB / 467.5 MB, free: 49.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.2862, allocations: 456.2 kB / 467.9 MB, free: 49.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/0.2864, allocations: 119.5 kB / 468 MB, free: 49.98 MB / 442.7 MB Warning: Assuming fixed start value for the following 36 variables: WTG3.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.HvTfo.State0 fixed = true ) \"Transformer 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:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.HvTfo.running:DISCRETE(flow=false start = WTG3.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.omegaRefWTGQ0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG3.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG3.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG3.wecc_repc.leadLag.X0[1] * WTG3.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG3.injector.running:DISCRETE(flow=false start = WTG3.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG3.LvTfo.running:DISCRETE(flow=false start = WTG3.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002392/0.2888, allocations: 1.138 MB / 469.2 MB, free: 49.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001739/0.2906, allocations: 1.954 MB / 471.1 MB, free: 48.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004301/0.2949, allocations: 3.488 MB / 474.6 MB, free: 47.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.479e-05/0.2949, allocations: 5.531 kB / 474.6 MB, free: 47.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=597) (initialization_lambda0): time 0.004364/0.2992, allocations: 3.049 MB / 477.7 MB, free: 47.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/0.2993, allocations: 74.31 kB / 477.7 MB, free: 47.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.2993, allocations: 14.19 kB / 477.8 MB, free: 47.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/0.2999, allocations: 318.9 kB / 478.1 MB, free: 47.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003751/0.3037, allocations: 1.437 MB / 479.5 MB, free: 46.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/0.3055, allocations: 1.85 MB / 481.4 MB, free: 45.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.3071, allocations: 438.4 kB / 481.8 MB, free: 45.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/0.3073, allocations: 121.5 kB / 481.9 MB, free: 45.14 MB / 442.7 MB Warning: Assuming fixed start value for the following 36 variables: WTG3.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.HvTfo.State0 fixed = true ) \"Transformer 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:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.HvTfo.running:DISCRETE(flow=false start = WTG3.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.omegaRefWTGQ0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG3.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG3.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG3.wecc_repc.leadLag.X0[1] * WTG3.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG3.injector.running:DISCRETE(flow=false start = WTG3.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG3.LvTfo.running:DISCRETE(flow=false start = WTG3.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 75 ($PRE.WTG3.LvTfo.state,WTG3.LvTfo.state,$PRE.WTG3.injector.state,WTG3.injector.state,$PRE.WTG3.HvTfo.state,WTG3.HvTfo.state,$PRE.line.state,line.state,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset,WTG3.wecc_wtgt.dPhi.local_reset,WTG3.wecc_wtgt.dOmegaTurbine.local_reset,WTG3.wecc_wtgt.dOmegaGenerator.local_reset,WTG3.wecc_repc.limPID.I.local_reset,WTG3.wecc_repc.limPIDFreeze.I.resetLocal,WTG3.pll.integrator.local_reset,WTG3.pll.limIntegrator.local_reset,WTG3.wecc_reec.limPIDFreeze.I.resetLocal,WTG3.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG3.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,WTG3.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,WTG3.switchOffSignal1,WTG3.switchOffSignal2,WTG3.switchOffSignal3,$PRE.line.running,$PRE.WTG3.HvTfo.running,$PRE.WTG3.wecc_regc.offDelay.delaySignal,$PRE.WTG3.wecc_regc.offDelay.tNext,$PRE.WTG3.injector.running,$PRE.WTG3.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG3.LvTfo.running,WTG3.wecc_regc.QConv0PuPos.k,WTG3.wecc_regc.QConv0PuNeg.k,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDip,$PRE.WTG3.wecc_regc.offDelay.u,WTG3.LvTfo.running,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.injector.running,WTG3.wecc_repc.freeze,WTG3.wecc_regc.and2.y,WTG3.wecc_regc.and1.y,WTG3.wecc_regc.and1.u[2],WTG3.wecc_regc.offDelay.tNext,WTG3.wecc_regc.offDelay.delaySignal,WTG3.wecc_regc.offDelay.u,WTG3.HvTfo.running,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,$whenCondition19,$whenCondition18,$whenCondition20) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (558): * Single equations (assignments): 556 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005962/0.3079, allocations: 0.5934 MB / 482.5 MB, free: 44.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/0.3083, allocations: 354 kB / 482.8 MB, free: 44.56 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/0.311, allocations: 1.805 MB / 484.6 MB, free: 43.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.311, allocations: 36 kB / 484.7 MB, free: 43.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.311, allocations: 0 / 484.7 MB, free: 43.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.143e-05/0.311, allocations: 18.91 kB / 484.7 MB, free: 43.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005861/0.3169, allocations: 4.288 MB / 489 MB, free: 40.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.3169, allocations: 7.984 kB / 489 MB, free: 40.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003332/0.3202, allocations: 1.017 MB / 490 MB, free: 39.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009387/0.3212, allocations: 479.8 kB / 490.5 MB, free: 39.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005879/0.3218, allocations: 317.8 kB / 490.8 MB, free: 39.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.3219, allocations: 77.09 kB / 490.9 MB, free: 39.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.3237, allocations: 1.816 MB / 492.7 MB, free: 37.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.3237, allocations: 15.38 kB / 492.7 MB, free: 37.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003026/0.3267, allocations: 2.68 MB / 495.4 MB, free: 34.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002927/0.327, allocations: 81.92 kB / 495.5 MB, free: 34.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009233/0.3279, allocations: 204.6 kB / 495.7 MB, free: 34.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003248/0.3282, allocations: 291.3 kB / 495.9 MB, free: 34.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.3283, allocations: 79.2 kB / 496 MB, free: 34.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001147/0.3295, allocations: 1.55 MB / 497.6 MB, free: 33.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3295, allocations: 0 / 497.6 MB, free: 33.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002329/0.3318, allocations: 2.049 MB / 499.6 MB, free: 31.64 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 28 (WTG3.wecc_wtgp.limitedIntegrator.y,WTG3.wecc_wtgp.limitedIntegrator1.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.y,WTG3.wecc_wtgq.firstOrder.y,WTG3.wecc_wtgq.firstOrder1.y,WTG3.wecc_wtgq.limitedIntegratorFreeze.y,WTG3.wecc_wtgt.dPhi.y,WTG3.wecc_wtgt.dOmegaTurbine.y,WTG3.wecc_wtgt.dOmegaGenerator.y,WTG3.wecc_regc.rateLimFirstOrderFreeze2.y,WTG3.wecc_regc.rateLimFirstOrderFreeze1.y,WTG3.wecc_regc.firstOrder.y,WTG3.wecc_repc.firstOrder.y,WTG3.wecc_repc.limPID.I.y,WTG3.wecc_repc.firstOrder1.y,WTG3.wecc_repc.firstOrder2.y,WTG3.wecc_repc.firstOrder3.y,WTG3.wecc_repc.limPIDFreeze.I.y,WTG3.wecc_repc.leadLag.x_scaled[1],WTG3.pll.integrator.y,WTG3.pll.limIntegrator.y,WTG3.wecc_reec.firstOrder.y,WTG3.wecc_reec.firstOrder1.y,WTG3.wecc_reec.limPIDFreeze.I.y,WTG3.wecc_reec.rateLimFirstOrderFreeze1.y,WTG3.wecc_reec.slewRateLimiter.y,WTG3.wecc_reec.rateLimFirstOrderFreeze.y,WTG3.wecc_reec.varLimPIDFreeze.I.y) * Number of discrete variables: 40 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,WTG3.HvTfo.running,WTG3.HvTfo.state,WTG3.wecc_regc.offDelay.u,WTG3.wecc_regc.offDelay.delaySignal,WTG3.wecc_regc.offDelay.tNext,WTG3.wecc_regc.and1.u[2],WTG3.wecc_regc.and1.y,WTG3.wecc_regc.and2.y,WTG3.wecc_repc.freeze,WTG3.injector.running,WTG3.injector.state,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.LvTfo.running,WTG3.LvTfo.state) * Number of discrete states: 10 (WTG3.LvTfo.running,WTG3.injector.running,WTG3.HvTfo.running,line.running,WTG3.wecc_regc.offDelay.u,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (297): * Single equations (assignments): 283 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001144/0.333, allocations: 0.6527 MB / 0.4885 GB, free: 31.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004433/0.3374, allocations: 4.478 MB / 0.4929 GB, free: 27.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.196e-05/0.3374, allocations: 64.38 kB / 0.493 GB, free: 27.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.3385, allocations: 1.072 MB / 0.494 GB, free: 26.42 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.3401, allocations: 0.9664 MB / 0.495 GB, free: 25.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008259/0.3484, allocations: 7.888 MB / 0.5027 GB, free: 17.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.3488, allocations: 0.7339 MB / 0.5034 GB, free: 17.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001561/0.3504, allocations: 0.593 MB / 0.504 GB, free: 16.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/0.3516, allocations: 0.7031 MB / 0.5047 GB, free: 15.82 MB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/0.3516, allocations: 0 / 0.5047 GB, free: 15.82 MB / 442.7 MB Notification: Performance of Templates: time 0.06432/0.4159, allocations: 60.17 MB / 0.5634 GB, free: 4.273 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG3CurrentSource1_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.842905694618821]