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.001311/0.001311, allocations: 91.55 kB / 20.97 MB, free: 3.582 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.001013/0.001013, allocations: 177 kB / 24.28 MB, free: 280 kB / 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.8624/0.8624, allocations: 158.6 MB / 186.1 MB, free: 2.906 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.4476/0.4476, allocations: 90.56 MB / 328.9 MB, free: 14.7 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 2.014e-06/2.014e-06, allocations: 0 / 433.7 MB, free: 6.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.928e-05, allocations: 5.406 kB / 433.7 MB, free: 6.336 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.01629/0.01631, allocations: 13.78 MB / 447.4 MB, free: 8.48 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.02666, allocations: 6.49 MB / 453.9 MB, free: 1.973 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002731/0.02939, allocations: 87.44 kB / 454 MB, free: 1.887 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.03092, allocations: 0.7317 MB / 454.8 MB, free: 1.148 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.002405/0.03332, allocations: 1.269 MB / 456 MB, free: 15.87 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.00379/0.03711, allocations: 2.908 MB / 458.9 MB, free: 12.96 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003886/0.041, allocations: 4.996 MB / 463.9 MB, free: 7.949 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.04239, allocations: 1.169 MB / 465.1 MB, free: 6.711 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.0439, allocations: 1.694 MB / 466.8 MB, free: 5.008 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.04527, allocations: 1.483 MB / 468.3 MB, free: 3.52 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005977/0.04587, allocations: 0.5273 MB / 468.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.0469, allocations: 0.8471 MB / 469.6 MB, free: 2.145 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005804/0.04748, allocations: 1.074 MB / 470.7 MB, free: 1.066 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1926/0.2401, allocations: 1.336 MB / 472.1 MB, free: 59.18 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004655/0.2448, allocations: 3.531 MB / 475.6 MB, free: 58.96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2448, allocations: 0 / 475.6 MB, free: 58.96 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2448, allocations: 0 / 475.6 MB, free: 58.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001093/0.2449, allocations: 2.688 kB / 475.6 MB, free: 58.96 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.007387/0.2523, allocations: 5.402 MB / 481 MB, free: 56.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2523, allocations: 8.688 kB / 481 MB, free: 56.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003187/0.2555, allocations: 1.387 MB / 482.4 MB, free: 56.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.2577, allocations: 2.434 MB / 484.8 MB, free: 55.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002947/0.258, allocations: 0.8554 MB / 485.7 MB, free: 55.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002882/0.2583, allocations: 292.2 kB / 486 MB, free: 55.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003054/0.2614, allocations: 2.818 MB / 488.8 MB, free: 54.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.136e-05/0.2614, allocations: 6.281 kB / 488.8 MB, free: 54.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/0.2616, allocations: 110.7 kB / 488.9 MB, free: 54.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-05/0.2616, allocations: 65.59 kB / 489 MB, free: 54.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.2638, allocations: 1.21 MB / 490.2 MB, free: 54.13 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.008828/0.2726, allocations: 10.13 MB / 0.4886 GB, free: 48.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002453/0.2751, allocations: 1.494 MB / 0.49 GB, free: 48.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007574/0.2759, allocations: 496.6 kB / 0.4905 GB, free: 48.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.276, allocations: 50.2 kB / 0.4906 GB, free: 48.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/0.2773, allocations: 0.96 MB / 0.4915 GB, free: 47.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=227): time 4.118e-06/0.2773, allocations: 1.062 kB / 0.4915 GB, free: 47.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=227): time 0.00463/0.2819, allocations: 2.404 MB / 0.4938 GB, free: 47.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.282, allocations: 473.2 kB / 0.4943 GB, free: 46.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/0.2844, allocations: 2.338 MB / 0.4966 GB, free: 45.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.2846, allocations: 74.2 kB / 0.4966 GB, free: 45.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008599/0.2854, allocations: 1.533 MB / 0.4981 GB, free: 44.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005057/0.2859, allocations: 0.8177 MB / 0.4989 GB, free: 43.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008689/0.2868, allocations: 0.6965 MB / 0.4996 GB, free: 43.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.575e-05/0.2869, allocations: 478.7 kB / 0.5001 GB, free: 43.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.2881, allocations: 0.7115 MB / 0.5008 GB, free: 43.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.2898, allocations: 1.746 MB / 0.5025 GB, free: 41.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003896/0.2937, allocations: 2.89 MB / 0.5053 GB, free: 40.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/0.2937, allocations: 4.25 kB / 0.5053 GB, free: 40.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.004857/0.2985, allocations: 3.075 MB / 0.5083 GB, free: 39.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.234e-05/0.2986, allocations: 65.88 kB / 0.5084 GB, free: 39.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.2986, allocations: 9.094 kB / 0.5084 GB, free: 39.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000852/0.2995, allocations: 349.2 kB / 0.5087 GB, free: 39.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.3013, allocations: 0.7203 MB / 0.5094 GB, free: 39.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.3037, allocations: 2.53 MB / 0.5119 GB, free: 37.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.3051, allocations: 337.9 kB / 0.5122 GB, free: 37.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.3053, allocations: 123.2 kB / 0.5123 GB, free: 37.12 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.00188/0.3072, allocations: 1.014 MB / 0.5133 GB, free: 36.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001529/0.3087, allocations: 1.74 MB / 0.515 GB, free: 35.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003233/0.3119, allocations: 2.876 MB / 0.5178 GB, free: 34.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.666e-06/0.3119, allocations: 6.453 kB / 0.5178 GB, free: 34.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=470) (initialization_lambda0): time 0.00426/0.3162, allocations: 3.062 MB / 0.5208 GB, free: 33.33 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.534e-05/0.3163, allocations: 72.34 kB / 0.5209 GB, free: 33.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.3163, allocations: 7.906 kB / 0.5209 GB, free: 33.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006774/0.317, allocations: 337.8 kB / 0.5212 GB, free: 33.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.3187, allocations: 0.7048 MB / 0.5219 GB, free: 32.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.3208, allocations: 2.532 MB / 0.5244 GB, free: 30.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.3223, allocations: 321.1 kB / 0.5247 GB, free: 29.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.3224, allocations: 124.6 kB / 0.5248 GB, free: 29.61 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.injector.switchOffSignal3,PV.injector.switchOffSignal2,PV.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,PV.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,PV.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$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.QConv0PuNeg.k,PV.wecc_regc.QConv0PuPos.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,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPID.I.local_reset,PV.pll.limIntegrator.local_reset,PV.pll.integrator.local_reset,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal) * 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.0007748/0.3232, allocations: 0.5867 MB / 0.5254 GB, free: 29.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004209/0.3236, allocations: 397.3 kB / 0.5258 GB, free: 28.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002964/0.3266, allocations: 1.915 MB / 0.5276 GB, free: 27.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.3266, allocations: 27.84 kB / 0.5277 GB, free: 27.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.3266, allocations: 4 kB / 0.5277 GB, free: 27.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.3266, allocations: 14.97 kB / 0.5277 GB, free: 27.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005815/0.3324, allocations: 4.796 MB / 0.5324 GB, free: 23.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.3324, allocations: 4 kB / 0.5324 GB, free: 23.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/0.3338, allocations: 439.1 kB / 0.5328 GB, free: 22.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005892/0.3344, allocations: 334.9 kB / 0.5331 GB, free: 22.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.3345, allocations: 59.97 kB / 0.5332 GB, free: 22.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.3366, allocations: 2.52 MB / 0.5356 GB, free: 19.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.3366, allocations: 11.47 kB / 0.5356 GB, free: 19.87 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/0.3403, allocations: 2.965 MB / 0.5385 GB, free: 16.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008137/0.3411, allocations: 0.6807 MB / 0.5392 GB, free: 16.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002836/0.3414, allocations: 64 kB / 0.5393 GB, free: 16.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000989/0.3424, allocations: 135.9 kB / 0.5394 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/0.3427, allocations: 193 kB / 0.5396 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.3428, allocations: 79.98 kB / 0.5396 GB, free: 15.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001213/0.344, allocations: 1.355 MB / 0.541 GB, free: 14.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.344, allocations: 0 / 0.541 GB, free: 14.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00247/0.3465, allocations: 1.563 MB / 0.5425 GB, free: 12.73 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.0009813/0.3475, allocations: 477.5 kB / 0.5429 GB, free: 12.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004987/0.3524, allocations: 4.1 MB / 0.5469 GB, free: 8.402 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3525, allocations: 4 kB / 0.547 GB, free: 8.398 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.3538, allocations: 1.044 MB / 0.548 GB, free: 7.387 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.3552, allocations: 0.5488 MB / 0.5485 GB, free: 6.867 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006273/0.3615, allocations: 5.559 MB / 0.5539 GB, free: 1.191 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.3619, allocations: 0.526 MB / 0.5545 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001192/0.3631, allocations: 411.5 kB / 0.5548 GB, free: 240 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005027/0.3636, allocations: 196.5 kB / 0.555 GB, free: 44 kB / 442.7 MB Notification: Performance of SimCode: time 1.563e-06/0.3636, allocations: 0 / 0.555 GB, free: 44 kB / 442.7 MB Notification: Performance of Templates: time 0.05179/0.4154, allocations: 44.15 MB / 0.5981 GB, free: 4.234 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.608883660985157]