Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001585/0.002695, allocations: 440 kB / 10.41 MB, free: 284 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.001055/0.001055, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001364/0.002419, allocations: 475.6 kB / 11.8 MB, free: 2.375 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.7666/0.7666, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1263/0.8929, allocations: 49.5 MB / 220.7 MB, free: 1.355 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] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/GridFollowing/FourVSC/FourVSCDynamicLinesPlant.mo:214:26-227:16:writable] Warning: Lexer treating \\ as \\\\, since \\ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/GridFollowing/FourVSC/FourVSCDynamicLinesPlant.mo:214:26-229:28:writable] Warning: Lexer treating \\ as \\\\, since \\ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.4808/0.4808, allocations: 106.6 MB / 328 MB, free: 14.63 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05457/0.5354, allocations: 37.9 MB / 365.9 MB, free: 8.977 MB / 362.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.WTG4ACurrentSource,tolerance=0.0001,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|WTG4A.injector.PInjPu|WTG4A.injector.QInjPu|WTG4A.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,tolerance=0.0001,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|WTG4A.injector.PInjPu|WTG4A.injector.QInjPu|WTG4A.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 367.5 MB, free: 7.383 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.926e-05, allocations: 5.828 kB / 367.5 MB, free: 7.379 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01267/0.01269, allocations: 15.23 MB / 382.7 MB, free: 8.094 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01264/0.02533, allocations: 7.497 MB / 390.2 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.02749, allocations: 103.3 kB / 390.3 MB, free: 488 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.02926, allocations: 1.012 MB / 391.3 MB, free: 15.46 MB / 394.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.002886/0.03214, allocations: 1.739 MB / 393.1 MB, free: 13.71 MB / 394.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.00373/0.03587, allocations: 3.057 MB / 396.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005175/0.04105, allocations: 5.706 MB / 401.8 MB, free: 4.93 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.04268, allocations: 1.341 MB / 403.2 MB, free: 3.492 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003717/0.0464, allocations: 3.814 MB / 407 MB, free: 15.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.04761, allocations: 1.768 MB / 408.8 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004846/0.0481, allocations: 0.6055 MB / 409.4 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.04915, allocations: 0.9603 MB / 410.3 MB, free: 12.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005566/0.0497, allocations: 0.9814 MB / 411.3 MB, free: 11.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.05083, allocations: 1.235 MB / 412.5 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003534/0.05437, allocations: 3.752 MB / 416.3 MB, free: 6.262 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/0.05438, allocations: 0 / 416.3 MB, free: 6.262 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.05438, allocations: 0 / 416.3 MB, free: 6.262 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.061e-05/0.05441, allocations: 0 / 416.3 MB, free: 6.262 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: 785 * Number of variables: 785 Notification: Performance of Generate backend data structure: time 0.008176/0.06259, allocations: 6.942 MB / 423.2 MB, free: 15.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.06262, allocations: 8.031 kB / 423.2 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00415/0.06677, allocations: 1.741 MB / 425 MB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.06903, allocations: 1.81 MB / 426.8 MB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004214/0.06945, allocations: 1.081 MB / 427.9 MB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002883/0.06974, allocations: 327.9 kB / 428.2 MB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/0.0723, allocations: 2.939 MB / 431.1 MB, free: 6.801 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.518e-05/0.07235, allocations: 4 kB / 431.1 MB, free: 6.797 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/0.07252, allocations: 132 kB / 431.3 MB, free: 6.668 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.678e-05/0.07255, allocations: 76 kB / 431.3 MB, free: 6.594 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.0739, allocations: 0.9772 MB / 432.3 MB, free: 5.59 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.008037/0.08194, allocations: 8.224 MB / 440.5 MB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/0.08409, allocations: 1.437 MB / 442 MB, free: 11.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/0.0846, allocations: 423.5 kB / 442.4 MB, free: 11.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.08478, allocations: 57.98 kB / 442.5 MB, free: 11.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/0.08584, allocations: 1.1 MB / 443.5 MB, free: 10.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=266): time 3.506e-06/0.08584, allocations: 0 / 443.5 MB, free: 10.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=266): time 0.003254/0.08909, allocations: 1.928 MB / 445.5 MB, free: 8.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.08915, allocations: 127 kB / 445.6 MB, free: 8.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.0913, allocations: 2.568 MB / 448.2 MB, free: 5.457 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.09143, allocations: 89.7 kB / 448.3 MB, free: 5.363 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000603/0.09203, allocations: 1.251 MB / 449.5 MB, free: 4.094 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004909/0.09252, allocations: 0.9453 MB / 450.5 MB, free: 3.141 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007281/0.09325, allocations: 0.7711 MB / 451.2 MB, free: 2.359 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.045e-05/0.09331, allocations: 305.1 kB / 451.5 MB, free: 2.059 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.09438, allocations: 0.7511 MB / 452.3 MB, free: 1.289 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1615/0.2559, allocations: 1.698 MB / 454 MB, free: 48.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004596/0.2605, allocations: 3.384 MB / 457.4 MB, free: 47.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.2605, allocations: 3.312 kB / 457.4 MB, free: 47.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.003965/0.2645, allocations: 2.794 MB / 460.2 MB, free: 47.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/0.2645, allocations: 71.09 kB / 460.2 MB, free: 47.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.2645, allocations: 10.91 kB / 460.2 MB, free: 47.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006145/0.2651, allocations: 326.1 kB / 460.6 MB, free: 47.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/0.2672, allocations: 0.9543 MB / 461.5 MB, free: 47.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.269, allocations: 1.843 MB / 463.3 MB, free: 46.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.2707, allocations: 399.4 kB / 463.7 MB, free: 46.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/0.2709, allocations: 107.1 kB / 463.8 MB, free: 46.35 MB / 442.7 MB Warning: Assuming fixed start value for the following 32 variables: WTG4A.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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 WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UConv0Pu 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.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.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.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:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.LvTfo.running:DISCRETE(flow=false start = WTG4A.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.HvTfo.running:DISCRETE(flow=false start = WTG4A.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" 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_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real 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.001982/0.2729, allocations: 1.031 MB / 464.9 MB, free: 46.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001226/0.2741, allocations: 1.698 MB / 466.6 MB, free: 45.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003389/0.2775, allocations: 3.36 MB / 469.9 MB, free: 44.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.019e-05/0.2775, allocations: 6.406 kB / 469.9 MB, free: 44.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=539) (initialization_lambda0): time 0.003201/0.2807, allocations: 2.786 MB / 472.7 MB, free: 44.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.2807, allocations: 68.11 kB / 472.8 MB, free: 44.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.2807, allocations: 9.734 kB / 472.8 MB, free: 44.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004901/0.2812, allocations: 326.8 kB / 473.1 MB, free: 44.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/0.2832, allocations: 0.9435 MB / 474.1 MB, free: 44.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.2848, allocations: 1.849 MB / 475.9 MB, free: 43.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.2859, allocations: 368.8 kB / 476.3 MB, free: 43.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.2861, allocations: 116.1 kB / 476.4 MB, free: 43.23 MB / 442.7 MB Warning: Assuming fixed start value for the following 32 variables: WTG4A.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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 WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UConv0Pu 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.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.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.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:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.LvTfo.running:DISCRETE(flow=false start = WTG4A.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.HvTfo.running:DISCRETE(flow=false start = WTG4A.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" 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_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real 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: 47 * Number of states: 0 () * Number of discrete variables: 74 ($PRE.WTG4A.HvTfo.state,WTG4A.HvTfo.state,$PRE.WTG4A.LvTfo.state,WTG4A.LvTfo.state,$PRE.WTG4A.injector.state,WTG4A.injector.state,$PRE.line.state,line.state,WTG4A.wecc_reec.limPIDFreeze.I.resetLocal,WTG4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4A.pll.integrator.local_reset,WTG4A.pll.limIntegrator.local_reset,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_wtgt.dPhi.local_reset,WTG4A.wecc_wtgt.dOmegaTurbine.local_reset,WTG4A.wecc_wtgt.dOmegaGenerator.local_reset,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,WTG4A.switchOffSignal1,WTG4A.switchOffSignal2,WTG4A.switchOffSignal3,$PRE.line.running,$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,$PRE.WTG4A.LvTfo.running,$PRE.WTG4A.HvTfo.running,WTG4A.wecc_regc.QConv0PuPos.k,WTG4A.wecc_regc.QConv0PuNeg.k,$PRE.WTG4A.wecc_regc.offDelay.u,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_repc.freeze,WTG4A.HvTfo.running,WTG4A.LvTfo.running,WTG4A.injector.running,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,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition11,$whenCondition10,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition19,$whenCondition18,$whenCondition20) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (501): * Single equations (assignments): 499 * 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.0005963/0.2867, allocations: 0.5532 MB / 476.9 MB, free: 43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000441/0.2871, allocations: 308.5 kB / 477.2 MB, free: 43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.2892, allocations: 1.633 MB / 478.9 MB, free: 42.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.2892, allocations: 27.98 kB / 478.9 MB, free: 42.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2893, allocations: 3.875 kB / 478.9 MB, free: 42.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.2893, allocations: 12.98 kB / 478.9 MB, free: 42.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004231/0.2935, allocations: 3.842 MB / 482.8 MB, free: 40.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.2935, allocations: 4 kB / 482.8 MB, free: 40.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/0.2949, allocations: 0.5592 MB / 483.3 MB, free: 40.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006518/0.2956, allocations: 412 kB / 483.7 MB, free: 40.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004756/0.2961, allocations: 317.6 kB / 484 MB, free: 39.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.2962, allocations: 69.06 kB / 484.1 MB, free: 39.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/0.2977, allocations: 1.827 MB / 485.9 MB, free: 38.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.2977, allocations: 15.75 kB / 485.9 MB, free: 38.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.3002, allocations: 2.432 MB / 488.4 MB, free: 36.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/0.3004, allocations: 73.42 kB / 488.4 MB, free: 35.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008273/0.3013, allocations: 169.1 kB / 488.6 MB, free: 35.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/0.3015, allocations: 247.7 kB / 488.9 MB, free: 35.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.892e-05/0.3016, allocations: 75.14 kB / 488.9 MB, free: 35.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008603/0.3025, allocations: 1.343 MB / 490.3 MB, free: 34.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3025, allocations: 0 / 490.3 MB, free: 34.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002052/0.3045, allocations: 1.812 MB / 492.1 MB, free: 33.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 23 (WTG4A.wecc_reec.firstOrder.y,WTG4A.wecc_reec.firstOrder1.y,WTG4A.wecc_reec.limPIDFreeze.I.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4A.wecc_reec.slewRateLimiter.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze.y,WTG4A.wecc_reec.varLimPIDFreeze.I.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_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],WTG4A.wecc_wtgt.dPhi.y,WTG4A.wecc_wtgt.dOmegaTurbine.y,WTG4A.wecc_wtgt.dOmegaGenerator.y,WTG4A.wecc_wtgt.Pmech.y) * Number of discrete variables: 40 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,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,WTG4A.injector.state,WTG4A.LvTfo.running,WTG4A.LvTfo.state,WTG4A.HvTfo.running,WTG4A.HvTfo.state,WTG4A.wecc_repc.freeze) * Number of discrete states: 10 (WTG4A.HvTfo.running,WTG4A.LvTfo.running,WTG4A.injector.running,line.running,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 (263): * Single equations (assignments): 249 * 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.001199/0.3057, allocations: 0.644 MB / 492.7 MB, free: 32.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004455/0.3102, allocations: 4.228 MB / 497 MB, free: 29.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-05/0.3103, allocations: 58.77 kB / 497 MB, free: 29.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.3115, allocations: 1.121 MB / 498.1 MB, free: 28.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.3134, allocations: 2.753 MB / 0.4891 GB, free: 25.31 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006589/0.32, allocations: 6.732 MB / 0.4957 GB, free: 18.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.3203, allocations: 0.6404 MB / 0.4963 GB, free: 18.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001292/0.3216, allocations: 0.5196 MB / 0.4969 GB, free: 17.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/0.3228, allocations: 0.6289 MB / 0.4975 GB, free: 17.12 MB / 442.7 MB Notification: Performance of SimCode: time 8.72e-07/0.3228, allocations: 0 / 0.4975 GB, free: 17.12 MB / 442.7 MB Notification: Performance of Templates: time 0.05962/0.3824, allocations: 57.42 MB / 0.5535 GB, free: 8.277 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource -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.WTG4ACurrentSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6953428639099]