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.0008584/0.0008584, allocations: 72.95 kB / 20.74 MB, free: 3.75 MB / 18.57 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.001461/0.001461, allocations: 169.4 kB / 24.17 MB, free: 332 kB / 18.57 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.9268/0.9268, allocations: 158.6 MB / 186 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.4834/0.4834, allocations: 90.86 MB / 329.2 MB, free: 14.24 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since 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 2.745e-06/2.745e-06, allocations: 0 / 386.6 MB, free: 5.316 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.172e-05/3.447e-05, allocations: 2.312 kB / 386.6 MB, free: 5.312 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1): time 0.01487/0.01491, allocations: 16.75 MB / 403.3 MB, free: 4.488 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01457/0.02948, allocations: 8.183 MB / 411.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002459/0.03194, allocations: 119.2 kB / 411.6 MB, free: 12.17 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.03364, allocations: 1.112 MB / 412.7 MB, free: 11.05 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.002787/0.03643, allocations: 1.672 MB / 414.4 MB, free: 9.367 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:90:3-90:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wtgCurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.004765/0.04119, allocations: 3.751 MB / 418.2 MB, free: 5.609 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005255/0.04645, allocations: 6.692 MB / 424.9 MB, free: 14.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.04816, allocations: 1.553 MB / 426.4 MB, free: 13.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.05028, allocations: 2.271 MB / 428.7 MB, free: 10.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.05184, allocations: 1.997 MB / 430.7 MB, free: 8.973 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005261/0.05236, allocations: 0.7031 MB / 431.4 MB, free: 8.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.05349, allocations: 1.046 MB / 432.4 MB, free: 7.223 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009528/0.05444, allocations: 1.491 MB / 433.9 MB, free: 5.727 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.05598, allocations: 1.791 MB / 435.7 MB, free: 3.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004732/0.06071, allocations: 4.643 MB / 440.4 MB, free: 15.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.06072, allocations: 0 / 440.4 MB, free: 15.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.06072, allocations: 0 / 440.4 MB, free: 15.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.162e-05/0.06078, allocations: 8 kB / 440.4 MB, free: 15.26 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.008358/0.06914, allocations: 6.731 MB / 447.1 MB, free: 8.441 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.06917, allocations: 12.03 kB / 447.1 MB, free: 8.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003426/0.0726, allocations: 1.496 MB / 448.6 MB, free: 6.934 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002897/0.07549, allocations: 2.093 MB / 450.7 MB, free: 4.766 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005215/0.07602, allocations: 1.183 MB / 451.9 MB, free: 3.379 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003334/0.07635, allocations: 375.9 kB / 452.2 MB, free: 3.012 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003352/0.0797, allocations: 3.416 MB / 455.7 MB, free: 15.28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.911e-05/0.07975, allocations: 7.938 kB / 455.7 MB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/0.07994, allocations: 152 kB / 455.8 MB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.764e-05/0.07999, allocations: 88 kB / 455.9 MB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.08178, allocations: 1.089 MB / 457 MB, free: 13.93 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.01058/0.09236, allocations: 9.421 MB / 466.4 MB, free: 4.277 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/0.09468, allocations: 1.684 MB / 468.1 MB, free: 2.574 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005881/0.09526, allocations: 471.8 kB / 468.6 MB, free: 2.113 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.09546, allocations: 65.97 kB / 468.6 MB, free: 2.047 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/0.09668, allocations: 1.182 MB / 469.8 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of pre-optimization done (n=293): time 4.168e-06/0.09669, allocations: 0 / 469.8 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of matching and sorting (n=293): time 0.2286/0.3253, allocations: 2.002 MB / 471.8 MB, free: 70.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/0.3254, allocations: 0.5812 MB / 472.4 MB, free: 70.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004477/0.3299, allocations: 2.966 MB / 475.4 MB, free: 69.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004606/0.3304, allocations: 96.47 kB / 475.4 MB, free: 69.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.3316, allocations: 1.428 MB / 476.9 MB, free: 69.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008916/0.3324, allocations: 1.052 MB / 477.9 MB, free: 69.08 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00108/0.3335, allocations: 0.8352 MB / 478.8 MB, free: 69.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.05e-05/0.3336, allocations: 303.1 kB / 479.1 MB, free: 68.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.335, allocations: 0.7746 MB / 479.8 MB, free: 68.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.3366, allocations: 1.905 MB / 481.7 MB, free: 67.42 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/0.3406, allocations: 3.375 MB / 485.1 MB, free: 66.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/0.3406, allocations: 3.156 kB / 485.1 MB, free: 66.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=584) (initialization): time 0.004407/0.345, allocations: 2.935 MB / 488 MB, free: 66.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.268e-05/0.3451, allocations: 80.95 kB / 488.1 MB, free: 66.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.3451, allocations: 12.84 kB / 488.1 MB, free: 66.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007369/0.3459, allocations: 325.1 kB / 488.5 MB, free: 66.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00296/0.3488, allocations: 1.344 MB / 489.8 MB, free: 66.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.3507, allocations: 1.853 MB / 491.7 MB, free: 65.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.3529, allocations: 446.2 kB / 492.1 MB, free: 65.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/0.3532, allocations: 122.2 kB / 492.2 MB, free: 65.08 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.002511/0.3557, allocations: 1.083 MB / 493.3 MB, free: 64.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001467/0.3572, allocations: 1.904 MB / 495.2 MB, free: 63.67 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003583/0.3607, allocations: 3.35 MB / 498.5 MB, free: 62.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.466e-05/0.3608, allocations: 4 kB / 498.6 MB, free: 62.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=584) (initialization_lambda0): time 0.004316/0.3651, allocations: 2.925 MB / 0.4897 GB, free: 60.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.95e-05/0.3651, allocations: 71.8 kB / 0.4898 GB, free: 60 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.3652, allocations: 15.94 kB / 0.4898 GB, free: 59.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006291/0.3658, allocations: 331.5 kB / 0.4901 GB, free: 59.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/0.3687, allocations: 1.343 MB / 0.4914 GB, free: 58.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.3705, allocations: 1.845 MB / 0.4932 GB, free: 56.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/0.3728, allocations: 436.4 kB / 0.4937 GB, free: 56.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002301/0.3731, allocations: 117.2 kB / 0.4938 GB, free: 56.4 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.injector.switchOffSignal1,WTG3.injector.switchOffSignal2,WTG3.injector.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 (545): * Single equations (assignments): 543 * 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.0008819/0.3739, allocations: 0.5917 MB / 0.4943 GB, free: 56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005994/0.3745, allocations: 353.6 kB / 0.4947 GB, free: 55.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/0.3771, allocations: 1.768 MB / 0.4964 GB, free: 54.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.3772, allocations: 28 kB / 0.4964 GB, free: 54.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.3772, allocations: 11.92 kB / 0.4964 GB, free: 54.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/0.3772, allocations: 15.94 kB / 0.4965 GB, free: 54.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006149/0.3833, allocations: 4.142 MB / 0.5005 GB, free: 50.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.3833, allocations: 4 kB / 0.5005 GB, free: 50.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/0.3858, allocations: 0.9654 MB / 0.5015 GB, free: 49.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005586/0.3864, allocations: 314.2 kB / 0.5017 GB, free: 49.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/0.3866, allocations: 74.09 kB / 0.5018 GB, free: 49.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.3882, allocations: 1.817 MB / 0.5036 GB, free: 47.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3882, allocations: 4 kB / 0.5036 GB, free: 47.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003434/0.3916, allocations: 2.628 MB / 0.5062 GB, free: 45.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/0.3929, allocations: 477.6 kB / 0.5066 GB, free: 44.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003845/0.3933, allocations: 86.58 kB / 0.5067 GB, free: 44.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.3943, allocations: 197.8 kB / 0.5069 GB, free: 44.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003909/0.3947, allocations: 282.4 kB / 0.5072 GB, free: 44.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.3948, allocations: 79.08 kB / 0.5072 GB, free: 44.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001415/0.3962, allocations: 1.555 MB / 0.5088 GB, free: 42.99 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3962, allocations: 0 / 0.5088 GB, free: 42.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003287/0.3995, allocations: 1.983 MB / 0.5107 GB, free: 41.19 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 (290): * Single equations (assignments): 276 * 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.001221/0.4007, allocations: 0.6138 MB / 0.5113 GB, free: 40.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005964/0.4067, allocations: 4.331 MB / 0.5155 GB, free: 36.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-05/0.4068, allocations: 52.22 kB / 0.5156 GB, free: 36.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001544/0.4083, allocations: 1.043 MB / 0.5166 GB, free: 35.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/0.4108, allocations: 0.7336 MB / 0.5173 GB, free: 35.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.4215, allocations: 7.566 MB / 0.5247 GB, free: 27.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000653/0.4222, allocations: 0.7114 MB / 0.5254 GB, free: 26.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002367/0.4245, allocations: 0.5809 MB / 0.526 GB, free: 26.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/0.426, allocations: 0.6962 MB / 0.5266 GB, free: 25.55 MB / 442.7 MB Notification: Performance of SimCode: time 2.184e-06/0.426, allocations: 0 / 0.5266 GB, free: 25.55 MB / 442.7 MB Notification: Performance of Templates: time 0.07548/0.5015, allocations: 58.01 MB / 0.5833 GB, free: 44 kB / 474.7 MB " [Timeout remaining time 659] 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 -s gbode -gbm=radauIIA3 -emit_protected -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: 5.819812205154449]