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.001782/0.001782, allocations: 91.55 kB / 20.45 MB, free: 4.125 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.001636/0.001636, allocations: 165 kB / 23.82 MB, free: 0.7578 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.8917/0.8917, allocations: 158.6 MB / 185.7 MB, free: 2.902 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.4556/0.4556, allocations: 90.56 MB / 328.6 MB, free: 14.72 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.543e-06/1.543e-06, allocations: 0 / 433.8 MB, free: 5.863 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.094e-05, allocations: 2.312 kB / 433.8 MB, free: 5.859 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.0143/0.01433, allocations: 13.85 MB / 447.7 MB, free: 7.934 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.02649, allocations: 6.498 MB / 454.2 MB, free: 1.418 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003742/0.03023, allocations: 87.44 kB / 454.3 MB, free: 1.332 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002954/0.03318, allocations: 0.7317 MB / 455 MB, free: 0.5938 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.005249/0.03843, allocations: 1.273 MB / 456.3 MB, free: 15.31 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.005667/0.0441, allocations: 2.908 MB / 459.2 MB, free: 12.4 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.006829/0.05093, allocations: 5 MB / 464.2 MB, free: 7.391 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002633/0.05356, allocations: 1.169 MB / 465.4 MB, free: 6.148 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002748/0.05631, allocations: 1.694 MB / 467 MB, free: 4.449 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002618/0.05893, allocations: 1.487 MB / 468.5 MB, free: 2.957 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001857/0.06079, allocations: 0.5234 MB / 469.1 MB, free: 2.434 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.06291, allocations: 0.8511 MB / 469.9 MB, free: 1.582 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.06411, allocations: 1.074 MB / 471 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2086/0.2727, allocations: 1.338 MB / 472.3 MB, free: 59.55 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005307/0.278, allocations: 3.528 MB / 475.9 MB, free: 59.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.278, allocations: 0 / 475.9 MB, free: 59.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.278, allocations: 0 / 475.9 MB, free: 59.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001818/0.2782, allocations: 2.938 kB / 475.9 MB, free: 59.34 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.01027/0.2884, allocations: 5.398 MB / 481.3 MB, free: 57.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.2885, allocations: 11.62 kB / 481.3 MB, free: 57.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003285/0.2918, allocations: 1.39 MB / 482.7 MB, free: 57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00354/0.2953, allocations: 2.427 MB / 485.1 MB, free: 56.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003813/0.2957, allocations: 0.8627 MB / 485.9 MB, free: 55.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004781/0.2961, allocations: 293.7 kB / 486.2 MB, free: 55.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003956/0.3001, allocations: 2.818 MB / 489 MB, free: 54.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-05/0.3002, allocations: 5.906 kB / 489.1 MB, free: 54.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002089/0.3004, allocations: 114.6 kB / 489.2 MB, free: 54.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-05/0.3004, allocations: 70.67 kB / 489.2 MB, free: 54.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.3029, allocations: 1.207 MB / 490.4 MB, free: 54.5 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.01089/0.3138, allocations: 10.13 MB / 0.4888 GB, free: 48.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/0.3162, allocations: 1.487 MB / 0.4903 GB, free: 48.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007272/0.3169, allocations: 0.491 MB / 0.4908 GB, free: 48.24 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.3171, allocations: 49.53 kB / 0.4908 GB, free: 48.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/0.3183, allocations: 0.959 MB / 0.4918 GB, free: 47.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=227): time 4.669e-06/0.3183, allocations: 1.375 kB / 0.4918 GB, free: 47.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=227): time 0.005395/0.3237, allocations: 2.398 MB / 0.4941 GB, free: 47.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.3239, allocations: 476.5 kB / 0.4946 GB, free: 46.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003152/0.327, allocations: 2.332 MB / 0.4968 GB, free: 45.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000233/0.3272, allocations: 84.61 kB / 0.4969 GB, free: 45.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.3282, allocations: 1.533 MB / 0.4984 GB, free: 44.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006359/0.3289, allocations: 0.8156 MB / 0.4992 GB, free: 44.01 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009839/0.3299, allocations: 0.6969 MB / 0.4999 GB, free: 43.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.443e-05/0.3299, allocations: 478.7 kB / 0.5003 GB, free: 43.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.3313, allocations: 0.7121 MB / 0.501 GB, free: 43.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.3331, allocations: 1.746 MB / 0.5027 GB, free: 41.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004432/0.3375, allocations: 2.89 MB / 0.5056 GB, free: 40.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-05/0.3375, allocations: 2.156 kB / 0.5056 GB, free: 40.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.005867/0.3434, allocations: 3.074 MB / 0.5086 GB, free: 39.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.094e-05/0.3434, allocations: 67.33 kB / 0.5086 GB, free: 39.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.3435, allocations: 8.094 kB / 0.5086 GB, free: 39.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008623/0.3443, allocations: 344.3 kB / 0.509 GB, free: 39.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/0.3462, allocations: 0.7225 MB / 0.5097 GB, free: 39.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.3486, allocations: 2.526 MB / 0.5121 GB, free: 37.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/0.3505, allocations: 341.1 kB / 0.5125 GB, free: 37.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/0.3508, allocations: 123.9 kB / 0.5126 GB, free: 37.14 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.002186/0.3529, allocations: 1.015 MB / 0.5136 GB, free: 36.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00145/0.3544, allocations: 1.736 MB / 0.5153 GB, free: 35.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003354/0.3577, allocations: 2.884 MB / 0.5181 GB, free: 34.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.508e-05/0.3578, allocations: 7.203 kB / 0.5181 GB, free: 34.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=470) (initialization_lambda0): time 0.004691/0.3624, allocations: 3.06 MB / 0.5211 GB, free: 33.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/0.3625, allocations: 60.02 kB / 0.5211 GB, free: 33.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.3625, allocations: 8.438 kB / 0.5211 GB, free: 33.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007005/0.3632, allocations: 339.2 kB / 0.5215 GB, free: 33.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.3649, allocations: 0.7123 MB / 0.5222 GB, free: 32.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.3671, allocations: 2.524 MB / 0.5246 GB, free: 30.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/0.3691, allocations: 325.2 kB / 0.5249 GB, free: 29.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/0.3693, allocations: 123.5 kB / 0.5251 GB, free: 29.7 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.0008577/0.3701, allocations: 0.5798 MB / 0.5256 GB, free: 29.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006713/0.3708, allocations: 404.4 kB / 0.526 GB, free: 28.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003052/0.3738, allocations: 1.923 MB / 0.5279 GB, free: 27.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.3739, allocations: 20 kB / 0.5279 GB, free: 27.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3739, allocations: 4 kB / 0.5279 GB, free: 27.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.3739, allocations: 13.17 kB / 0.5279 GB, free: 27.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006475/0.3804, allocations: 4.797 MB / 0.5326 GB, free: 23.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.3804, allocations: 8 kB / 0.5326 GB, free: 23.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.3817, allocations: 443.1 kB / 0.533 GB, free: 22.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006394/0.3824, allocations: 336 kB / 0.5334 GB, free: 22.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.3825, allocations: 55.98 kB / 0.5334 GB, free: 22.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.3847, allocations: 2.523 MB / 0.5359 GB, free: 19.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.3847, allocations: 11.84 kB / 0.5359 GB, free: 19.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00432/0.389, allocations: 2.97 MB / 0.5388 GB, free: 16.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/0.3904, allocations: 0.6729 MB / 0.5394 GB, free: 16.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003344/0.3908, allocations: 59.98 kB / 0.5395 GB, free: 16.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000974/0.3917, allocations: 139.9 kB / 0.5396 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003198/0.3921, allocations: 197 kB / 0.5398 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.3922, allocations: 75.97 kB / 0.5399 GB, free: 15.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001446/0.3936, allocations: 1.354 MB / 0.5412 GB, free: 14.31 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3936, allocations: 0 / 0.5412 GB, free: 14.31 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003137/0.3968, allocations: 1.567 MB / 0.5427 GB, free: 12.74 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.001054/0.3978, allocations: 479.7 kB / 0.5432 GB, free: 12.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006243/0.404, allocations: 4.1 MB / 0.5472 GB, free: 8.406 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/0.4041, allocations: 0 / 0.5472 GB, free: 8.406 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.4057, allocations: 1.05 MB / 0.5482 GB, free: 7.395 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/0.4079, allocations: 0.5409 MB / 0.5488 GB, free: 6.879 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007444/0.4153, allocations: 5.551 MB / 0.5542 GB, free: 1.199 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.4157, allocations: 0.5289 MB / 0.5547 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001501/0.4172, allocations: 407.5 kB / 0.5551 GB, free: 252 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005353/0.4178, allocations: 199.8 kB / 0.5553 GB, free: 56 kB / 442.7 MB Notification: Performance of SimCode: time 2.515e-06/0.4178, allocations: 0 / 0.5553 GB, free: 56 kB / 442.7 MB Notification: Performance of Templates: time 0.05703/0.4748, allocations: 44.16 MB / 0.5984 GB, free: 4.246 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.834482362028211]