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.001348/0.001348, allocations: 74.78 kB / 19.96 MB, free: 1.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 171 kB / 23.24 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.6765/0.6765, allocations: 90.26 MB / 327.5 MB, free: 108 kB / 302.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: 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.184e-06/2.184e-06, allocations: 0 / 0.5013 GB, free: 48.57 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.048e-05, allocations: 5.625 kB / 0.5013 GB, free: 48.56 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1): time 0.01819/0.01822, allocations: 16.01 MB / 0.517 GB, free: 37.84 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01653/0.03476, allocations: 7.777 MB / 0.5245 GB, free: 32.2 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0057/0.04046, allocations: 117.8 kB / 0.5247 GB, free: 32.15 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004179/0.04464, allocations: 1.096 MB / 0.5257 GB, free: 31.54 MB / 478.1 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.007826/0.05246, allocations: 1.673 MB / 0.5274 GB, free: 30.39 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation WTG3.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation WTG3.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation WTG3.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation WTG3.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.00934/0.0618, allocations: 3.758 MB / 0.531 GB, free: 28.04 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01052/0.07232, allocations: 6.68 MB / 0.5376 GB, free: 24.39 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004755/0.07707, allocations: 1.5 MB / 0.539 GB, free: 23.45 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004516/0.08159, allocations: 2.254 MB / 0.5412 GB, free: 22.2 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003925/0.08552, allocations: 1.971 MB / 0.5431 GB, free: 21.3 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002304/0.08782, allocations: 0.7008 MB / 0.5438 GB, free: 21.3 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003266/0.09109, allocations: 1.028 MB / 0.5448 GB, free: 21.21 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002354/0.09344, allocations: 1.489 MB / 0.5463 GB, free: 20.12 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00478/0.09822, allocations: 1.777 MB / 0.548 GB, free: 18.99 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0131/0.1113, allocations: 8.79 MB / 0.5566 GB, free: 12.03 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.1113, allocations: 1.094 kB / 0.5566 GB, free: 12.03 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1113, allocations: 0 / 0.5566 GB, free: 12.03 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003941/0.1117, allocations: 0 / 0.5566 GB, free: 12.03 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.02591/0.1376, allocations: 6.867 MB / 0.5633 GB, free: 7.309 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1377, allocations: 10 kB / 0.5633 GB, free: 7.309 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00703/0.1447, allocations: 1.196 MB / 0.5645 GB, free: 6.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008086/0.1528, allocations: 3.35 MB / 0.5678 GB, free: 3.859 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008065/0.1536, allocations: 1.291 MB / 0.569 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.1546, allocations: 359.9 kB / 0.5694 GB, free: 1.988 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01245/0.1671, allocations: 4.879 MB / 0.5741 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001212/0.1672, allocations: 15.94 kB / 0.5742 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009998/0.1682, allocations: 152 kB / 0.5743 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.1683, allocations: 84 kB / 0.5744 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.179, allocations: 3.675 MB / 0.578 GB, free: 8.859 MB / 494.1 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.03009/0.2091, allocations: 12.98 MB / 0.5906 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009643/0.2188, allocations: 3.369 MB / 0.5939 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004087/0.2228, allocations: 1.534 MB / 0.5954 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.2231, allocations: 46.36 kB / 0.5955 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005241/0.2284, allocations: 2.185 MB / 0.5976 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=287): time 6.783e-06/0.2284, allocations: 4 kB / 0.5976 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=287): time 0.01663/0.245, allocations: 5.483 MB / 0.603 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003642/0.2454, allocations: 0.576 MB / 0.6035 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008956/0.2543, allocations: 3.917 MB / 0.6074 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009196/0.2553, allocations: 93.69 kB / 0.6074 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002792/0.2581, allocations: 2.046 MB / 0.6094 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002042/0.2601, allocations: 1.023 MB / 0.6104 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002892/0.263, allocations: 0.8076 MB / 0.6112 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2631, allocations: 309.1 kB / 0.6115 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00516/0.2683, allocations: 1.942 MB / 0.6134 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006791/0.2751, allocations: 3.124 MB / 0.6165 GB, free: 492 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03688/0.312, allocations: 9.762 MB / 0.626 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-05/0.312, allocations: 4 kB / 0.626 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of matching and sorting (n=575) (initialization): time 0.01775/0.3297, allocations: 5.638 MB / 0.6315 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.3299, allocations: 69.66 kB / 0.6316 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.615e-05/0.3299, allocations: 16.16 kB / 0.6316 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009673/0.3309, allocations: 384.6 kB / 0.632 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007818/0.3387, allocations: 1.408 MB / 0.6333 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005807/0.3445, allocations: 2.966 MB / 0.6362 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0053/0.3498, allocations: 0.5014 MB / 0.6367 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009297/0.3507, allocations: 156 kB / 0.6369 GB, free: 11.11 MB / 0.545 GB 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.omegaRefWTGQPu0 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.008635/0.3594, allocations: 2.794 MB / 0.6396 GB, free: 8.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006493/0.3659, allocations: 3.065 MB / 0.6426 GB, free: 4.895 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03662/0.4025, allocations: 9.622 MB / 0.652 GB, free: 11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.45e-05/0.4025, allocations: 4 kB / 0.652 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=575) (initialization_lambda0): time 0.01694/0.4194, allocations: 5.525 MB / 0.6574 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.4196, allocations: 73.59 kB / 0.6575 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/0.4196, allocations: 12 kB / 0.6575 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009076/0.4205, allocations: 381.2 kB / 0.6578 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007346/0.4278, allocations: 1.397 MB / 0.6592 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005605/0.4334, allocations: 2.972 MB / 0.6621 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005216/0.4387, allocations: 485.9 kB / 0.6626 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008774/0.4395, allocations: 155.9 kB / 0.6627 GB, free: 15.81 MB / 0.5762 GB 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.omegaRefWTGQPu0 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.injector.switchOffSignal3,WTG3.injector.switchOffSignal2,WTG3.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,WTG3.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG3.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$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.QConv0PuNeg.k,WTG3.wecc_regc.QConv0PuPos.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,WTG3.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG3.wecc_reec.limPIDFreeze.I.resetLocal,WTG3.pll.limIntegrator.local_reset,WTG3.pll.integrator.local_reset,WTG3.wecc_repc.limPIDFreeze.I.resetLocal,WTG3.wecc_repc.limPID.I.local_reset,WTG3.wecc_wtgt.dOmegaGenerator.local_reset,WTG3.wecc_wtgt.dOmegaTurbine.local_reset,WTG3.wecc_wtgt.dPhi.local_reset,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 535 * 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.002097/0.4416, allocations: 0.588 MB / 0.6633 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001806/0.4434, allocations: 445.1 kB / 0.6637 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/0.4559, allocations: 4.134 MB / 0.6677 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-05/0.4559, allocations: 28 kB / 0.6678 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/0.4559, allocations: 4 kB / 0.6678 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-05/0.4559, allocations: 23.92 kB / 0.6678 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02056/0.4765, allocations: 8.121 MB / 0.6757 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.4765, allocations: 8 kB / 0.6757 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006609/0.4831, allocations: 1.073 MB / 0.6768 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009368/0.4841, allocations: 371.7 kB / 0.6771 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004276/0.4845, allocations: 83.97 kB / 0.6772 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005421/0.4899, allocations: 2.957 MB / 0.6801 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.4899, allocations: 8.031 kB / 0.6801 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01728/0.5072, allocations: 6.539 MB / 0.6865 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003267/0.5105, allocations: 0.8829 MB / 0.6874 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001384/0.5119, allocations: 79.98 kB / 0.6874 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003544/0.5154, allocations: 271.7 kB / 0.6877 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008772/0.5163, allocations: 305.4 kB / 0.688 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002829/0.5166, allocations: 91.97 kB / 0.6881 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005671/0.5222, allocations: 2.545 MB / 0.6906 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5222, allocations: 0 / 0.6906 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006873/0.5291, allocations: 1.972 MB / 0.6925 GB, free: 0.7812 MB / 0.5919 GB 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 (284): * Single equations (assignments): 270 * 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.002059/0.5312, allocations: 0.5589 MB / 0.693 GB, free: 404 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01918/0.5503, allocations: 7.317 MB / 0.7002 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.592e-05/0.5504, allocations: 7.859 kB / 0.7002 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.006845/0.5572, allocations: 2.561 MB / 0.7027 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005804/0.563, allocations: 0.6371 MB / 0.7033 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02299/0.586, allocations: 8.748 MB / 0.7119 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003437/0.5894, allocations: 1.876 MB / 0.7137 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004869/0.5943, allocations: 0.5767 MB / 0.7142 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/0.596, allocations: 264.5 kB / 0.7145 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of SimCode: time 1.703e-06/0.596, allocations: 3.938 kB / 0.7145 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of Templates: time 0.3383/0.9343, allocations: 51.89 MB / 0.7652 GB, free: 199.9 MB / 0.6387 GB " [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=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 9.59950802847743]