Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.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.001243/0.001243, allocations: 72.83 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.0014/0.0014, 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.8141/0.8141, allocations: 158.6 MB / 186 MB, free: 2.77 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.4417/0.4417, allocations: 90.87 MB / 329.2 MB, free: 14.26 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.SheetI2Xcca,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.SheetI2Xcca") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca,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.SheetI2Xcca") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 380.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.058e-05, allocations: 9.828 kB / 380.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca): time 0.01301/0.01303, allocations: 16.89 MB / 397.7 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.0235, allocations: 8.23 MB / 406 MB, free: 1.879 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.02504, allocations: 115.2 kB / 406.1 MB, free: 1.766 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.02653, allocations: 1.116 MB / 407.2 MB, free: 0.6406 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.002378/0.0289, allocations: 1.704 MB / 408.9 MB, free: 14.93 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.003961/0.03286, allocations: 3.755 MB / 412.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004372/0.03724, allocations: 6.724 MB / 419.4 MB, free: 4.418 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001634/0.03887, allocations: 1.557 MB / 420.9 MB, free: 2.773 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.04066, allocations: 2.294 MB / 423.2 MB, free: 484 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.04211, allocations: 2.021 MB / 425.2 MB, free: 14.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005977/0.0427, allocations: 0.7031 MB / 425.9 MB, free: 13.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009377/0.04364, allocations: 1.031 MB / 427 MB, free: 12.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007549/0.0444, allocations: 1.491 MB / 428.5 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.04553, allocations: 1.799 MB / 430.3 MB, free: 9.406 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003423/0.04895, allocations: 4.662 MB / 434.9 MB, free: 4.727 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.04895, allocations: 4 kB / 434.9 MB, free: 4.723 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.04896, allocations: 0 / 434.9 MB, free: 4.723 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.203e-05/0.04899, allocations: 0 / 434.9 MB, free: 4.723 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.007612/0.0566, allocations: 6.781 MB / 441.7 MB, free: 13.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.05663, allocations: 12.03 kB / 441.7 MB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/0.05952, allocations: 1.492 MB / 443.2 MB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/0.06189, allocations: 2.111 MB / 445.3 MB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004966/0.06238, allocations: 1.183 MB / 446.5 MB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003448/0.06273, allocations: 375.9 kB / 446.9 MB, free: 8.406 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/0.06567, allocations: 3.424 MB / 450.3 MB, free: 4.668 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.747e-05/0.06572, allocations: 7.938 kB / 450.3 MB, free: 4.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/0.06591, allocations: 156 kB / 450.5 MB, free: 4.508 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.112e-05/0.06595, allocations: 84 kB / 450.5 MB, free: 4.426 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.06748, allocations: 1.085 MB / 451.6 MB, free: 3.32 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.008962/0.07644, allocations: 9.421 MB / 461.1 MB, free: 9.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.07868, allocations: 1.685 MB / 462.7 MB, free: 7.977 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/0.07929, allocations: 471.4 kB / 463.2 MB, free: 7.516 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.07951, allocations: 69.97 kB / 463.3 MB, free: 7.445 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/0.08068, allocations: 1.182 MB / 464.4 MB, free: 6.203 MB / 442.7 MB Notification: Performance of pre-optimization done (n=293): time 4.078e-06/0.08068, allocations: 0 / 464.4 MB, free: 6.203 MB / 442.7 MB Notification: Performance of matching and sorting (n=293): time 0.003389/0.08407, allocations: 2.005 MB / 466.5 MB, free: 4.156 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.08424, allocations: 0.5761 MB / 467 MB, free: 3.449 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/0.08645, allocations: 3.001 MB / 470 MB, free: 420 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.08659, allocations: 97.69 kB / 470.1 MB, free: 316 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1517/0.2383, allocations: 1.424 MB / 471.5 MB, free: 70.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009096/0.2392, allocations: 1.052 MB / 472.6 MB, free: 69.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009738/0.2402, allocations: 0.8341 MB / 473.4 MB, free: 69.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.896e-05/0.2402, allocations: 303 kB / 473.7 MB, free: 69.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.2416, allocations: 0.771 MB / 474.5 MB, free: 69.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.2432, allocations: 1.906 MB / 476.4 MB, free: 67.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003823/0.247, allocations: 3.373 MB / 479.8 MB, free: 67.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/0.247, allocations: 3.188 kB / 479.8 MB, free: 67.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=585) (initialization): time 0.003875/0.2509, allocations: 2.936 MB / 482.7 MB, free: 66.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.158e-05/0.251, allocations: 70.88 kB / 482.8 MB, free: 66.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.251, allocations: 12.12 kB / 482.8 MB, free: 66.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/0.2516, allocations: 324.8 kB / 483.1 MB, free: 66.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00258/0.2542, allocations: 1.255 MB / 484.4 MB, free: 66.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.2558, allocations: 1.84 MB / 486.2 MB, free: 65.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.2572, allocations: 446.1 kB / 486.6 MB, free: 65.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.2574, allocations: 121.4 kB / 486.8 MB, free: 65.61 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.001869/0.2593, allocations: 1.08 MB / 487.8 MB, free: 65.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001394/0.2606, allocations: 1.897 MB / 489.7 MB, free: 64.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003415/0.2641, allocations: 3.353 MB / 493.1 MB, free: 63.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.03e-05/0.2641, allocations: 3.75 kB / 493.1 MB, free: 63.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=585) (initialization_lambda0): time 0.003605/0.2677, allocations: 2.932 MB / 496 MB, free: 62.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.2677, allocations: 71.5 kB / 496.1 MB, free: 62.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.2677, allocations: 12.88 kB / 496.1 MB, free: 62.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000521/0.2683, allocations: 326.4 kB / 496.4 MB, free: 62.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003001/0.2713, allocations: 1.251 MB / 497.7 MB, free: 61.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.273, allocations: 1.852 MB / 499.5 MB, free: 60.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.2751, allocations: 431.8 kB / 500 MB, free: 59.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/0.2752, allocations: 115 kB / 0.4884 GB, free: 59.68 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.0007465/0.276, allocations: 0.5925 MB / 0.4889 GB, free: 59.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004674/0.2765, allocations: 352.8 kB / 0.4893 GB, free: 59.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.2788, allocations: 1.776 MB / 0.491 GB, free: 57.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.2788, allocations: 32 kB / 0.491 GB, free: 57.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2788, allocations: 0 / 0.491 GB, free: 57.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.2788, allocations: 20.17 kB / 0.4911 GB, free: 57.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005116/0.284, allocations: 4.129 MB / 0.4951 GB, free: 54.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.284, allocations: 8 kB / 0.4951 GB, free: 54.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002379/0.2863, allocations: 0.9037 MB / 0.496 GB, free: 53.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005424/0.2869, allocations: 305.1 kB / 0.4963 GB, free: 53.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/0.287, allocations: 76.08 kB / 0.4963 GB, free: 53.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/0.2886, allocations: 1.82 MB / 0.4981 GB, free: 51.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.2886, allocations: 11.38 kB / 0.4981 GB, free: 51.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/0.2916, allocations: 2.609 MB / 0.5007 GB, free: 49.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009038/0.2925, allocations: 465.6 kB / 0.5011 GB, free: 48.85 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003302/0.2928, allocations: 90.92 kB / 0.5012 GB, free: 48.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009819/0.2938, allocations: 201.3 kB / 0.5014 GB, free: 48.65 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003369/0.2942, allocations: 287.7 kB / 0.5017 GB, free: 48.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.2943, allocations: 78.08 kB / 0.5017 GB, free: 48.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001154/0.2954, allocations: 1.575 MB / 0.5033 GB, free: 47.03 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2954, allocations: 0 / 0.5033 GB, free: 47.03 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00276/0.2982, allocations: 1.99 MB / 0.5052 GB, free: 45.22 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.001213/0.2994, allocations: 0.6241 MB / 0.5058 GB, free: 44.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005195/0.3046, allocations: 4.334 MB / 0.5101 GB, free: 41.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.789e-05/0.3046, allocations: 40.5 kB / 0.5101 GB, free: 41.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.3058, allocations: 1.05 MB / 0.5111 GB, free: 40.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.3076, allocations: 0.7339 MB / 0.5118 GB, free: 39.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00835/0.316, allocations: 7.61 MB / 0.5193 GB, free: 31.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.3164, allocations: 0.7199 MB / 0.52 GB, free: 31.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001805/0.3182, allocations: 0.5889 MB / 0.5206 GB, free: 30.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/0.3196, allocations: 0.7001 MB / 0.5212 GB, free: 29.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.363e-06/0.3196, allocations: 0 / 0.5212 GB, free: 29.8 MB / 442.7 MB Notification: Performance of Templates: time 0.06433/0.3839, 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.SheetI2Xcca.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca_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.153988066129386]