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.0008766/0.0008766, allocations: 80.45 kB / 20.71 MB, free: 3.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008264/0.0008264, allocations: 169.6 kB / 23.98 MB, free: 0.5781 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8026/0.8026, allocations: 158.6 MB / 185.8 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.4047/0.4047, allocations: 90.27 MB / 328.3 MB, free: 15.01 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.HvMeasurements.PPu|Unit.HvMeasurements.QPu|Unit.HvMeasurements.UPu|Unit.LvMeasurements.PPu|Unit.LvMeasurements.QPu|Unit.LvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.HvMeasurements.PPu|Unit.HvMeasurements.QPu|Unit.HvMeasurements.UPu|Unit.LvMeasurements.PPu|Unit.LvMeasurements.QPu|Unit.LvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 1.344 kB / 0.4967 GB, free: 19.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.853e-05, allocations: 2.281 kB / 0.4967 GB, free: 19.38 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca): time 0.01412/0.01415, allocations: 16.24 MB / 0.5126 GB, free: 8.48 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01583/0.02998, allocations: 7.804 MB / 0.5202 GB, free: 2.816 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007249/0.03723, allocations: 114.2 kB / 0.5203 GB, free: 2.77 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004753/0.04198, allocations: 1.108 MB / 0.5214 GB, free: 2.145 MB / 442.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.006759/0.04874, allocations: 1.681 MB / 0.523 GB, free: 0.8398 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation Unit.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation Unit.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation Unit.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation Unit.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.007601/0.05634, allocations: 3.763 MB / 0.5267 GB, free: 13.82 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.009811/0.06616, allocations: 6.717 MB / 0.5332 GB, free: 9.438 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003181/0.06934, allocations: 1.503 MB / 0.5347 GB, free: 8.316 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003768/0.0731, allocations: 2.27 MB / 0.5369 GB, free: 6.793 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003403/0.07651, allocations: 1.999 MB / 0.5389 GB, free: 5.355 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001399/0.07791, allocations: 0.7011 MB / 0.5396 GB, free: 5.098 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.07964, allocations: 1.027 MB / 0.5406 GB, free: 4.07 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008523/0.08049, allocations: 1.487 MB / 0.542 GB, free: 2.578 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00198/0.08247, allocations: 1.791 MB / 0.5438 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008558/0.09103, allocations: 8.805 MB / 0.5524 GB, free: 7.949 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.09104, allocations: 4 kB / 0.5524 GB, free: 7.945 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.09104, allocations: 0 / 0.5524 GB, free: 7.945 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002496/0.09129, allocations: 0 / 0.5524 GB, free: 7.945 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.01325/0.1045, allocations: 6.91 MB / 0.5591 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1046, allocations: 16.03 kB / 0.5591 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003097/0.1077, allocations: 1.203 MB / 0.5603 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004743/0.1124, allocations: 3.366 MB / 0.5636 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006842/0.1131, allocations: 1.295 MB / 0.5649 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004309/0.1135, allocations: 363.9 kB / 0.5652 GB, free: 10.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006246/0.1198, allocations: 4.887 MB / 0.57 GB, free: 5.191 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.407e-05/0.1198, allocations: 4 kB / 0.57 GB, free: 5.188 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000252/0.1201, allocations: 159.9 kB / 0.5701 GB, free: 5.031 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.635e-05/0.1201, allocations: 84 kB / 0.5702 GB, free: 4.949 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005417/0.1256, allocations: 3.679 MB / 0.5738 GB, free: 1.262 MB / 490.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.01728/0.1428, allocations: 12.99 MB / 0.5865 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005238/0.1481, allocations: 3.362 MB / 0.5898 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002153/0.1502, allocations: 1.547 MB / 0.5913 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/0.1504, allocations: 46.34 kB / 0.5913 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002863/0.1533, allocations: 2.177 MB / 0.5935 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=287): time 5.731e-06/0.1533, allocations: 0 / 0.5935 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=287): time 0.009285/0.1626, allocations: 5.518 MB / 0.5989 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002738/0.1629, allocations: 0.5797 MB / 0.5994 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006132/0.169, allocations: 3.955 MB / 0.6033 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001028/0.17, allocations: 93.69 kB / 0.6034 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001917/0.1719, allocations: 2.077 MB / 0.6054 GB, free: 384 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002088/0.174, allocations: 1.023 MB / 0.6064 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001387/0.1754, allocations: 0.8076 MB / 0.6072 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.326e-05/0.1755, allocations: 309.1 kB / 0.6075 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003007/0.1785, allocations: 1.942 MB / 0.6094 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003287/0.1818, allocations: 3.127 MB / 0.6124 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01812/0.1999, allocations: 9.777 MB / 0.622 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-05/0.1999, allocations: 4 kB / 0.622 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=576) (initialization): time 0.009908/0.2098, allocations: 5.65 MB / 0.6275 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.2099, allocations: 65.67 kB / 0.6276 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.024e-05/0.21, allocations: 12 kB / 0.6276 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006053/0.2106, allocations: 384.6 kB / 0.6279 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003426/0.214, allocations: 1.416 MB / 0.6293 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/0.2172, allocations: 2.972 MB / 0.6322 GB, free: 4.012 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/0.2199, allocations: 0.5054 MB / 0.6327 GB, free: 3.504 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002504/0.2202, allocations: 152 kB / 0.6329 GB, free: 3.355 MB / 0.5417 GB Warning: Assuming fixed start value for the following 37 variables: Unit.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Xcc_a.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.running:DISCRETE(flow=false start = Xcc_a.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.HvTfo.running:DISCRETE(flow=false start = Unit.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.LvTfo.running:DISCRETE(flow=false start = Unit.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004368/0.2245, allocations: 2.777 MB / 0.6356 GB, free: 0.5781 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003099/0.2276, allocations: 3.061 MB / 0.6386 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0171/0.2447, allocations: 9.64 MB / 0.648 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.468e-05/0.2448, allocations: 4 kB / 0.648 GB, free: 3.242 MB / 0.5573 GB Notification: Performance of matching and sorting (n=576) (initialization_lambda0): time 0.009071/0.2538, allocations: 5.532 MB / 0.6534 GB, free: 13.62 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.244e-05/0.2539, allocations: 73.66 kB / 0.6535 GB, free: 13.54 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.2539, allocations: 12 kB / 0.6535 GB, free: 13.53 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000517/0.2544, allocations: 381.5 kB / 0.6538 GB, free: 13.15 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003496/0.2579, allocations: 1.401 MB / 0.6552 GB, free: 11.75 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003162/0.2611, allocations: 2.975 MB / 0.6581 GB, free: 8.676 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00304/0.2641, allocations: 490.1 kB / 0.6586 GB, free: 8.195 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004516/0.2646, allocations: 151.9 kB / 0.6587 GB, free: 8.047 MB / 0.573 GB Warning: Assuming fixed start value for the following 37 variables: Unit.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Xcc_a.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.running:DISCRETE(flow=false start = Xcc_a.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.HvTfo.running:DISCRETE(flow=false start = Unit.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.LvTfo.running:DISCRETE(flow=false start = Unit.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 75 ($PRE.Unit.LvTfo.state,Unit.LvTfo.state,$PRE.Unit.injector.state,Unit.injector.state,$PRE.Unit.HvTfo.state,Unit.HvTfo.state,$PRE.Xcc_a.state,Xcc_a.state,Xcc_a.switchOffSignal2,Xcc_a.switchOffSignal1,Unit.injector.switchOffSignal3,Unit.injector.switchOffSignal2,Unit.injector.switchOffSignal1,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$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.QConv0PuNeg.k,Unit.wecc_regc.QConv0PuPos.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,Unit.wecc_reec.varLimPIDFreeze.I.resetLocal,Unit.wecc_reec.limPIDFreeze.I.resetLocal,Unit.pll.limIntegrator.local_reset,Unit.pll.integrator.local_reset,Unit.wecc_repc.limPIDFreeze.I.resetLocal,Unit.wecc_repc.limPID.I.local_reset,Unit.wecc_wtgt.dOmegaGenerator.local_reset,Unit.wecc_wtgt.dOmegaTurbine.local_reset,Unit.wecc_wtgt.dPhi.local_reset,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (539): * Single equations (assignments): 537 * 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.001102/0.2657, allocations: 0.6002 MB / 0.6593 GB, free: 7.457 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009476/0.2666, allocations: 449.1 kB / 0.6597 GB, free: 7.016 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006309/0.2729, allocations: 4.16 MB / 0.6638 GB, free: 2.789 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.273, allocations: 28 kB / 0.6638 GB, free: 2.762 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.273, allocations: 4 kB / 0.6638 GB, free: 2.758 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/0.273, allocations: 11.95 kB / 0.6638 GB, free: 2.746 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/0.2854, allocations: 8.113 MB / 0.6718 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.2854, allocations: 4 kB / 0.6718 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003056/0.2885, allocations: 1.074 MB / 0.6728 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005325/0.289, allocations: 372.7 kB / 0.6732 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/0.2892, allocations: 71.97 kB / 0.6732 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003102/0.2923, allocations: 2.963 MB / 0.6761 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.2923, allocations: 8.031 kB / 0.6761 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2335/0.5259, allocations: 6.545 MB / 0.6825 GB, free: 161.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002544/0.5284, allocations: 0.8888 MB / 0.6834 GB, free: 161.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007513/0.5292, allocations: 84.77 kB / 0.6835 GB, free: 161.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/0.5308, allocations: 265.8 kB / 0.6837 GB, free: 161.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005761/0.5314, allocations: 304.1 kB / 0.684 GB, free: 161.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/0.5316, allocations: 98.23 kB / 0.6841 GB, free: 161.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00342/0.535, allocations: 2.571 MB / 0.6866 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.6e-07/0.535, allocations: 0 / 0.6866 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004165/0.5392, allocations: 1.981 MB / 0.6886 GB, free: 160.6 MB / 0.5886 GB 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 (284): * Single equations (assignments): 270 * 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.0009861/0.5401, allocations: 0.5455 MB / 0.6891 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01055/0.5507, allocations: 7.33 MB / 0.6963 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.5507, allocations: 6.062 kB / 0.6963 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003834/0.5545, allocations: 2.457 MB / 0.6987 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002791/0.5573, allocations: 0.6505 MB / 0.6993 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/0.5713, allocations: 8.894 MB / 0.708 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001957/0.5733, allocations: 1.878 MB / 0.7098 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/0.5749, allocations: 298.4 kB / 0.7101 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.513e-06/0.5749, allocations: 0 / 0.7101 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.07358/0.6485, allocations: 84.28 MB / 0.7924 GB, free: 78.48 MB / 0.5886 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=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 11.019915270619094]