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.000897/0.000897, allocations: 95.55 kB / 20.45 MB, free: 4.121 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.0008842/0.0008842, allocations: 169 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7848/0.7848, allocations: 158.6 MB / 185.7 MB, free: 2.883 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.4374/0.4374, allocations: 90.57 MB / 328.6 MB, free: 14.69 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.HvMeasurements.PPuSnRef|PV.HvMeasurements.QPuSnRef|PV.HvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.HvMeasurements.PPuSnRef|PV.HvMeasurements.QPuSnRef|PV.HvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0 / 433.8 MB, free: 5.848 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.468e-05, allocations: 2.312 kB / 433.8 MB, free: 5.844 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.01331/0.01335, allocations: 13.85 MB / 447.7 MB, free: 7.918 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009747/0.0231, allocations: 6.498 MB / 454.2 MB, free: 1.402 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.02539, allocations: 87.44 kB / 454.3 MB, free: 1.316 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.02697, allocations: 0.7356 MB / 455 MB, free: 0.5742 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002791/0.02976, allocations: 1.273 MB / 456.3 MB, free: 15.29 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.004326/0.03409, allocations: 2.9 MB / 459.2 MB, free: 12.39 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004749/0.03884, allocations: 5 MB / 464.2 MB, free: 7.375 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.04057, allocations: 1.173 MB / 465.4 MB, free: 6.129 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.04278, allocations: 1.694 MB / 467.1 MB, free: 4.43 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.04399, allocations: 1.487 MB / 468.5 MB, free: 2.938 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004701/0.04446, allocations: 0.5273 MB / 469.1 MB, free: 2.41 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.0455, allocations: 0.8472 MB / 469.9 MB, free: 1.562 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005779/0.04608, allocations: 1.063 MB / 471 MB, free: 0.4961 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1999/0.246, allocations: 1.348 MB / 472.3 MB, free: 59.51 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0042/0.2502, allocations: 3.529 MB / 475.9 MB, free: 59.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2502, allocations: 0 / 475.9 MB, free: 59.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2502, allocations: 0 / 475.9 MB, free: 59.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001045/0.2503, allocations: 3.469 kB / 475.9 MB, free: 59.3 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.007263/0.2576, allocations: 5.398 MB / 481.3 MB, free: 57.22 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.2576, allocations: 8.656 kB / 481.3 MB, free: 57.22 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003096/0.2607, allocations: 1.391 MB / 482.7 MB, free: 56.97 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002754/0.2634, allocations: 2.431 MB / 485.1 MB, free: 56.33 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003091/0.2638, allocations: 0.8637 MB / 485.9 MB, free: 55.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002845/0.264, allocations: 287.7 kB / 486.2 MB, free: 55.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003215/0.2673, allocations: 2.819 MB / 489 MB, free: 54.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.446e-05/0.2673, allocations: 6.125 kB / 489.1 MB, free: 54.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/0.2675, allocations: 116.1 kB / 489.2 MB, free: 54.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-05/0.2675, allocations: 67.62 kB / 489.2 MB, free: 54.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/0.2697, allocations: 1.204 MB / 490.4 MB, free: 54.46 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009227/0.2789, allocations: 10.13 MB / 0.4888 GB, free: 48.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.2814, allocations: 1.491 MB / 0.4903 GB, free: 48.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007608/0.2821, allocations: 498.4 kB / 0.4908 GB, free: 48.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/0.2823, allocations: 53.38 kB / 0.4908 GB, free: 48.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001434/0.2838, allocations: 0.9547 MB / 0.4918 GB, free: 47.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=227): time 4.539e-06/0.2838, allocations: 0 / 0.4918 GB, free: 47.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=227): time 0.004851/0.2886, allocations: 2.406 MB / 0.4941 GB, free: 47.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.2887, allocations: 479.8 kB / 0.4946 GB, free: 46.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/0.2913, allocations: 2.33 MB / 0.4968 GB, free: 45.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.2915, allocations: 80 kB / 0.4969 GB, free: 45.76 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009355/0.2924, allocations: 1.53 MB / 0.4984 GB, free: 44.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005067/0.2929, allocations: 0.8185 MB / 0.4992 GB, free: 43.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009182/0.2938, allocations: 0.6932 MB / 0.4999 GB, free: 43.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.518e-05/0.2939, allocations: 482.6 kB / 0.5003 GB, free: 43.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.2951, allocations: 0.7127 MB / 0.501 GB, free: 43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.2969, allocations: 1.746 MB / 0.5027 GB, free: 41.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004307/0.3012, allocations: 2.893 MB / 0.5056 GB, free: 40.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.3012, allocations: 2.125 kB / 0.5056 GB, free: 40.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.005381/0.3066, allocations: 3.076 MB / 0.5086 GB, free: 39.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.871e-05/0.3067, allocations: 66 kB / 0.5086 GB, free: 39.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.3067, allocations: 9.781 kB / 0.5086 GB, free: 39.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000846/0.3075, allocations: 340.1 kB / 0.509 GB, free: 39.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/0.3095, allocations: 0.7189 MB / 0.5097 GB, free: 39.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.312, allocations: 2.533 MB / 0.5121 GB, free: 37.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.3133, allocations: 339.5 kB / 0.5125 GB, free: 37.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/0.3135, allocations: 124.1 kB / 0.5126 GB, free: 37.09 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.001681/0.3152, allocations: 1.011 MB / 0.5136 GB, free: 36.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001474/0.3167, allocations: 1.737 MB / 0.5153 GB, free: 35.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003665/0.3203, allocations: 2.885 MB / 0.5181 GB, free: 34.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.008e-05/0.3203, allocations: 1.406 kB / 0.5181 GB, free: 34.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=470) (initialization_lambda0): time 0.004374/0.3247, allocations: 3.057 MB / 0.5211 GB, free: 33.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/0.3247, allocations: 65.36 kB / 0.5211 GB, free: 33.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.3248, allocations: 8.594 kB / 0.5211 GB, free: 33.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006693/0.3254, allocations: 344.8 kB / 0.5215 GB, free: 33.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.3272, allocations: 0.7081 MB / 0.5222 GB, free: 32.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.3293, allocations: 2.527 MB / 0.5246 GB, free: 30.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.3306, allocations: 326.5 kB / 0.5249 GB, free: 29.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.3307, allocations: 123.3 kB / 0.5251 GB, free: 29.68 MB / 442.7 MB Warning: Assuming fixed start value for the following 28 variables: PV.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean PV.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real PV.injector.running:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.LvTfo.running:DISCRETE(flow=false start = PV.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.HvTfo.running:DISCRETE(flow=false start = PV.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.X0[1] * PV.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 55 ($PRE.PV.HvTfo.state,PV.HvTfo.state,$PRE.PV.LvTfo.state,PV.LvTfo.state,$PRE.PV.injector.state,PV.injector.state,$PRE.line.state,line.state,PV.injector.switchOffSignal3,PV.injector.switchOffSignal2,PV.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,PV.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,PV.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.PV.wecc_regc.offDelay.delaySignal,$PRE.PV.wecc_regc.offDelay.tNext,$PRE.PV.injector.running,$PRE.PV.LvTfo.running,$PRE.PV.HvTfo.running,PV.wecc_regc.QConv0PuNeg.k,PV.wecc_regc.QConv0PuPos.k,$PRE.PV.wecc_regc.offDelay.u,PV.wecc_repc.freeze,PV.HvTfo.running,PV.LvTfo.running,PV.injector.running,PV.wecc_regc.and2.y,PV.wecc_regc.and1.y,PV.wecc_regc.and1.u[2],PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.u,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPID.I.local_reset,PV.pll.limIntegrator.local_reset,PV.pll.integrator.local_reset,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (434): * Single equations (assignments): 432 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006746/0.3314, allocations: 0.5842 MB / 0.5256 GB, free: 29.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004025/0.3318, allocations: 401.3 kB / 0.526 GB, free: 28.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/0.3347, allocations: 1.915 MB / 0.5279 GB, free: 27.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.3347, allocations: 24 kB / 0.5279 GB, free: 27.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3347, allocations: 2.812 kB / 0.5279 GB, free: 27.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.3348, allocations: 19.39 kB / 0.5279 GB, free: 27.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005951/0.3407, allocations: 4.79 MB / 0.5326 GB, free: 23.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3407, allocations: 8 kB / 0.5326 GB, free: 23.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.3421, allocations: 445.9 kB / 0.533 GB, free: 22.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005992/0.3427, allocations: 329.3 kB / 0.5334 GB, free: 22.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.3429, allocations: 63.64 kB / 0.5334 GB, free: 22.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.345, allocations: 2.525 MB / 0.5359 GB, free: 19.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.345, allocations: 6.844 kB / 0.5359 GB, free: 19.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003728/0.3487, allocations: 2.973 MB / 0.5388 GB, free: 16.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000835/0.3495, allocations: 0.6729 MB / 0.5394 GB, free: 16.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/0.3498, allocations: 64 kB / 0.5395 GB, free: 16.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000842/0.3506, allocations: 135.9 kB / 0.5396 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.3509, allocations: 193.2 kB / 0.5398 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.351, allocations: 75.97 kB / 0.5399 GB, free: 15.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001231/0.3522, allocations: 1.355 MB / 0.5412 GB, free: 14.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3522, allocations: 0 / 0.5412 GB, free: 14.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002583/0.3548, allocations: 1.567 MB / 0.5427 GB, free: 12.78 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 21 (PV.wecc_reec.firstOrder.y,PV.wecc_reec.firstOrder1.y,PV.wecc_reec.limPIDFreeze.I.y,PV.wecc_reec.rateLimFirstOrderFreeze1.y,PV.wecc_reec.slewRateLimiter.y,PV.wecc_reec.rateLimFirstOrderFreeze.y,PV.wecc_reec.varLimPIDFreeze.I.y,PV.wecc_reec.firstOrder2.y,PV.wecc_reec.firstOrder3.y,PV.wecc_regc.rateLimFirstOrderFreeze2.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.wecc_regc.firstOrder.y,PV.pll.integrator.y,PV.pll.limIntegrator.y,PV.wecc_repc.firstOrder.y,PV.wecc_repc.limPID.I.y,PV.wecc_repc.firstOrder1.y,PV.wecc_repc.firstOrder2.y,PV.wecc_repc.firstOrder3.y,PV.wecc_repc.limPIDFreeze.I.y,PV.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 29 ($whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,PV.wecc_regc.offDelay.u,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.and1.u[2],PV.wecc_regc.and1.y,PV.wecc_regc.and2.y,PV.injector.running,PV.injector.state,PV.LvTfo.running,PV.LvTfo.state,PV.HvTfo.running,PV.HvTfo.state,PV.wecc_repc.freeze) * Number of discrete states: 5 (PV.HvTfo.running,PV.LvTfo.running,PV.injector.running,line.running,PV.wecc_regc.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (224): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/0.3558, allocations: 479.7 kB / 0.5432 GB, free: 12.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005245/0.3611, allocations: 4.094 MB / 0.5472 GB, free: 8.453 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3611, allocations: 0 / 0.5472 GB, free: 8.453 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.3624, allocations: 1.051 MB / 0.5482 GB, free: 7.438 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.3639, allocations: 0.545 MB / 0.5488 GB, free: 6.918 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006109/0.37, allocations: 5.557 MB / 0.5542 GB, free: 1.238 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.3703, allocations: 0.525 MB / 0.5547 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001143/0.3715, allocations: 414.4 kB / 0.5551 GB, free: 292 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005255/0.372, allocations: 192.5 kB / 0.5553 GB, free: 100 kB / 442.7 MB Notification: Performance of SimCode: time 1.273e-06/0.372, allocations: 0 / 0.5553 GB, free: 100 kB / 442.7 MB Notification: Performance of Templates: time 0.05542/0.4274, allocations: 46.06 MB / 0.6003 GB, free: 2.422 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.495116845238954]