Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.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.00139/0.00139, allocations: 77.97 kB / 21.46 MB, free: 3.035 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.001042/0.001042, allocations: 162.7 kB / 24.85 MB, free: 9.203 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.9627/0.9627, allocations: 158.6 MB / 186.8 MB, free: 2.781 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.48/0.48, allocations: 90.57 MB / 329.7 MB, free: 14.6 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) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.HvMeasurements.PPuSnRef|PV.HvMeasurements.QPuSnRef|PV.HvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.HvMeasurements.PPuSnRef|PV.HvMeasurements.QPuSnRef|PV.HvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 435.1 MB, free: 5.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.39e-05, allocations: 6.312 kB / 435.1 MB, free: 5.543 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.01173/0.01175, allocations: 13.37 MB / 448.5 MB, free: 8.102 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009313/0.02106, allocations: 6.463 MB / 455 MB, free: 1.621 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.02272, allocations: 87.44 kB / 455.1 MB, free: 1.535 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.02409, allocations: 0.7317 MB / 455.8 MB, free: 0.7969 MB / 426.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.002413/0.0265, allocations: 1.265 MB / 457.1 MB, free: 15.52 MB / 442.7 MB [/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.004197/0.0307, allocations: 2.889 MB / 460 MB, free: 12.63 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004316/0.03501, allocations: 4.992 MB / 464.9 MB, free: 7.625 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.03654, allocations: 1.169 MB / 466.1 MB, free: 6.387 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.03827, allocations: 1.698 MB / 467.8 MB, free: 4.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.03938, allocations: 1.487 MB / 469.3 MB, free: 3.188 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004493/0.03983, allocations: 0.5273 MB / 469.8 MB, free: 2.66 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.04084, allocations: 0.8511 MB / 470.7 MB, free: 1.809 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005867/0.04143, allocations: 1.066 MB / 471.7 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1961/0.2376, allocations: 1.339 MB / 473.1 MB, free: 59.56 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004246/0.2418, allocations: 3.526 MB / 476.6 MB, free: 59.35 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2418, allocations: 0 / 476.6 MB, free: 59.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2418, allocations: 3.719 kB / 476.6 MB, free: 59.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001055/0.2419, allocations: 0 / 476.6 MB, free: 59.35 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.007643/0.2496, allocations: 5.437 MB / 482 MB, free: 57.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2496, allocations: 9.438 kB / 482.1 MB, free: 57.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/0.2527, allocations: 1.388 MB / 483.4 MB, free: 57.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.2549, allocations: 2.37 MB / 485.8 MB, free: 56.38 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/0.2551, allocations: 0.857 MB / 486.7 MB, free: 55.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000281/0.2554, allocations: 294.2 kB / 487 MB, free: 55.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.2578, allocations: 2.626 MB / 489.6 MB, free: 54.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-05/0.2578, allocations: 2.906 kB / 489.6 MB, free: 54.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.258, allocations: 119.7 kB / 489.7 MB, free: 54.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/0.258, allocations: 68.12 kB / 489.8 MB, free: 54.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.2593, allocations: 0.9554 MB / 490.7 MB, free: 54.47 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.007614/0.267, allocations: 9.735 MB / 0.4887 GB, free: 49.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.2689, allocations: 1.345 MB / 0.49 GB, free: 49.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004995/0.2694, allocations: 415.1 kB / 0.4904 GB, free: 49.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.2695, allocations: 52.8 kB / 0.4905 GB, free: 49.49 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008797/0.2704, allocations: 0.8768 MB / 0.4913 GB, free: 49.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=227): time 3.357e-06/0.2704, allocations: 0 / 0.4913 GB, free: 49.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=227): time 0.004022/0.2744, allocations: 2.139 MB / 0.4934 GB, free: 48.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.2745, allocations: 474.7 kB / 0.4939 GB, free: 48.28 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.2767, allocations: 2.24 MB / 0.4961 GB, free: 47.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.2769, allocations: 76.98 kB / 0.4962 GB, free: 47.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008844/0.2778, allocations: 1.565 MB / 0.4977 GB, free: 46.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005747/0.2783, allocations: 0.8349 MB / 0.4985 GB, free: 46.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008798/0.2792, allocations: 0.7206 MB / 0.4992 GB, free: 45.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.2793, allocations: 477.6 kB / 0.4997 GB, free: 45.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.2803, allocations: 0.6549 MB / 0.5003 GB, free: 45.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.2818, allocations: 1.697 MB / 0.502 GB, free: 43.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/0.2855, allocations: 2.772 MB / 0.5047 GB, free: 42.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.2855, allocations: 2.656 kB / 0.5047 GB, free: 42.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.004456/0.2899, allocations: 2.939 MB / 0.5075 GB, free: 41.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/0.29, allocations: 70.91 kB / 0.5076 GB, free: 41.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.29, allocations: 8.062 kB / 0.5076 GB, free: 41.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007515/0.2908, allocations: 337.3 kB / 0.5079 GB, free: 41.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.2926, allocations: 0.7205 MB / 0.5086 GB, free: 41.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.2949, allocations: 2.471 MB / 0.511 GB, free: 39.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.2963, allocations: 336.6 kB / 0.5114 GB, free: 39.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/0.2965, allocations: 97.06 kB / 0.5115 GB, free: 39.48 MB / 442.7 MB Warning: Assuming fixed start value for the following 28 variables: PV.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean PV.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real PV.injector.running:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.LvTfo.running:DISCRETE(flow=false start = PV.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.HvTfo.running:DISCRETE(flow=false start = PV.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.X0[1] * PV.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001772/0.2983, allocations: 0.9593 MB / 0.5124 GB, free: 39.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001311/0.2996, allocations: 1.693 MB / 0.514 GB, free: 37.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002971/0.3025, allocations: 2.765 MB / 0.5167 GB, free: 36.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.906e-06/0.3025, allocations: 7.125 kB / 0.5168 GB, free: 36.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=470) (initialization_lambda0): time 0.003712/0.3063, allocations: 2.924 MB / 0.5196 GB, free: 35.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.3063, allocations: 68.59 kB / 0.5197 GB, free: 35.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3063, allocations: 10.59 kB / 0.5197 GB, free: 35.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005669/0.3069, allocations: 329.1 kB / 0.52 GB, free: 35.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.3085, allocations: 0.7039 MB / 0.5207 GB, free: 35.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.3105, allocations: 2.47 MB / 0.5231 GB, free: 33.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.312, allocations: 320.3 kB / 0.5234 GB, free: 33.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.3121, allocations: 94.53 kB / 0.5235 GB, free: 33.47 MB / 442.7 MB Warning: Assuming fixed start value for the following 28 variables: PV.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean PV.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real PV.injector.running:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.LvTfo.running:DISCRETE(flow=false start = PV.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.HvTfo.running:DISCRETE(flow=false start = PV.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.X0[1] * PV.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.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: 39 * Number of states: 0 () * Number of discrete variables: 55 ($PRE.PV.HvTfo.state,PV.HvTfo.state,$PRE.PV.LvTfo.state,PV.LvTfo.state,$PRE.PV.injector.state,PV.injector.state,$PRE.line.state,line.state,PV.wecc_reec.limPIDFreeze.I.resetLocal,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.pll.integrator.local_reset,PV.pll.limIntegrator.local_reset,PV.wecc_repc.limPID.I.local_reset,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,PV.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,PV.injector.switchOffSignal1,PV.injector.switchOffSignal2,PV.injector.switchOffSignal3,$PRE.line.running,$PRE.PV.wecc_regc.offDelay.delaySignal,$PRE.PV.wecc_regc.offDelay.tNext,$PRE.PV.injector.running,$PRE.PV.LvTfo.running,$PRE.PV.HvTfo.running,PV.wecc_regc.QConv0PuPos.k,PV.wecc_regc.QConv0PuNeg.k,$PRE.PV.wecc_regc.offDelay.u,PV.wecc_repc.freeze,PV.HvTfo.running,PV.LvTfo.running,PV.injector.running,PV.wecc_regc.and2.y,PV.wecc_regc.and1.y,PV.wecc_regc.and1.u[2],PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.u,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (434): * Single equations (assignments): 432 * 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.0008149/0.313, allocations: 0.5876 MB / 0.5241 GB, free: 32.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/0.3134, allocations: 398.3 kB / 0.5244 GB, free: 32.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/0.3159, allocations: 1.739 MB / 0.5261 GB, free: 31.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.3159, allocations: 24 kB / 0.5262 GB, free: 31.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.316, allocations: 4 kB / 0.5262 GB, free: 31.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.316, allocations: 10.78 kB / 0.5262 GB, free: 31.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005337/0.3213, allocations: 4.247 MB / 0.5303 GB, free: 27.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.3213, allocations: 8 kB / 0.5303 GB, free: 27.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.3227, allocations: 445.6 kB / 0.5308 GB, free: 27.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005779/0.3233, allocations: 321 kB / 0.5311 GB, free: 27.24 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.3234, allocations: 62.59 kB / 0.5311 GB, free: 27.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/0.3253, allocations: 2.47 MB / 0.5335 GB, free: 24.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3253, allocations: 11.19 kB / 0.5336 GB, free: 24.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/0.3285, allocations: 2.687 MB / 0.5362 GB, free: 22.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007778/0.3293, allocations: 0.672 MB / 0.5368 GB, free: 21.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.3295, allocations: 59.98 kB / 0.5369 GB, free: 21.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008422/0.3304, allocations: 143.9 kB / 0.537 GB, free: 21.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/0.3306, allocations: 195.4 kB / 0.5372 GB, free: 21.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.64e-05/0.3307, allocations: 63.97 kB / 0.5373 GB, free: 21.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008782/0.3316, allocations: 1.215 MB / 0.5385 GB, free: 20.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3316, allocations: 0 / 0.5385 GB, free: 20.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002652/0.3343, allocations: 1.563 MB / 0.54 GB, free: 18.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 21 (PV.wecc_reec.firstOrder.y,PV.wecc_reec.firstOrder1.y,PV.wecc_reec.limPIDFreeze.I.y,PV.wecc_reec.rateLimFirstOrderFreeze1.y,PV.wecc_reec.slewRateLimiter.y,PV.wecc_reec.rateLimFirstOrderFreeze.y,PV.wecc_reec.varLimPIDFreeze.I.y,PV.wecc_reec.firstOrder2.y,PV.wecc_reec.firstOrder3.y,PV.wecc_regc.rateLimFirstOrderFreeze2.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.wecc_regc.firstOrder.y,PV.pll.integrator.y,PV.pll.limIntegrator.y,PV.wecc_repc.firstOrder.y,PV.wecc_repc.limPID.I.y,PV.wecc_repc.firstOrder1.y,PV.wecc_repc.firstOrder2.y,PV.wecc_repc.firstOrder3.y,PV.wecc_repc.limPIDFreeze.I.y,PV.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 29 ($whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,PV.wecc_regc.offDelay.u,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.and1.u[2],PV.wecc_regc.and1.y,PV.wecc_regc.and2.y,PV.injector.running,PV.injector.state,PV.LvTfo.running,PV.LvTfo.state,PV.HvTfo.running,PV.HvTfo.state,PV.wecc_repc.freeze) * Number of discrete states: 5 (PV.HvTfo.running,PV.LvTfo.running,PV.injector.running,line.running,PV.wecc_regc.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (224): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0009492/0.3352, allocations: 479.5 kB / 0.5404 GB, free: 18.17 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004897/0.3401, allocations: 3.899 MB / 0.5443 GB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.3401, allocations: 4 kB / 0.5443 GB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.3413, allocations: 0.9687 MB / 0.5452 GB, free: 13.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.3429, allocations: 0.5446 MB / 0.5457 GB, free: 12.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006062/0.3489, allocations: 5.51 MB / 0.5511 GB, free: 7.371 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.3493, allocations: 0.526 MB / 0.5516 GB, free: 6.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001182/0.3505, allocations: 399.5 kB / 0.552 GB, free: 6.426 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/0.3516, allocations: 0.5956 MB / 0.5526 GB, free: 5.828 MB / 442.7 MB Notification: Performance of SimCode: time 1.563e-06/0.3516, allocations: 0 / 0.5526 GB, free: 5.828 MB / 442.7 MB Notification: Performance of Templates: time 0.05725/0.4088, allocations: 48.79 MB / 0.6002 GB, free: 5.422 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_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: 4.766306872945279]