Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.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.001367/0.001367, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.001552/0.001552, allocations: 169 kB / 24.17 MB, free: 336 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.8393/0.8393, allocations: 158.6 MB / 186 MB, free: 2.777 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.4357/0.4357, allocations: 90.87 MB / 329.2 MB, free: 14.23 MB / 314.7 MB " [Timeout remaining time 180] 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) Running command: translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.HvMeasurements.PPu|Unit.HvMeasurements.QPu|Unit.HvMeasurements.UPu|Unit.LvMeasurements.PPu|Unit.LvMeasurements.QPu|Unit.LvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.HvMeasurements.PPu|Unit.HvMeasurements.QPu|Unit.HvMeasurements.UPu|Unit.LvMeasurements.PPu|Unit.LvMeasurements.QPu|Unit.LvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 380.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.503e-05, allocations: 6.25 kB / 380.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb): time 0.01304/0.01307, allocations: 16.9 MB / 397.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.0241, allocations: 8.226 MB / 406 MB, free: 1.848 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.02602, allocations: 115.2 kB / 406.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.02767, allocations: 1.112 MB / 407.2 MB, free: 0.6133 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002627/0.0303, allocations: 1.711 MB / 408.9 MB, free: 14.89 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:113:3-113: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.004335/0.03463, allocations: 3.747 MB / 412.6 MB, free: 11.14 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004658/0.03929, allocations: 6.731 MB / 419.4 MB, free: 4.387 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.0409, allocations: 1.557 MB / 420.9 MB, free: 2.742 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.04281, allocations: 2.286 MB / 423.2 MB, free: 460 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/0.04429, allocations: 2.025 MB / 425.2 MB, free: 14.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005869/0.04488, allocations: 0.7031 MB / 425.9 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009762/0.04585, allocations: 1.031 MB / 427 MB, free: 12.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007536/0.04661, allocations: 1.499 MB / 428.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.04774, allocations: 1.799 MB / 430.3 MB, free: 9.371 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003547/0.05129, allocations: 4.662 MB / 434.9 MB, free: 4.691 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.05129, allocations: 0 / 434.9 MB, free: 4.691 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.05129, allocations: 0 / 434.9 MB, free: 4.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.81e-05/0.05133, allocations: 0 / 434.9 MB, free: 4.691 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.00761/0.05894, allocations: 6.777 MB / 441.7 MB, free: 13.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.05897, allocations: 8.031 kB / 441.7 MB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002888/0.06186, allocations: 1.496 MB / 443.2 MB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.06426, allocations: 2.111 MB / 445.3 MB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005048/0.06476, allocations: 1.183 MB / 446.5 MB, free: 8.746 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003198/0.06508, allocations: 379.9 kB / 446.9 MB, free: 8.375 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003021/0.0681, allocations: 3.424 MB / 450.3 MB, free: 4.637 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.546e-05/0.06815, allocations: 3.938 kB / 450.3 MB, free: 4.633 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001913/0.06834, allocations: 148 kB / 450.5 MB, free: 4.488 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-05/0.06838, allocations: 91.98 kB / 450.5 MB, free: 4.398 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.06995, allocations: 1.085 MB / 451.6 MB, free: 3.293 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009164/0.07912, allocations: 9.425 MB / 461.1 MB, free: 9.648 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.08129, allocations: 1.676 MB / 462.7 MB, free: 7.953 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005783/0.08187, allocations: 467.4 kB / 463.2 MB, free: 7.496 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/0.08206, allocations: 81.95 kB / 463.3 MB, free: 7.414 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.08316, allocations: 1.178 MB / 464.4 MB, free: 6.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=293): time 3.907e-06/0.08316, allocations: 0 / 464.4 MB, free: 6.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=293): time 0.003218/0.08638, allocations: 1.996 MB / 466.4 MB, free: 4.137 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/0.08653, allocations: 0.5799 MB / 467 MB, free: 3.426 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.0887, allocations: 3.005 MB / 470 MB, free: 392 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001382/0.08883, allocations: 93.69 kB / 470.1 MB, free: 292 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1468/0.2357, allocations: 1.424 MB / 471.5 MB, free: 70.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/0.2367, allocations: 1.056 MB / 472.6 MB, free: 69.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009617/0.2377, allocations: 0.8326 MB / 473.4 MB, free: 69.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.673e-05/0.2377, allocations: 303 kB / 473.7 MB, free: 69.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.239, allocations: 0.7717 MB / 474.5 MB, free: 69.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.2406, allocations: 1.906 MB / 476.4 MB, free: 67.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003972/0.2446, allocations: 3.37 MB / 479.8 MB, free: 67.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/0.2446, allocations: 3.125 kB / 479.8 MB, free: 67.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=585) (initialization): time 0.003914/0.2485, allocations: 2.935 MB / 482.7 MB, free: 67.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.634e-05/0.2485, allocations: 72.16 kB / 482.8 MB, free: 66.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.2486, allocations: 12.31 kB / 482.8 MB, free: 66.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006335/0.2492, allocations: 327.7 kB / 483.1 MB, free: 66.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/0.2517, allocations: 1.257 MB / 484.4 MB, free: 66.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.2534, allocations: 1.846 MB / 486.2 MB, free: 65.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.2548, allocations: 443.5 kB / 486.7 MB, free: 65.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.255, allocations: 116.7 kB / 486.8 MB, free: 65.66 MB / 442.7 MB Warning: Assuming fixed start value for the following 37 variables: Unit.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Xcc_a.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.running:DISCRETE(flow=false start = Xcc_a.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.HvTfo.running:DISCRETE(flow=false start = Unit.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.LvTfo.running:DISCRETE(flow=false start = Unit.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001899/0.2569, allocations: 1.094 MB / 487.9 MB, free: 65.49 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001356/0.2582, allocations: 1.899 MB / 489.8 MB, free: 64.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003313/0.2615, allocations: 3.346 MB / 493.1 MB, free: 63.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.178e-05/0.2615, allocations: 3.781 kB / 493.1 MB, free: 63.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=585) (initialization_lambda0): time 0.003436/0.265, allocations: 2.935 MB / 496 MB, free: 62.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.265, allocations: 68.14 kB / 496.1 MB, free: 62.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.265, allocations: 12 kB / 496.1 MB, free: 62.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005101/0.2655, allocations: 331.3 kB / 496.4 MB, free: 62.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/0.2679, allocations: 1.241 MB / 497.7 MB, free: 61.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.2694, allocations: 1.85 MB / 499.5 MB, free: 60.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.2707, allocations: 430.1 kB / 500 MB, free: 59.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.2708, allocations: 117.4 kB / 0.4884 GB, free: 59.73 MB / 442.7 MB Warning: Assuming fixed start value for the following 37 variables: Unit.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Xcc_a.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.running:DISCRETE(flow=false start = Xcc_a.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.HvTfo.running:DISCRETE(flow=false start = Unit.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.LvTfo.running:DISCRETE(flow=false start = Unit.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.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.Unit.LvTfo.state,Unit.LvTfo.state,$PRE.Unit.injector.state,Unit.injector.state,$PRE.Unit.HvTfo.state,Unit.HvTfo.state,$PRE.Xcc_a.state,Xcc_a.state,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset,Unit.wecc_wtgt.dPhi.local_reset,Unit.wecc_wtgt.dOmegaTurbine.local_reset,Unit.wecc_wtgt.dOmegaGenerator.local_reset,Unit.wecc_repc.limPID.I.local_reset,Unit.wecc_repc.limPIDFreeze.I.resetLocal,Unit.pll.integrator.local_reset,Unit.pll.limIntegrator.local_reset,Unit.wecc_reec.limPIDFreeze.I.resetLocal,Unit.wecc_reec.varLimPIDFreeze.I.resetLocal,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.injector.switchOffSignal1,Unit.injector.switchOffSignal2,Unit.injector.switchOffSignal3,Xcc_a.switchOffSignal1,Xcc_a.switchOffSignal2,$PRE.Xcc_a.running,$PRE.Unit.HvTfo.running,$PRE.Unit.wecc_regc.offDelay.delaySignal,$PRE.Unit.wecc_regc.offDelay.tNext,$PRE.Unit.injector.running,$PRE.Unit.wecc_reec.iqInjectionLogic.vDip,$PRE.Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.Unit.LvTfo.running,Unit.wecc_regc.QConv0PuPos.k,Unit.wecc_regc.QConv0PuNeg.k,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDip,$PRE.Unit.wecc_regc.offDelay.u,Unit.LvTfo.running,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.injector.running,Unit.wecc_repc.freeze,Unit.wecc_regc.and2.y,Unit.wecc_regc.and1.y,Unit.wecc_regc.and1.u[2],Unit.wecc_regc.offDelay.tNext,Unit.wecc_regc.offDelay.delaySignal,Unit.wecc_regc.offDelay.u,Unit.HvTfo.running,Xcc_a.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 (547): * Single equations (assignments): 545 * 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.0005454/0.2713, allocations: 0.5921 MB / 0.4889 GB, free: 59.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003548/0.2717, allocations: 355.7 kB / 0.4893 GB, free: 59.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.2738, allocations: 1.784 MB / 0.491 GB, free: 58.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.2738, allocations: 28 kB / 0.491 GB, free: 58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.2738, allocations: 4 kB / 0.491 GB, free: 58 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.2738, allocations: 16.55 kB / 0.4911 GB, free: 58 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004712/0.2786, allocations: 4.129 MB / 0.4951 GB, free: 54.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.2786, allocations: 4 kB / 0.4951 GB, free: 54.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002263/0.2808, allocations: 0.9034 MB / 0.496 GB, free: 53.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005344/0.2814, allocations: 305.4 kB / 0.4963 GB, free: 53.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/0.2815, allocations: 79.22 kB / 0.4963 GB, free: 53.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.283, allocations: 1.814 MB / 0.4981 GB, free: 51.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.283, allocations: 7.188 kB / 0.4981 GB, free: 51.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002751/0.2857, allocations: 2.623 MB / 0.5007 GB, free: 49.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007242/0.2865, allocations: 465.1 kB / 0.5011 GB, free: 48.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003091/0.2868, allocations: 81.8 kB / 0.5012 GB, free: 48.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009182/0.2877, allocations: 207.8 kB / 0.5014 GB, free: 48.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/0.288, allocations: 291.4 kB / 0.5017 GB, free: 48.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.2881, allocations: 72.2 kB / 0.5017 GB, free: 48.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001085/0.2892, allocations: 1.581 MB / 0.5033 GB, free: 47.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-07/0.2892, allocations: 0 / 0.5033 GB, free: 47.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002379/0.2916, allocations: 1.992 MB / 0.5052 GB, free: 45.26 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 28 (Unit.wecc_wtgp.limitedIntegrator.y,Unit.wecc_wtgp.limitedIntegrator1.y,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.y,Unit.wecc_wtgq.firstOrder.y,Unit.wecc_wtgq.firstOrder1.y,Unit.wecc_wtgq.limitedIntegratorFreeze.y,Unit.wecc_wtgt.dPhi.y,Unit.wecc_wtgt.dOmegaTurbine.y,Unit.wecc_wtgt.dOmegaGenerator.y,Unit.wecc_regc.rateLimFirstOrderFreeze2.y,Unit.wecc_regc.rateLimFirstOrderFreeze1.y,Unit.wecc_regc.firstOrder.y,Unit.wecc_repc.firstOrder.y,Unit.wecc_repc.limPID.I.y,Unit.wecc_repc.firstOrder1.y,Unit.wecc_repc.firstOrder2.y,Unit.wecc_repc.firstOrder3.y,Unit.wecc_repc.limPIDFreeze.I.y,Unit.wecc_repc.leadLag.x_scaled[1],Unit.pll.integrator.y,Unit.pll.limIntegrator.y,Unit.wecc_reec.firstOrder.y,Unit.wecc_reec.firstOrder1.y,Unit.wecc_reec.limPIDFreeze.I.y,Unit.wecc_reec.rateLimFirstOrderFreeze1.y,Unit.wecc_reec.slewRateLimiter.y,Unit.wecc_reec.rateLimFirstOrderFreeze.y,Unit.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,Xcc_a.running,Xcc_a.state,Unit.HvTfo.running,Unit.HvTfo.state,Unit.wecc_regc.offDelay.u,Unit.wecc_regc.offDelay.delaySignal,Unit.wecc_regc.offDelay.tNext,Unit.wecc_regc.and1.u[2],Unit.wecc_regc.and1.y,Unit.wecc_regc.and2.y,Unit.wecc_repc.freeze,Unit.injector.running,Unit.injector.state,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.LvTfo.running,Unit.LvTfo.state) * Number of discrete states: 10 (Unit.LvTfo.running,Unit.injector.running,Unit.HvTfo.running,Xcc_a.running,Unit.wecc_regc.offDelay.u,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_reec.currentLimitsCalculation1.ipMaxPu,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.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.001119/0.2927, allocations: 0.6162 MB / 0.5058 GB, free: 44.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004642/0.2973, allocations: 4.329 MB / 0.5101 GB, free: 41.19 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.802e-05/0.2974, allocations: 44.5 kB / 0.5101 GB, free: 41.15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.2984, allocations: 1.063 MB / 0.5111 GB, free: 40.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.2999, allocations: 0.722 MB / 0.5119 GB, free: 39.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007424/0.3074, allocations: 7.606 MB / 0.5193 GB, free: 31.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.3078, allocations: 0.716 MB / 0.52 GB, free: 31.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00147/0.3093, allocations: 0.5925 MB / 0.5206 GB, free: 30.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/0.3105, allocations: 0.7001 MB / 0.5212 GB, free: 29.81 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3105, allocations: 4 kB / 0.5212 GB, free: 29.81 MB / 442.7 MB Notification: Performance of Templates: time 0.05993/0.3704, allocations: 58.35 MB / 0.5782 GB, free: 3.949 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb_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.103076754137874]