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.001066/0.001066, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001607/0.002673, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.001094/0.001094, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009844/0.002079, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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.7621/0.7621, allocations: 158.6 MB / 171.2 MB, free: 2.492 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1159/0.8781, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/GridFollowing/FourVSC/FourVSCDynamicLinesPlant.mo:214:26-227:16:writable] Warning: Lexer treating \\ as \\\\, since \\ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/GridFollowing/FourVSC/FourVSCDynamicLinesPlant.mo:214:26-229:28:writable] Warning: Lexer treating \\ as \\\\, since \\ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.4836/0.4836, allocations: 106.6 MB / 328 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07257/0.5562, allocations: 37.9 MB / 365.9 MB, free: 8.965 MB / 362.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-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.613e-06/1.613e-06, allocations: 0 / 367.5 MB, free: 7.414 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.72e-05, allocations: 2.312 kB / 367.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.01046/0.01047, allocations: 13.52 MB / 381 MB, free: 9.832 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0084/0.01887, allocations: 6.553 MB / 387.6 MB, free: 3.262 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.01992, allocations: 91.44 kB / 387.7 MB, free: 3.172 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000999/0.02092, allocations: 0.7083 MB / 388.4 MB, free: 2.457 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.02279, allocations: 1.374 MB / 389.7 MB, free: 1.074 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:87:3-87:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.02569, allocations: 2.729 MB / 392.5 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003107/0.0288, allocations: 4.928 MB / 397.4 MB, free: 9.406 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.02993, allocations: 1.224 MB / 398.6 MB, free: 8.094 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/0.03247, allocations: 3.284 MB / 401.9 MB, free: 4.715 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.03349, allocations: 1.518 MB / 403.4 MB, free: 3.191 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000405/0.0339, allocations: 0.5352 MB / 404 MB, free: 2.656 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007877/0.03469, allocations: 0.8471 MB / 404.8 MB, free: 1.809 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004703/0.03516, allocations: 0.8101 MB / 405.6 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007621/0.03592, allocations: 1.068 MB / 406.7 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002483/0.0384, allocations: 3.23 MB / 409.9 MB, free: 12.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.367e-05/0.03842, allocations: 4 kB / 409.9 MB, free: 12.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.03842, allocations: 0 / 409.9 MB, free: 12.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.41e-05/0.03844, allocations: 0 / 409.9 MB, free: 12.68 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: 702 * Number of variables: 702 Notification: Performance of Generate backend data structure: time 0.006753/0.04519, allocations: 6.018 MB / 415.9 MB, free: 6.574 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.04522, allocations: 12.03 kB / 415.9 MB, free: 6.562 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003975/0.0492, allocations: 1.667 MB / 417.6 MB, free: 4.895 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.05088, allocations: 1.513 MB / 419.1 MB, free: 3.328 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003521/0.05123, allocations: 0.9198 MB / 420 MB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/0.05148, allocations: 299.9 kB / 420.3 MB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/0.05394, allocations: 2.604 MB / 422.9 MB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.05397, allocations: 11.92 kB / 423 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.05412, allocations: 116 kB / 423.1 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/0.05415, allocations: 68 kB / 423.1 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.05542, allocations: 0.8756 MB / 424 MB, free: 14 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.006988/0.06241, allocations: 6.985 MB / 431 MB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.06413, allocations: 1.291 MB / 432.3 MB, free: 5.555 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004693/0.0646, allocations: 379.2 kB / 432.7 MB, free: 5.184 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.06476, allocations: 53.98 kB / 432.7 MB, free: 5.133 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008592/0.06562, allocations: 0.9115 MB / 433.6 MB, free: 4.191 MB / 426.7 MB Notification: Performance of pre-optimization done (n=235): time 3.306e-06/0.06563, allocations: 4 kB / 433.6 MB, free: 4.188 MB / 426.7 MB Notification: Performance of matching and sorting (n=235): time 0.002761/0.06839, allocations: 1.671 MB / 435.3 MB, free: 2.512 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.06844, allocations: 115.1 kB / 435.4 MB, free: 2.383 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.07003, allocations: 2.045 MB / 437.5 MB, free: 316 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.07014, allocations: 85.69 kB / 437.5 MB, free: 224 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005102/0.07065, allocations: 1.079 MB / 438.6 MB, free: 15.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004301/0.07108, allocations: 0.8445 MB / 439.5 MB, free: 14.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006797/0.07176, allocations: 0.6918 MB / 440.2 MB, free: 13.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.736e-05/0.07182, allocations: 309.1 kB / 440.5 MB, free: 13.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.07283, allocations: 0.6973 MB / 441.2 MB, free: 12.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.07415, allocations: 1.574 MB / 442.7 MB, free: 10.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003433/0.07759, allocations: 3.071 MB / 445.8 MB, free: 7.484 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.07759, allocations: 0 / 445.8 MB, free: 7.484 MB / 442.7 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.003224/0.08082, allocations: 2.553 MB / 448.4 MB, free: 4.898 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.501e-05/0.08087, allocations: 69.66 kB / 448.4 MB, free: 4.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.08089, allocations: 12 kB / 448.4 MB, free: 4.812 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005789/0.08147, allocations: 324.7 kB / 448.7 MB, free: 4.492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.08338, allocations: 0.8738 MB / 449.6 MB, free: 3.617 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.08536, allocations: 1.857 MB / 451.5 MB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.08636, allocations: 350 kB / 451.8 MB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.0865, allocations: 99.92 kB / 451.9 MB, free: 1.234 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.001441/0.08794, allocations: 0.9654 MB / 452.9 MB, free: 268 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.1539/0.2418, allocations: 1.56 MB / 454.4 MB, free: 51.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003788/0.2456, allocations: 3.043 MB / 457.5 MB, free: 50.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-05/0.2456, allocations: 2.344 kB / 457.5 MB, free: 50.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=487) (initialization_lambda0): time 0.003564/0.2492, allocations: 2.544 MB / 460 MB, free: 50.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.2492, allocations: 68.16 kB / 460.1 MB, free: 50.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.2492, allocations: 9.031 kB / 460.1 MB, free: 50.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005654/0.2498, allocations: 321 kB / 460.4 MB, free: 50.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/0.2517, allocations: 0.858 MB / 461.3 MB, free: 50.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.2534, allocations: 1.846 MB / 463.1 MB, free: 49.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.2546, allocations: 328.7 kB / 463.4 MB, free: 49.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.2548, allocations: 98.03 kB / 463.5 MB, free: 49.37 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.switchOffSignal1,PV.switchOffSignal2,PV.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 (450): * Single equations (assignments): 448 * 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.0005502/0.2553, allocations: 0.5095 MB / 464.1 MB, free: 49.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002934/0.2556, allocations: 260.3 kB / 464.3 MB, free: 49.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.2576, allocations: 1.499 MB / 465.8 MB, free: 49.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.2576, allocations: 28.94 kB / 465.8 MB, free: 49.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.2577, allocations: 3.469 kB / 465.8 MB, free: 49.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.2577, allocations: 9.844 kB / 465.8 MB, free: 49.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004183/0.2618, allocations: 3.464 MB / 469.3 MB, free: 48.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.2619, allocations: 10.69 kB / 469.3 MB, free: 48.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/0.2633, allocations: 0.508 MB / 469.8 MB, free: 48.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006062/0.2639, allocations: 342.8 kB / 470.2 MB, free: 48.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005072/0.2644, allocations: 312.2 kB / 470.5 MB, free: 48.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.725e-05/0.2645, allocations: 59.19 kB / 470.5 MB, free: 48.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.2661, allocations: 1.831 MB / 472.4 MB, free: 47.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.2661, allocations: 7.25 kB / 472.4 MB, free: 47.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.2685, allocations: 2.21 MB / 474.6 MB, free: 46.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/0.2687, allocations: 64.41 kB / 474.6 MB, free: 46.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007774/0.2695, allocations: 142.7 kB / 474.8 MB, free: 46.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/0.2697, allocations: 201.7 kB / 475 MB, free: 46.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.103e-05/0.2698, allocations: 58.62 kB / 475 MB, free: 46.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007836/0.2706, allocations: 1.053 MB / 476.1 MB, free: 46.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2706, allocations: 0.7656 kB / 476.1 MB, free: 46.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001929/0.2725, allocations: 1.616 MB / 477.7 MB, free: 46.69 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 (232): * Single equations (assignments): 221 * 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.0003336/0.2729, allocations: 236.3 kB / 477.9 MB, free: 46.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004513/0.2774, allocations: 3.923 MB / 481.9 MB, free: 43.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.743e-05/0.2774, allocations: 53.69 kB / 481.9 MB, free: 43.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.2788, allocations: 1.119 MB / 483 MB, free: 42.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.2804, allocations: 2.295 MB / 485.3 MB, free: 40.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005796/0.2862, allocations: 5.676 MB / 491 MB, free: 35.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.2865, allocations: 0.5307 MB / 491.5 MB, free: 34.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001156/0.2877, allocations: 457 kB / 492 MB, free: 34.47 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/0.2887, allocations: 0.5484 MB / 492.5 MB, free: 33.95 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2887, allocations: 0 / 492.5 MB, free: 33.95 MB / 442.7 MB Notification: Performance of Templates: time 0.0474/0.3361, allocations: 49.79 MB / 0.5296 GB, free: 1.637 MB / 458.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 & (cd run_cvode && ../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 -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.mat -s cvode) > 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_dassl.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_dassl.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_dassl.sim & (cd run_dassl && ../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 -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_dassl_res.mat -s dassl) > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_dassl.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_dassl_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_gbode.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_gbode.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_gbode.sim & (cd run_gbode && ../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 -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_gbode_res.mat -s gbode -gbm=radauIIA3) > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_gbode.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_gbode_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_ida.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_ida.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_ida.sim & (cd run_ida && ../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 -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_ida_res.mat -s ida) > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_ida.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_ida_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.541524237021804]