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.0009197/0.0009197, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.0008993/0.0008993, allocations: 169 kB / 24.17 MB, free: 336 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.7847/0.7847, allocations: 158.6 MB / 186 MB, free: 2.77 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.4477/0.4477, allocations: 90.85 MB / 329.2 MB, free: 14.29 MB / 314.7 MB " [Timeout remaining time 180] Using package Dynawo with version 2.0.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.412e-06/1.412e-06, allocations: 0 / 385.7 MB, free: 6.195 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.108e-05, allocations: 6.25 kB / 385.8 MB, free: 6.188 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.0109/0.01092, allocations: 13.29 MB / 399 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009487/0.02041, allocations: 6.443 MB / 405.5 MB, free: 2.367 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002158/0.02257, allocations: 95.38 kB / 405.6 MB, free: 2.273 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.02409, allocations: 0.6889 MB / 406.3 MB, free: 1.578 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.02678, allocations: 1.206 MB / 407.5 MB, free: 372 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:90:3-90: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.003623/0.03041, allocations: 2.822 MB / 410.3 MB, free: 13.54 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004494/0.0349, allocations: 4.93 MB / 415.2 MB, free: 8.594 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.03645, allocations: 1.222 MB / 416.5 MB, free: 7.285 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.03827, allocations: 1.679 MB / 418.1 MB, free: 5.602 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.0396, allocations: 1.468 MB / 419.6 MB, free: 4.129 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005208/0.04012, allocations: 0.5273 MB / 420.1 MB, free: 3.602 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009279/0.04105, allocations: 0.8355 MB / 421 MB, free: 2.766 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005615/0.04161, allocations: 1.055 MB / 422 MB, free: 1.707 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000803/0.04241, allocations: 1.34 MB / 423.4 MB, free: 372 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003209/0.04562, allocations: 3.479 MB / 426.8 MB, free: 12.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.04563, allocations: 0 / 426.8 MB, free: 12.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.04563, allocations: 4 kB / 426.8 MB, free: 12.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.054e-05/0.04566, allocations: 0 / 426.8 MB, free: 12.87 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 692 * Number of variables: 692 Notification: Performance of Generate backend data structure: time 0.006811/0.05247, allocations: 5.21 MB / 432.1 MB, free: 7.586 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.0525, allocations: 12.03 kB / 432.1 MB, free: 7.574 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/0.05564, allocations: 1.312 MB / 433.4 MB, free: 6.262 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.05756, allocations: 1.507 MB / 434.9 MB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003612/0.05792, allocations: 0.8582 MB / 435.7 MB, free: 3.695 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003129/0.05824, allocations: 296.3 kB / 436 MB, free: 3.406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.06067, allocations: 2.58 MB / 438.6 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.146e-05/0.06071, allocations: 7.938 kB / 438.6 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.06086, allocations: 112 kB / 438.7 MB, free: 472 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.06089, allocations: 68 kB / 438.8 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.06218, allocations: 0.8629 MB / 439.7 MB, free: 15.5 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007589/0.06977, allocations: 6.853 MB / 446.5 MB, free: 8.492 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.07156, allocations: 1.282 MB / 447.8 MB, free: 7.199 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004594/0.07202, allocations: 355.6 kB / 448.1 MB, free: 6.848 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/0.07219, allocations: 49.98 kB / 448.2 MB, free: 6.801 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000907/0.07309, allocations: 0.8917 MB / 449.1 MB, free: 5.879 MB / 426.7 MB Notification: Performance of pre-optimization done (n=228): time 3.557e-06/0.0731, allocations: 0 / 449.1 MB, free: 5.879 MB / 426.7 MB Notification: Performance of matching and sorting (n=228): time 0.002995/0.07609, allocations: 1.647 MB / 450.7 MB, free: 4.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.07623, allocations: 474.9 kB / 451.2 MB, free: 3.664 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.07786, allocations: 2.036 MB / 453.2 MB, free: 1.598 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.07798, allocations: 77.7 kB / 453.3 MB, free: 1.516 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005537/0.07853, allocations: 1.082 MB / 454.4 MB, free: 424 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004858/0.07902, allocations: 0.8137 MB / 455.2 MB, free: 15.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006669/0.07968, allocations: 0.6875 MB / 455.9 MB, free: 14.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.021e-05/0.07974, allocations: 308.9 kB / 456.2 MB, free: 14.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009816/0.08073, allocations: 0.6496 MB / 456.8 MB, free: 13.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.08207, allocations: 1.522 MB / 458.4 MB, free: 12.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/0.08513, allocations: 2.784 MB / 461.1 MB, free: 9.203 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.08514, allocations: 0 / 461.1 MB, free: 9.203 MB / 442.7 MB Notification: Performance of matching and sorting (n=474) (initialization): time 0.003359/0.0885, allocations: 2.438 MB / 463.6 MB, free: 6.734 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.034e-05/0.08856, allocations: 73.59 kB / 463.7 MB, free: 6.656 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.08858, allocations: 8 kB / 463.7 MB, free: 6.648 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006408/0.08922, allocations: 320.5 kB / 464 MB, free: 6.332 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.09109, allocations: 0.7997 MB / 464.8 MB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.09298, allocations: 1.823 MB / 466.6 MB, free: 3.621 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.09434, allocations: 346.1 kB / 466.9 MB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.09448, allocations: 91.98 kB / 467 MB, free: 3.191 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.001699/0.09618, allocations: 0.9134 MB / 467.9 MB, free: 2.273 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001262/0.09744, allocations: 1.518 MB / 469.5 MB, free: 0.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1507/0.2481, allocations: 2.742 MB / 472.2 MB, free: 74.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.506e-05/0.2481, allocations: 2.625 kB / 472.2 MB, free: 74.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=474) (initialization_lambda0): time 0.003798/0.2519, allocations: 2.438 MB / 474.6 MB, free: 74.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.252, allocations: 69.23 kB / 474.7 MB, free: 74.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.252, allocations: 10.75 kB / 474.7 MB, free: 74.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006279/0.2526, allocations: 321.3 kB / 475 MB, free: 74.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.2544, allocations: 0.78 MB / 475.8 MB, free: 74.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.2561, allocations: 1.839 MB / 477.6 MB, free: 73.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.2575, allocations: 323.2 kB / 478 MB, free: 73.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.2576, allocations: 96 kB / 478.1 MB, free: 73.3 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 (437): * Single equations (assignments): 435 * 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.000601/0.2582, allocations: 0.5071 MB / 478.6 MB, free: 73.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/0.2585, allocations: 255.7 kB / 478.8 MB, free: 73.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/0.2606, allocations: 1.423 MB / 480.2 MB, free: 72.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.2606, allocations: 22.88 kB / 480.3 MB, free: 72.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.2606, allocations: 3.844 kB / 480.3 MB, free: 72.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.2606, allocations: 14.86 kB / 480.3 MB, free: 72.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004386/0.265, allocations: 3.323 MB / 483.6 MB, free: 72.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.265, allocations: 6.375 kB / 483.6 MB, free: 72.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.2664, allocations: 484.2 kB / 484.1 MB, free: 72.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000555/0.267, allocations: 313 kB / 484.4 MB, free: 72.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.2671, allocations: 60.86 kB / 484.4 MB, free: 72.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.2687, allocations: 1.812 MB / 486.3 MB, free: 71.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2687, allocations: 10.78 kB / 486.3 MB, free: 71.31 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/0.2713, allocations: 2.17 MB / 488.4 MB, free: 70.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000652/0.2719, allocations: 342 kB / 488.8 MB, free: 70.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/0.2721, allocations: 59.17 kB / 488.8 MB, free: 70.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000774/0.2729, allocations: 146.2 kB / 489 MB, free: 70.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/0.2732, allocations: 190.5 kB / 489.2 MB, free: 70.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.163e-05/0.2733, allocations: 55.98 kB / 489.2 MB, free: 70.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008182/0.2741, allocations: 1.048 MB / 490.3 MB, free: 70.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2741, allocations: 0 / 490.3 MB, free: 70.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002026/0.2761, allocations: 1.558 MB / 491.8 MB, free: 70.51 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 (225): * Single equations (assignments): 214 * 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.0003657/0.2765, allocations: 226.3 kB / 492 MB, free: 70.37 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004248/0.2807, allocations: 3.675 MB / 495.7 MB, free: 67.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-05/0.2808, allocations: 33.75 kB / 495.7 MB, free: 67.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.2818, allocations: 0.8727 MB / 496.6 MB, free: 66.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.2832, allocations: 0.5193 MB / 497.1 MB, free: 66.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005904/0.2891, allocations: 5.398 MB / 0.4908 GB, free: 61.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.2894, allocations: 0.5173 MB / 0.4913 GB, free: 61.14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001311/0.2907, allocations: 446.8 kB / 0.4917 GB, free: 60.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/0.2917, allocations: 0.5217 MB / 0.4922 GB, free: 60.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.463e-06/0.2917, allocations: 0 / 0.4922 GB, free: 60.2 MB / 442.7 MB Notification: Performance of Templates: time 0.04603/0.3378, allocations: 46.74 MB / 0.5378 GB, free: 15.17 MB / 442.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 -s gbode -gbm=radauIIA3 -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.153792971745133]