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.0007765/0.0007765, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001055/0.001832, 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.0006985/0.0006985, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008665/0.001565, 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.86/0.86, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1433/1.003, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.4996/0.4996, allocations: 106.6 MB / 328 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06077/0.5604, allocations: 37.91 MB / 365.9 MB, free: 8.977 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.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.332e-06/1.332e-06, allocations: 0 / 367.5 MB, free: 7.418 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.355e-05, allocations: 6.25 kB / 367.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca): time 0.0218/0.02182, allocations: 17.24 MB / 384.7 MB, free: 6.109 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01663/0.03845, allocations: 8.36 MB / 393.1 MB, free: 13.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004199/0.04265, allocations: 119.2 kB / 393.2 MB, free: 13.61 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003525/0.04617, allocations: 1.139 MB / 394.3 MB, free: 12.46 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.006481/0.05266, allocations: 1.844 MB / 396.2 MB, free: 10.61 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.006836/0.05949, allocations: 3.657 MB / 399.8 MB, free: 6.945 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009284/0.06878, allocations: 6.666 MB / 406.5 MB, free: 268 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003953/0.07273, allocations: 1.575 MB / 408.1 MB, free: 14.6 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007816/0.08054, allocations: 4.428 MB / 412.5 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002935/0.08348, allocations: 2.044 MB / 414.6 MB, free: 8.035 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002053/0.08553, allocations: 0.7109 MB / 415.3 MB, free: 7.324 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.08828, allocations: 1.066 MB / 416.3 MB, free: 6.258 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001576/0.08985, allocations: 1.149 MB / 417.5 MB, free: 5.105 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0027/0.09255, allocations: 1.438 MB / 418.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007564/0.1001, allocations: 4.328 MB / 423.3 MB, free: 15.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.791e-05/0.1001, allocations: 0 / 423.3 MB, free: 15.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1001, allocations: 0 / 423.3 MB, free: 15.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001533/0.1003, allocations: 0 / 423.3 MB, free: 15.32 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.01226/0.1125, allocations: 7.832 MB / 431.1 MB, free: 7.375 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1126, allocations: 12.03 kB / 431.1 MB, free: 7.363 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/0.1172, allocations: 1.85 MB / 432.9 MB, free: 5.512 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003829/0.121, allocations: 2.103 MB / 435 MB, free: 3.332 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006432/0.1217, allocations: 1.241 MB / 436.3 MB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000529/0.1222, allocations: 383.9 kB / 436.7 MB, free: 1.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004204/0.1264, allocations: 3.456 MB / 440.1 MB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-05/0.1264, allocations: 3.938 kB / 440.1 MB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002199/0.1267, allocations: 152 kB / 440.3 MB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.136e-05/0.1267, allocations: 92 kB / 440.4 MB, free: 13.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.1287, allocations: 1.105 MB / 441.5 MB, free: 12.36 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.0154/0.1441, allocations: 9.563 MB / 451 MB, free: 2.566 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003393/0.1475, allocations: 1.702 MB / 452.7 MB, free: 0.8398 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009766/0.1485, allocations: 479.7 kB / 453.2 MB, free: 368 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002351/0.1487, allocations: 66.03 kB / 453.3 MB, free: 300 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2139/0.3626, allocations: 1.195 MB / 454.5 MB, free: 47.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=300): time 1.505e-05/0.3626, allocations: 0 / 454.5 MB, free: 47.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=300): time 0.007298/0.3699, allocations: 2.025 MB / 456.5 MB, free: 46.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.73e-05/0.37, allocations: 125.8 kB / 456.6 MB, free: 46.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004978/0.375, allocations: 3.007 MB / 459.6 MB, free: 46.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005068/0.3755, allocations: 98.42 kB / 459.7 MB, free: 46.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.3768, allocations: 1.433 MB / 461.1 MB, free: 46.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001119/0.3779, allocations: 1.079 MB / 462.2 MB, free: 45.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/0.3791, allocations: 0.8575 MB / 463.1 MB, free: 45.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.201e-05/0.3791, allocations: 301.8 kB / 463.4 MB, free: 45.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/0.3809, allocations: 0.818 MB / 464.2 MB, free: 45.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/0.3833, allocations: 1.949 MB / 466.1 MB, free: 44.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005793/0.3891, allocations: 3.692 MB / 469.8 MB, free: 43.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.957e-05/0.3891, allocations: 6.406 kB / 469.8 MB, free: 43.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.005924/0.395, allocations: 3.045 MB / 472.9 MB, free: 43.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.976e-05/0.3951, allocations: 71.14 kB / 473 MB, free: 43.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/0.3952, allocations: 10.98 kB / 473 MB, free: 43.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000909/0.3961, allocations: 325 kB / 473.3 MB, free: 43.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00474/0.4008, allocations: 1.445 MB / 474.7 MB, free: 43.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.4032, allocations: 1.857 MB / 476.6 MB, free: 41.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/0.4066, allocations: 464.8 kB / 477 MB, free: 41.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005961/0.4072, allocations: 119.8 kB / 477.2 MB, free: 41.79 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.003565/0.4107, allocations: 1.137 MB / 478.3 MB, free: 41.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002167/0.4129, allocations: 1.952 MB / 480.2 MB, free: 40.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005732/0.4186, allocations: 3.658 MB / 483.9 MB, free: 38.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.008e-05/0.4186, allocations: 0.5469 kB / 483.9 MB, free: 38.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=598) (initialization_lambda0): time 0.005926/0.4246, allocations: 3.048 MB / 487 MB, free: 35.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.164e-05/0.4246, allocations: 67.42 kB / 487 MB, free: 35.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/0.4246, allocations: 15.98 kB / 487 MB, free: 35.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008022/0.4255, allocations: 320.7 kB / 487.3 MB, free: 35.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004384/0.4298, allocations: 1.434 MB / 488.8 MB, free: 34.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.4323, allocations: 1.858 MB / 490.6 MB, free: 32.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004016/0.4363, allocations: 435.4 kB / 491.1 MB, free: 32.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006719/0.437, allocations: 119.9 kB / 491.2 MB, free: 32.04 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.001306/0.4383, allocations: 0.586 MB / 491.8 MB, free: 31.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/0.4394, allocations: 357.2 kB / 492.1 MB, free: 31.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/0.4422, allocations: 1.811 MB / 493.9 MB, free: 29.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.4422, allocations: 32.77 kB / 494 MB, free: 29.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.4422, allocations: 0 / 494 MB, free: 29.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.4422, allocations: 19.94 kB / 494 MB, free: 29.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00639/0.4486, allocations: 4.293 MB / 498.3 MB, free: 26.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.4486, allocations: 4 kB / 498.3 MB, free: 26.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/0.4511, allocations: 1.017 MB / 499.3 MB, free: 25.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/0.4525, allocations: 473.5 kB / 499.8 MB, free: 24.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005531/0.453, allocations: 314.6 kB / 0.4883 GB, free: 24.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.4532, allocations: 76.72 kB / 0.4884 GB, free: 24.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/0.4548, allocations: 1.82 MB / 0.4902 GB, free: 22.83 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.4548, allocations: 11.09 kB / 0.4902 GB, free: 22.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003325/0.4582, allocations: 2.668 MB / 0.4928 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006545/0.4588, allocations: 85.17 kB / 0.4929 GB, free: 20.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.46, allocations: 212.1 kB / 0.4931 GB, free: 19.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004066/0.4604, allocations: 296.1 kB / 0.4934 GB, free: 19.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.4605, allocations: 74.12 kB / 0.4934 GB, free: 19.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0015/0.462, allocations: 1.582 MB / 0.495 GB, free: 18.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.462, allocations: 0 / 0.495 GB, free: 18.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00367/0.4657, allocations: 2.045 MB / 0.497 GB, free: 16.51 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.001562/0.4672, allocations: 0.6602 MB / 0.4976 GB, free: 16.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007553/0.4748, allocations: 4.596 MB / 0.5021 GB, free: 12.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001763/0.475, allocations: 64.38 kB / 0.5022 GB, free: 12.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002145/0.4771, allocations: 1.233 MB / 0.5034 GB, free: 10.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/0.4809, allocations: 3.232 MB / 0.5065 GB, free: 7.293 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.4929, allocations: 7.939 MB / 0.5143 GB, free: 15.26 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008498/0.4937, allocations: 0.7348 MB / 0.515 GB, free: 14.51 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002714/0.4964, allocations: 0.605 MB / 0.5156 GB, free: 13.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/0.498, allocations: 0.7352 MB / 0.5163 GB, free: 13.16 MB / 458.7 MB Notification: Performance of SimCode: time 1.803e-06/0.498, allocations: 4 kB / 0.5163 GB, free: 13.16 MB / 458.7 MB Notification: Performance of Templates: time 0.08971/0.5877, allocations: 61.59 MB / 0.5765 GB, free: 208 kB / 0.4948 GB " [Timeout remaining time 659] 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3521240167319775]