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.0007994/0.0007994, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001817, allocations: 435.8 kB / 10.33 MB, free: 368 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.000711/0.000711, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008714/0.001582, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.029/1.029, allocations: 158.6 MB / 171 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1718/1.201, allocations: 49.49 MB / 220.5 MB, free: 1.441 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] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.5293/0.5293, allocations: 100.5 MB / 321.8 MB, free: 4.715 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05973/0.5891, allocations: 35.71 MB / 357.5 MB, free: 1.312 MB / 346.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.453e-06/1.453e-06, allocations: 3.938 kB / 359 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.47e-05, allocations: 2.312 kB / 359 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca): time 0.02156/0.02158, allocations: 17.24 MB / 376.3 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01562/0.0372, allocations: 8.362 MB / 384.6 MB, free: 6.094 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003344/0.04055, allocations: 115.2 kB / 384.8 MB, free: 5.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002015/0.04256, allocations: 1.128 MB / 385.9 MB, free: 4.844 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.003635/0.0462, allocations: 1.855 MB / 387.7 MB, free: 2.977 MB / 378.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.004898/0.0511, allocations: 3.638 MB / 391.4 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006863/0.05796, allocations: 6.666 MB / 398 MB, free: 8.648 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002669/0.06063, allocations: 1.567 MB / 399.6 MB, free: 6.992 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004435/0.06506, allocations: 4.431 MB / 404 MB, free: 2.477 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.06702, allocations: 2.048 MB / 406.1 MB, free: 432 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005698/0.06759, allocations: 0.7148 MB / 406.8 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.06877, allocations: 1.054 MB / 407.9 MB, free: 14.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006925/0.06946, allocations: 1.145 MB / 409 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.07052, allocations: 1.438 MB / 410.4 MB, free: 12.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004004/0.07452, allocations: 4.339 MB / 414.8 MB, free: 7.707 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.484e-05/0.07454, allocations: 0 / 414.8 MB, free: 7.707 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.07454, allocations: 0 / 414.8 MB, free: 7.707 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.517e-05/0.07458, allocations: 0 / 414.8 MB, free: 7.707 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.008343/0.08292, allocations: 7.837 MB / 422.6 MB, free: 15.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.08296, allocations: 12.03 kB / 422.6 MB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004086/0.08705, allocations: 1.851 MB / 424.5 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002562/0.08961, allocations: 2.099 MB / 426.6 MB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006601/0.09027, allocations: 1.245 MB / 427.8 MB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003307/0.0906, allocations: 387.9 kB / 428.2 MB, free: 9.879 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00316/0.09376, allocations: 3.445 MB / 431.6 MB, free: 6.117 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.476e-05/0.09381, allocations: 7.938 kB / 431.6 MB, free: 6.109 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.094, allocations: 152 kB / 431.8 MB, free: 5.961 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/0.09404, allocations: 88 kB / 431.9 MB, free: 5.875 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.09563, allocations: 1.105 MB / 433 MB, free: 4.75 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.00972/0.1054, allocations: 9.578 MB / 442.6 MB, free: 10.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/0.1075, allocations: 1.698 MB / 444.3 MB, free: 9.227 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006093/0.1081, allocations: 487.6 kB / 444.7 MB, free: 8.738 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.1083, allocations: 74.02 kB / 444.8 MB, free: 8.664 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.1095, allocations: 1.204 MB / 446 MB, free: 7.402 MB / 442.7 MB Notification: Performance of pre-optimization done (n=300): time 4.799e-06/0.1095, allocations: 0 / 446 MB, free: 7.402 MB / 442.7 MB Notification: Performance of matching and sorting (n=300): time 0.003231/0.1127, allocations: 2.02 MB / 448 MB, free: 5.336 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.1128, allocations: 131.2 kB / 448.2 MB, free: 5.188 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/0.1151, allocations: 3.009 MB / 451.2 MB, free: 2.141 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.1152, allocations: 97.69 kB / 451.3 MB, free: 2.039 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007119/0.116, allocations: 1.428 MB / 452.7 MB, free: 0.5977 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1901/0.3061, allocations: 1.077 MB / 453.8 MB, free: 53.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/0.3073, allocations: 0.849 MB / 454.6 MB, free: 53.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.127e-05/0.3073, allocations: 302.9 kB / 454.9 MB, free: 53.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.3089, allocations: 0.8166 MB / 455.7 MB, free: 53.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001884/0.3108, allocations: 1.954 MB / 457.7 MB, free: 51.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004769/0.3155, allocations: 3.512 MB / 461.2 MB, free: 51.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/0.3155, allocations: 3.969 kB / 461.2 MB, free: 51.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.004681/0.3202, allocations: 3.047 MB / 464.3 MB, free: 51.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.129e-05/0.3203, allocations: 73.84 kB / 464.3 MB, free: 51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/0.3203, allocations: 12.09 kB / 464.3 MB, free: 51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007313/0.3211, allocations: 325.6 kB / 464.7 MB, free: 50.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003074/0.3241, allocations: 1.448 MB / 466.1 MB, free: 50.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/0.326, allocations: 1.852 MB / 468 MB, free: 49.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.3277, allocations: 455 kB / 468.4 MB, free: 49.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/0.3279, allocations: 122.2 kB / 468.5 MB, free: 49.87 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.00228/0.3302, allocations: 1.135 MB / 469.7 MB, free: 49.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001502/0.3317, allocations: 1.954 MB / 471.6 MB, free: 48.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003593/0.3353, allocations: 3.487 MB / 475.1 MB, free: 47.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-05/0.3353, allocations: 3.906 kB / 475.1 MB, free: 47.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=598) (initialization_lambda0): time 0.003698/0.339, allocations: 3.044 MB / 478.1 MB, free: 47.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.3391, allocations: 71.33 kB / 478.2 MB, free: 47.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.3391, allocations: 11.34 kB / 478.2 MB, free: 47.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005201/0.3396, allocations: 326.3 kB / 478.5 MB, free: 47.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002772/0.3424, allocations: 1.434 MB / 480 MB, free: 46.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.3443, allocations: 1.86 MB / 481.8 MB, free: 45.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.3457, allocations: 434.2 kB / 482.3 MB, free: 45.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.3459, allocations: 121.7 kB / 482.4 MB, free: 45.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.0006449/0.3466, allocations: 0.5867 MB / 483 MB, free: 44.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003917/0.3469, allocations: 361.8 kB / 483.3 MB, free: 44.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.3493, allocations: 1.813 MB / 485.1 MB, free: 43.33 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.3493, allocations: 30.91 kB / 485.2 MB, free: 43.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3493, allocations: 4 kB / 485.2 MB, free: 43.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/0.3493, allocations: 21.72 kB / 485.2 MB, free: 43.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006038/0.3554, allocations: 4.288 MB / 489.5 MB, free: 40.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.3554, allocations: 4 kB / 489.5 MB, free: 40.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002846/0.3582, allocations: 1.021 MB / 490.5 MB, free: 39.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008759/0.3591, allocations: 477.8 kB / 491 MB, free: 39.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000538/0.3596, allocations: 304.9 kB / 491.3 MB, free: 39.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.3598, allocations: 70.28 kB / 491.3 MB, free: 39.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.3613, allocations: 1.84 MB / 493.2 MB, free: 37.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.3613, allocations: 7.281 kB / 493.2 MB, free: 37.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002891/0.3642, allocations: 2.658 MB / 495.8 MB, free: 34.72 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/0.3645, allocations: 93.22 kB / 495.9 MB, free: 34.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009904/0.3655, allocations: 209.4 kB / 496.1 MB, free: 34.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003466/0.3658, allocations: 296.6 kB / 496.4 MB, free: 34.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.366, allocations: 74.52 kB / 496.5 MB, free: 34.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001184/0.3671, allocations: 1.578 MB / 498.1 MB, free: 32.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3671, allocations: 0 / 498.1 MB, free: 32.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003012/0.3702, allocations: 2.044 MB / 0.4884 GB, free: 31.12 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.001295/0.3714, allocations: 0.6545 MB / 0.489 GB, free: 30.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005389/0.3768, allocations: 4.481 MB / 0.4934 GB, free: 26.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-05/0.3769, allocations: 68.38 kB / 0.4935 GB, free: 26.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.3781, allocations: 1.067 MB / 0.4945 GB, free: 25.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.3798, allocations: 0.9725 MB / 0.4955 GB, free: 25.17 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009462/0.3893, allocations: 7.934 MB / 0.5032 GB, free: 17.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.3899, allocations: 0.7347 MB / 0.5039 GB, free: 16.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001822/0.3917, allocations: 0.601 MB / 0.5045 GB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/0.393, allocations: 0.7196 MB / 0.5052 GB, free: 15.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.133e-06/0.393, allocations: 0 / 0.5052 GB, free: 15.16 MB / 442.7 MB Notification: Performance of Templates: time 0.07156/0.4646, allocations: 60.51 MB / 0.5643 GB, free: 3.27 MB / 490.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.389487495645881]