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.0007345/0.0007345, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009969/0.001731, 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.0006735/0.0006735, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008622/0.001536, allocations: 475.6 kB / 11.79 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.7943/0.7943, allocations: 158.6 MB / 171.1 MB, free: 2.52 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1224/0.9167, allocations: 49.51 MB / 220.7 MB, free: 1.363 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.5044/0.5044, allocations: 106.6 MB / 328 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05729/0.5617, allocations: 37.9 MB / 365.9 MB, free: 8.996 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.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.432e-06/1.432e-06, allocations: 0 / 367.5 MB, free: 7.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.355e-05, allocations: 2.312 kB / 367.5 MB, free: 7.426 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1): time 0.01551/0.01554, allocations: 17.01 MB / 384.5 MB, free: 6.355 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.02786, allocations: 8.329 MB / 392.8 MB, free: 14.01 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.03035, allocations: 115.2 kB / 392.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.03198, allocations: 1.124 MB / 394.1 MB, free: 12.76 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.002955/0.03494, allocations: 1.844 MB / 395.9 MB, free: 10.91 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.004426/0.03936, allocations: 3.649 MB / 399.6 MB, free: 7.25 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005332/0.0447, allocations: 6.627 MB / 406.2 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001822/0.04652, allocations: 1.567 MB / 407.7 MB, free: 14.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003899/0.05042, allocations: 4.392 MB / 412.1 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.05184, allocations: 2.032 MB / 414.2 MB, free: 8.434 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006074/0.05245, allocations: 0.707 MB / 414.9 MB, free: 7.727 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.05357, allocations: 1.058 MB / 415.9 MB, free: 6.668 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007973/0.05437, allocations: 1.149 MB / 417.1 MB, free: 5.516 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.05539, allocations: 1.426 MB / 418.5 MB, free: 4.086 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007456/0.06284, allocations: 4.316 MB / 422.8 MB, free: 15.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.39e-05/0.06286, allocations: 4 kB / 422.8 MB, free: 15.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.06286, allocations: 0 / 422.8 MB, free: 15.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.542e-05/0.06291, allocations: 4 kB / 422.8 MB, free: 15.75 MB / 426.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.02362/0.08654, allocations: 7.782 MB / 430.6 MB, free: 7.852 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.08657, allocations: 8.031 kB / 430.6 MB, free: 7.844 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.09851, allocations: 1.858 MB / 432.5 MB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00503/0.1035, allocations: 2.09 MB / 434.6 MB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005724/0.1041, allocations: 1.233 MB / 435.8 MB, free: 2.367 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00034/0.1044, allocations: 379.9 kB / 436.2 MB, free: 1.996 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/0.1076, allocations: 3.448 MB / 439.6 MB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.604e-05/0.1077, allocations: 7.938 kB / 439.6 MB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.1079, allocations: 156 kB / 439.8 MB, free: 14.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/0.1079, allocations: 88 kB / 439.9 MB, free: 13.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.1095, allocations: 1.109 MB / 441 MB, free: 12.86 MB / 442.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.009399/0.1189, allocations: 9.566 MB / 450.5 MB, free: 3.059 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/0.1211, allocations: 1.713 MB / 452.3 MB, free: 1.316 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005815/0.1217, allocations: 483.6 kB / 452.7 MB, free: 0.832 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.1219, allocations: 66.02 kB / 452.8 MB, free: 0.7656 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1677/0.2896, allocations: 1.203 MB / 454 MB, free: 47.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=300): time 6.633e-06/0.2896, allocations: 0 / 454 MB, free: 47.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=300): time 0.003967/0.2935, allocations: 2.038 MB / 456 MB, free: 47.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.2936, allocations: 126.1 kB / 456.2 MB, free: 47.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/0.2965, allocations: 2.963 MB / 459.1 MB, free: 46.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001674/0.2966, allocations: 100.1 kB / 459.2 MB, free: 46.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007874/0.2974, allocations: 1.433 MB / 460.7 MB, free: 46.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005299/0.298, allocations: 1.083 MB / 461.7 MB, free: 45.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000831/0.2988, allocations: 0.8463 MB / 462.6 MB, free: 45.92 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.616e-05/0.2988, allocations: 304.2 kB / 462.9 MB, free: 45.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.3, allocations: 0.821 MB / 463.7 MB, free: 45.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.3014, allocations: 1.954 MB / 465.7 MB, free: 44.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003874/0.3053, allocations: 3.692 MB / 469.3 MB, free: 43.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/0.3053, allocations: 2.656 kB / 469.3 MB, free: 43.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=597) (initialization): time 0.003727/0.309, allocations: 3.054 MB / 472.4 MB, free: 43.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/0.3091, allocations: 68.44 kB / 472.5 MB, free: 43.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.3091, allocations: 11.94 kB / 472.5 MB, free: 43.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005835/0.3097, allocations: 334.2 kB / 472.8 MB, free: 43.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002841/0.3125, allocations: 1.437 MB / 474.2 MB, free: 43.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.3141, allocations: 1.853 MB / 476.1 MB, free: 42.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.3155, allocations: 459 kB / 476.5 MB, free: 41.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.3156, allocations: 123.9 kB / 476.7 MB, free: 41.95 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.001817/0.3175, allocations: 1.133 MB / 477.8 MB, free: 41.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001336/0.3188, allocations: 1.95 MB / 479.8 MB, free: 40.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00384/0.3226, allocations: 3.669 MB / 483.4 MB, free: 38.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.485e-05/0.3226, allocations: 4 kB / 483.4 MB, free: 38.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=597) (initialization_lambda0): time 0.003606/0.3263, allocations: 3.049 MB / 486.5 MB, free: 36.49 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/0.3263, allocations: 69.09 kB / 486.5 MB, free: 36.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.3263, allocations: 12 kB / 486.6 MB, free: 36.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004835/0.3268, allocations: 325.1 kB / 486.9 MB, free: 36.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003308/0.3301, allocations: 1.431 MB / 488.3 MB, free: 34.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.3317, allocations: 1.863 MB / 490.2 MB, free: 33.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.3332, allocations: 438 kB / 490.6 MB, free: 32.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.3333, allocations: 125.2 kB / 490.7 MB, free: 32.67 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.0006763/0.334, allocations: 0.5846 MB / 491.3 MB, free: 32.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003786/0.3344, allocations: 360.7 kB / 491.6 MB, free: 31.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.3366, allocations: 1.791 MB / 493.4 MB, free: 30.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.3366, allocations: 32 kB / 493.5 MB, free: 30.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3366, allocations: 4 kB / 493.5 MB, free: 30.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.3366, allocations: 15.94 kB / 493.5 MB, free: 30.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004955/0.3416, allocations: 4.288 MB / 497.8 MB, free: 26.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.3416, allocations: 8.859 kB / 497.8 MB, free: 26.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002458/0.3441, allocations: 1.016 MB / 498.8 MB, free: 25.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007721/0.3448, allocations: 472.2 kB / 499.3 MB, free: 25.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000515/0.3453, allocations: 318.3 kB / 499.6 MB, free: 25.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.3455, allocations: 72.09 kB / 499.6 MB, free: 25.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.347, allocations: 1.833 MB / 0.4897 GB, free: 23.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.347, allocations: 12.62 kB / 0.4897 GB, free: 23.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00299/0.35, allocations: 2.667 MB / 0.4923 GB, free: 20.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002891/0.3503, allocations: 86.08 kB / 0.4924 GB, free: 20.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/0.3513, allocations: 206.9 kB / 0.4926 GB, free: 20.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003414/0.3516, allocations: 298.7 kB / 0.4929 GB, free: 20.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.3517, allocations: 69.22 kB / 0.493 GB, free: 20.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001128/0.3528, allocations: 1.563 MB / 0.4945 GB, free: 19.03 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3528, allocations: 0 / 0.4945 GB, free: 19.03 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002604/0.3555, allocations: 2.039 MB / 0.4965 GB, free: 17.17 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.001236/0.3567, allocations: 0.6586 MB / 0.4971 GB, free: 16.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004981/0.3617, allocations: 4.593 MB / 0.5016 GB, free: 12.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.029e-05/0.3617, allocations: 67.34 kB / 0.5017 GB, free: 12.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.3631, allocations: 1.231 MB / 0.5029 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.3653, allocations: 3.223 MB / 0.506 GB, free: 7.852 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008784/0.3741, allocations: 7.883 MB / 0.5137 GB, free: 15.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005999/0.3747, allocations: 0.738 MB / 0.5145 GB, free: 15.12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001631/0.3763, allocations: 0.5934 MB / 0.515 GB, free: 14.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/0.3778, allocations: 0.7274 MB / 0.5157 GB, free: 13.79 MB / 458.7 MB Notification: Performance of SimCode: time 9.02e-07/0.3778, allocations: 0 / 0.5157 GB, free: 13.79 MB / 458.7 MB Notification: Performance of Templates: time 0.06763/0.4454, allocations: 61.24 MB / 0.5755 GB, free: 1.195 MB / 0.4948 GB " [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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.844093721359968]