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.0007807/0.0007807, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001222/0.002002, allocations: 440 kB / 10.41 MB, free: 284 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.001164/0.001164, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001512/0.002676, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.8226/0.8226, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1359/0.9584, allocations: 49.51 MB / 220.7 MB, free: 1.352 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.4908/0.4908, allocations: 106.6 MB / 328 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06624/0.5571, allocations: 37.9 MB / 365.9 MB, free: 8.988 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.643e-06/1.643e-06, allocations: 0 / 367.5 MB, free: 7.441 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.631e-05, allocations: 2.312 kB / 367.5 MB, free: 7.438 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.01699/0.01702, allocations: 13.52 MB / 381 MB, free: 9.859 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.02942, allocations: 6.567 MB / 387.6 MB, free: 3.277 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.03117, allocations: 87.44 kB / 387.7 MB, free: 3.191 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.03242, allocations: 0.7045 MB / 388.4 MB, free: 2.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002235/0.03466, allocations: 1.378 MB / 389.7 MB, free: 1.094 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.003224/0.03788, allocations: 2.729 MB / 392.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003792/0.04167, allocations: 4.914 MB / 397.4 MB, free: 9.438 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.04298, allocations: 1.22 MB / 398.6 MB, free: 8.129 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002597/0.04558, allocations: 3.284 MB / 401.9 MB, free: 4.75 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.04689, allocations: 1.503 MB / 403.4 MB, free: 3.242 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004604/0.04735, allocations: 0.5391 MB / 403.9 MB, free: 2.703 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000969/0.04832, allocations: 0.8471 MB / 404.8 MB, free: 1.855 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005086/0.04883, allocations: 0.81 MB / 405.6 MB, free: 1.043 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007647/0.04959, allocations: 1.068 MB / 406.6 MB, free: 15.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.05241, allocations: 3.219 MB / 409.9 MB, free: 12.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.298e-05/0.05242, allocations: 8 kB / 409.9 MB, free: 12.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.05242, allocations: 0 / 409.9 MB, free: 12.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.499e-05/0.05247, allocations: 0 / 409.9 MB, free: 12.73 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.007152/0.05962, allocations: 6.013 MB / 415.9 MB, free: 6.633 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.05965, allocations: 12.03 kB / 415.9 MB, free: 6.621 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008462/0.06811, allocations: 1.679 MB / 417.6 MB, free: 4.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005479/0.07359, allocations: 1.517 MB / 419.1 MB, free: 3.371 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005057/0.0741, allocations: 0.9159 MB / 420 MB, free: 2.293 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000365/0.07446, allocations: 299.9 kB / 420.3 MB, free: 2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006163/0.08063, allocations: 2.6 MB / 422.9 MB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.352e-05/0.08067, allocations: 7.938 kB / 422.9 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.08086, allocations: 120 kB / 423 MB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-05/0.08091, allocations: 68 kB / 423.1 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004789/0.0857, allocations: 0.8717 MB / 424 MB, free: 14.05 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.01875/0.1044, allocations: 6.989 MB / 431 MB, free: 6.914 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005273/0.1097, allocations: 1.302 MB / 432.3 MB, free: 5.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006167/0.1103, allocations: 371.1 kB / 432.6 MB, free: 5.227 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.1105, allocations: 57.97 kB / 432.7 MB, free: 5.172 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/0.1117, allocations: 0.9037 MB / 433.6 MB, free: 4.238 MB / 426.7 MB Notification: Performance of pre-optimization done (n=235): time 4.849e-06/0.1117, allocations: 4 kB / 433.6 MB, free: 4.234 MB / 426.7 MB Notification: Performance of matching and sorting (n=235): time 0.009701/0.1214, allocations: 1.671 MB / 435.3 MB, free: 2.559 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.1215, allocations: 107.1 kB / 435.4 MB, free: 2.438 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.1235, allocations: 2.06 MB / 437.4 MB, free: 356 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.1236, allocations: 81.64 kB / 437.5 MB, free: 268 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007678/0.1244, allocations: 1.083 MB / 438.6 MB, free: 15.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006189/0.125, allocations: 0.8407 MB / 439.4 MB, free: 14.31 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008621/0.1259, allocations: 0.6996 MB / 440.1 MB, free: 13.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.976e-05/0.126, allocations: 309.1 kB / 440.4 MB, free: 13.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.127, allocations: 0.6896 MB / 441.1 MB, free: 12.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.1283, allocations: 1.57 MB / 442.7 MB, free: 10.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/0.1316, allocations: 3.075 MB / 445.8 MB, free: 7.531 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.1316, allocations: 4 kB / 445.8 MB, free: 7.527 MB / 442.7 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.003303/0.1349, allocations: 2.561 MB / 448.3 MB, free: 4.934 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.086e-05/0.135, allocations: 61.67 kB / 448.4 MB, free: 4.867 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.135, allocations: 8 kB / 448.4 MB, free: 4.859 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000632/0.1357, allocations: 324.5 kB / 448.7 MB, free: 4.539 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.1376, allocations: 0.8699 MB / 449.6 MB, free: 3.668 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.1395, allocations: 1.862 MB / 451.4 MB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.1407, allocations: 346 kB / 451.8 MB, free: 1.383 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.1408, allocations: 99.98 kB / 451.9 MB, free: 1.285 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.001497/0.1423, allocations: 0.9573 MB / 452.8 MB, free: 328 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.1685/0.3107, allocations: 1.563 MB / 454.4 MB, free: 51.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004317/0.3151, allocations: 3.037 MB / 457.4 MB, free: 50.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.909e-05/0.3151, allocations: 3.156 kB / 457.4 MB, free: 50.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=487) (initialization_lambda0): time 0.003863/0.3189, allocations: 2.551 MB / 460 MB, free: 50.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/0.319, allocations: 64.36 kB / 460 MB, free: 50.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.319, allocations: 12.97 kB / 460.1 MB, free: 50.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006184/0.3196, allocations: 314.6 kB / 460.4 MB, free: 50.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/0.3215, allocations: 0.8652 MB / 461.2 MB, free: 50.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.3233, allocations: 1.844 MB / 463.1 MB, free: 49.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.325, allocations: 327.5 kB / 463.4 MB, free: 49.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/0.3251, allocations: 99.42 kB / 463.5 MB, free: 49.16 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.0007024/0.3258, allocations: 0.4976 MB / 464 MB, free: 48.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000409/0.3262, allocations: 266.2 kB / 464.3 MB, free: 48.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.3284, allocations: 1.453 MB / 465.7 MB, free: 48.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.3284, allocations: 29.72 kB / 465.7 MB, free: 48.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3284, allocations: 2.688 kB / 465.7 MB, free: 48.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.3284, allocations: 14.2 kB / 465.8 MB, free: 48.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004578/0.333, allocations: 3.463 MB / 469.2 MB, free: 48.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.333, allocations: 6.984 kB / 469.2 MB, free: 48.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.3344, allocations: 0.5132 MB / 469.7 MB, free: 48.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008566/0.3353, allocations: 346.1 kB / 470.1 MB, free: 48.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005885/0.3358, allocations: 307.8 kB / 470.4 MB, free: 48.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.336, allocations: 62.45 kB / 470.4 MB, free: 48.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.3377, allocations: 1.825 MB / 472.3 MB, free: 47.15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3377, allocations: 7.844 kB / 472.3 MB, free: 47.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/0.3402, allocations: 2.213 MB / 474.5 MB, free: 46.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/0.3406, allocations: 63.06 kB / 474.5 MB, free: 46.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008623/0.3414, allocations: 145 kB / 474.7 MB, free: 46.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.3417, allocations: 199.5 kB / 474.9 MB, free: 46.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-05/0.3418, allocations: 56.25 kB / 474.9 MB, free: 46.58 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00105/0.3428, allocations: 1.058 MB / 476 MB, free: 46.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3428, allocations: 3.375 kB / 476 MB, free: 46.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002498/0.3453, allocations: 1.617 MB / 477.6 MB, free: 46.48 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.0004674/0.3458, allocations: 228.4 kB / 477.8 MB, free: 46.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004789/0.3506, allocations: 3.901 MB / 481.7 MB, free: 43.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-05/0.3507, allocations: 52.38 kB / 481.8 MB, free: 43.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.352, allocations: 1.013 MB / 482.8 MB, free: 42.76 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/0.354, allocations: 2.295 MB / 485.1 MB, free: 40.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006852/0.3608, allocations: 5.654 MB / 490.7 MB, free: 35.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.3612, allocations: 0.5388 MB / 491.3 MB, free: 34.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001379/0.3626, allocations: 456.2 kB / 491.7 MB, free: 34.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.3637, allocations: 0.541 MB / 492.3 MB, free: 34.01 MB / 442.7 MB Notification: Performance of SimCode: time 1.713e-06/0.3637, allocations: 0 / 492.3 MB, free: 34.01 MB / 442.7 MB Notification: Performance of Templates: time 0.05339/0.4171, allocations: 49.79 MB / 0.5294 GB, free: 1.926 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 & ./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 > 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 [Calling sys.exit(0), Time elapsed: 4.271117246709764]