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.0008626/0.0008626, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001224/0.002087, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007545/0.0007545, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009979/0.001752, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9071/0.9071, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1464/1.054, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/GridFollowing/FourVSC/FourVSCDynamicLinesPlant.mo:214:26-227:16:writable] Warning: Lexer treating \\ as \\\\, since \\ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/GridFollowing/FourVSC/FourVSCDynamicLinesPlant.mo:214:26-229:28:writable] Warning: Lexer treating \\ as \\\\, since \\ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.5437/0.5437, allocations: 106.6 MB / 328 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05873/0.6024, allocations: 37.9 MB / 365.9 MB, free: 8.984 MB / 362.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) 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.853e-06/1.853e-06, allocations: 0 / 367.5 MB, free: 7.426 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.409e-05, allocations: 6.25 kB / 367.5 MB, free: 7.418 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb): time 0.01618/0.01621, allocations: 17.25 MB / 384.7 MB, free: 6.109 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.02848, allocations: 8.36 MB / 393.1 MB, free: 13.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.03043, allocations: 115.2 kB / 393.2 MB, free: 13.62 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.03194, allocations: 1.135 MB / 394.3 MB, free: 12.47 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002482/0.03442, allocations: 1.859 MB / 396.2 MB, free: 10.6 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:87:3-87:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wtgCurrentSource_INIT.s0Pu) == 0.0, == on Real operands is not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] Notification: Performance of NFTyping.typeClassSections: time 0.006755/0.04118, allocations: 3.646 MB / 399.8 MB, free: 6.949 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006567/0.04774, allocations: 6.658 MB / 406.5 MB, free: 280 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/0.04955, allocations: 1.575 MB / 408.1 MB, free: 14.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003842/0.0534, allocations: 4.424 MB / 412.5 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.05504, allocations: 2.044 MB / 414.5 MB, free: 8.051 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008183/0.05586, allocations: 0.7148 MB / 415.3 MB, free: 7.336 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.05702, allocations: 1.062 MB / 416.3 MB, free: 6.273 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006946/0.05772, allocations: 1.153 MB / 417.5 MB, free: 5.117 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.05879, allocations: 1.434 MB / 418.9 MB, free: 3.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003686/0.06247, allocations: 4.331 MB / 423.2 MB, free: 15.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.06248, allocations: 4 kB / 423.2 MB, free: 15.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.06249, allocations: 0 / 423.2 MB, free: 15.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.728e-05/0.06253, allocations: 0 / 423.2 MB, free: 15.33 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.00838/0.07091, allocations: 7.832 MB / 431.1 MB, free: 7.383 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.07095, allocations: 8.031 kB / 431.1 MB, free: 7.375 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004117/0.07506, allocations: 1.85 MB / 432.9 MB, free: 5.523 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003357/0.07842, allocations: 2.107 MB / 435 MB, free: 3.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006836/0.0791, allocations: 1.245 MB / 436.3 MB, free: 1.879 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004296/0.07953, allocations: 375.9 kB / 436.7 MB, free: 1.512 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004162/0.0837, allocations: 3.456 MB / 440.1 MB, free: 13.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.737e-05/0.08375, allocations: 7.938 kB / 440.1 MB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000243/0.084, allocations: 156 kB / 440.3 MB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-05/0.08406, allocations: 91.98 kB / 440.4 MB, free: 13.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.08617, allocations: 1.097 MB / 441.5 MB, free: 12.38 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.09821, allocations: 9.57 MB / 451 MB, free: 2.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.1011, allocations: 1.696 MB / 452.7 MB, free: 0.8477 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000778/0.1019, allocations: 483.7 kB / 453.2 MB, free: 372 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.1021, allocations: 62.03 kB / 453.3 MB, free: 308 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2074/0.3095, allocations: 1.202 MB / 454.5 MB, free: 47.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=300): time 8.927e-06/0.3095, allocations: 1.688 kB / 454.5 MB, free: 47.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=300): time 0.004954/0.3144, allocations: 2.023 MB / 456.5 MB, free: 47.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.3145, allocations: 125.9 kB / 456.6 MB, free: 46.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003429/0.3179, allocations: 3.006 MB / 459.6 MB, free: 46.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001728/0.3181, allocations: 97.59 kB / 459.7 MB, free: 46.56 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008512/0.3189, allocations: 1.436 MB / 461.1 MB, free: 46.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006168/0.3195, allocations: 1.081 MB / 462.2 MB, free: 45.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009607/0.3205, allocations: 0.8492 MB / 463.1 MB, free: 45.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.912e-05/0.3205, allocations: 304.6 kB / 463.4 MB, free: 45.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.3219, allocations: 0.8155 MB / 464.2 MB, free: 45.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.3233, allocations: 1.96 MB / 466.1 MB, free: 44.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003823/0.3271, allocations: 3.683 MB / 469.8 MB, free: 43.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/0.3272, allocations: 8.125 kB / 469.8 MB, free: 43.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.003966/0.3311, allocations: 3.051 MB / 472.9 MB, free: 43.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.296e-05/0.3312, allocations: 66.67 kB / 473 MB, free: 43.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.3312, allocations: 15.11 kB / 473 MB, free: 43.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006349/0.3318, allocations: 324.4 kB / 473.3 MB, free: 43.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002918/0.3348, allocations: 1.449 MB / 474.7 MB, free: 43.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.3365, allocations: 1.854 MB / 476.6 MB, free: 42.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.338, allocations: 461.4 kB / 477 MB, free: 41.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.3381, allocations: 116.1 kB / 477.2 MB, free: 41.86 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.omegaRefWTGQ0Pu 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.00185/0.34, allocations: 1.134 MB / 478.3 MB, free: 41.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001346/0.3413, allocations: 1.95 MB / 480.2 MB, free: 40.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003476/0.3448, allocations: 3.662 MB / 483.9 MB, free: 38.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.178e-06/0.3448, allocations: 4 kB / 483.9 MB, free: 38.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=598) (initialization_lambda0): time 0.003488/0.3483, allocations: 3.045 MB / 486.9 MB, free: 35.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/0.3484, allocations: 67.28 kB / 487 MB, free: 35.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.3484, allocations: 12 kB / 487 MB, free: 35.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005017/0.3489, allocations: 329 kB / 487.3 MB, free: 35.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002738/0.3516, allocations: 1.431 MB / 488.8 MB, free: 34.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.3534, allocations: 1.859 MB / 490.6 MB, free: 32.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.3549, allocations: 435.2 kB / 491.1 MB, free: 32.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.3551, allocations: 121 kB / 491.2 MB, free: 32.02 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.omegaRefWTGQ0Pu 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.switchOffSignal1,Unit.switchOffSignal2,Unit.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 (560): * Single equations (assignments): 558 * 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.0007055/0.3558, allocations: 0.594 MB / 491.8 MB, free: 31.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004381/0.3562, allocations: 357.9 kB / 492.1 MB, free: 31.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.3586, allocations: 1.805 MB / 493.9 MB, free: 29.76 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.3587, allocations: 32 kB / 494 MB, free: 29.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3587, allocations: 0.5469 kB / 494 MB, free: 29.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.3587, allocations: 19.94 kB / 494 MB, free: 29.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005199/0.3639, allocations: 4.286 MB / 498.3 MB, free: 26.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.3639, allocations: 4 kB / 498.3 MB, free: 26.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/0.3663, allocations: 1.018 MB / 499.3 MB, free: 25.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007518/0.367, allocations: 475.5 kB / 499.8 MB, free: 24.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005091/0.3676, allocations: 315.7 kB / 0.4883 GB, free: 24.51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.3677, allocations: 71.5 kB / 0.4884 GB, free: 24.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/0.3692, allocations: 1.833 MB / 0.4902 GB, free: 22.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.3692, allocations: 11.75 kB / 0.4902 GB, free: 22.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/0.372, allocations: 2.662 MB / 0.4928 GB, free: 20.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/0.3723, allocations: 88.77 kB / 0.4929 GB, free: 20.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009351/0.3732, allocations: 206.1 kB / 0.4931 GB, free: 19.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003487/0.3736, allocations: 296.7 kB / 0.4934 GB, free: 19.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.3737, allocations: 75.28 kB / 0.4934 GB, free: 19.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001115/0.3748, allocations: 1.585 MB / 0.495 GB, free: 18.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3748, allocations: 0 / 0.495 GB, free: 18.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00262/0.3774, allocations: 2.049 MB / 0.497 GB, free: 16.5 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 (297): * Single equations (assignments): 283 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001265/0.3787, allocations: 0.651 MB / 0.4976 GB, free: 16.22 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005209/0.3839, allocations: 4.59 MB / 0.5021 GB, free: 12.15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.966e-05/0.384, allocations: 64.38 kB / 0.5022 GB, free: 12.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.3854, allocations: 1.233 MB / 0.5034 GB, free: 10.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/0.3879, allocations: 3.231 MB / 0.5065 GB, free: 7.281 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009839/0.3977, allocations: 7.941 MB / 0.5143 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.3984, allocations: 0.7348 MB / 0.515 GB, free: 14.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001784/0.4002, allocations: 0.5974 MB / 0.5156 GB, free: 13.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001782/0.4019, allocations: 0.7352 MB / 0.5163 GB, free: 13.16 MB / 458.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4019, allocations: 0 / 0.5163 GB, free: 13.16 MB / 458.7 MB Notification: Performance of Templates: time 0.07609/0.478, allocations: 61.6 MB / 0.5765 GB, free: 196 kB / 0.4948 GB " [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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.261191787198186]