Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.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.001485/0.001485, allocations: 85.22 kB / 19.96 MB, free: 1.758 MB / 14.72 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.001707/0.001707, allocations: 170.6 kB / 23.24 MB, free: 4.879 MB / 14.72 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 1.434/1.434, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] 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.6685/0.6685, allocations: 90.26 MB / 327.5 MB, free: 48 kB / 302.1 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 it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,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.PVVoltageSource2") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,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.PVVoltageSource2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.5005 GB, free: 48.98 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.091e-05, allocations: 2.938 kB / 0.5005 GB, free: 48.97 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2): time 0.01452/0.01455, allocations: 13.89 MB / 0.5141 GB, free: 39.71 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01513/0.02969, allocations: 6.702 MB / 0.5207 GB, free: 34.89 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005507/0.03519, allocations: 97.28 kB / 0.5207 GB, free: 34.85 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003638/0.03883, allocations: 0.7933 MB / 0.5215 GB, free: 34.35 MB / 478.1 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.007702/0.04653, allocations: 1.577 MB / 0.5231 GB, free: 33.26 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation PV.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation PV.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation PV.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation PV.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Photovoltaics/WECC/PVVoltageSource_INIT.mo:130:3-130:91:writable] Warning: In relation Modelica.ComplexMath.'abs'(pvVoltageSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.008116/0.05465, allocations: 2.913 MB / 0.5259 GB, free: 31.43 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009315/0.06396, allocations: 5.456 MB / 0.5312 GB, free: 28.44 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004084/0.06805, allocations: 1.254 MB / 0.5325 GB, free: 27.64 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003677/0.07172, allocations: 1.852 MB / 0.5343 GB, free: 26.61 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003175/0.0749, allocations: 1.623 MB / 0.5359 GB, free: 25.85 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002134/0.07703, allocations: 0.5779 MB / 0.5364 GB, free: 25.85 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.08003, allocations: 0.9077 MB / 0.5373 GB, free: 25.75 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001935/0.08197, allocations: 1.17 MB / 0.5384 GB, free: 24.88 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003606/0.08557, allocations: 1.468 MB / 0.5399 GB, free: 23.95 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01287/0.09844, allocations: 7.247 MB / 0.547 GB, free: 19.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.09845, allocations: 1.812 kB / 0.547 GB, free: 19.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09845, allocations: 0 / 0.547 GB, free: 19.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003419/0.09879, allocations: 3.938 kB / 0.547 GB, free: 19.16 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 750 * Number of variables: 750 Notification: Performance of Generate backend data structure: time 0.02262/0.1214, allocations: 5.985 MB / 0.5528 GB, free: 15.14 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1215, allocations: 10.03 kB / 0.5528 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008001/0.1295, allocations: 1.246 MB / 0.554 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006054/0.1355, allocations: 2.657 MB / 0.5566 GB, free: 12.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005511/0.1361, allocations: 0.9813 MB / 0.5576 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007658/0.1368, allocations: 306.5 kB / 0.5579 GB, free: 11.42 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00714/0.144, allocations: 4.085 MB / 0.5619 GB, free: 8.602 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.409e-05/0.144, allocations: 5.219 kB / 0.5619 GB, free: 8.598 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003177/0.1443, allocations: 126 kB / 0.562 GB, free: 8.504 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/0.1444, allocations: 71.75 kB / 0.5621 GB, free: 8.504 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006114/0.1505, allocations: 3.134 MB / 0.5651 GB, free: 6.172 MB / 478.1 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.01866/0.1692, allocations: 10.6 MB / 0.5755 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007605/0.1768, allocations: 2.974 MB / 0.5784 GB, free: 8.445 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003026/0.1798, allocations: 1.257 MB / 0.5796 GB, free: 7.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.1801, allocations: 45.97 kB / 0.5796 GB, free: 7.137 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003784/0.1838, allocations: 1.803 MB / 0.5814 GB, free: 5.301 MB / 494.1 MB Notification: Performance of pre-optimization done (n=247): time 6.973e-06/0.1838, allocations: 3.984 kB / 0.5814 GB, free: 5.297 MB / 494.1 MB Notification: Performance of matching and sorting (n=247): time 0.01642/0.2003, allocations: 5.098 MB / 0.5864 GB, free: 196 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003459/0.2006, allocations: 0.5296 MB / 0.5869 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005461/0.2061, allocations: 2.933 MB / 0.5898 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006135/0.2067, allocations: 81.7 kB / 0.5898 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001646/0.2083, allocations: 1.572 MB / 0.5914 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001392/0.2097, allocations: 0.8833 MB / 0.5922 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001465/0.2112, allocations: 0.7556 MB / 0.593 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2113, allocations: 301.1 kB / 0.5933 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003823/0.2152, allocations: 1.725 MB / 0.595 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004823/0.22, allocations: 2.72 MB / 0.5976 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03335/0.2533, allocations: 8.994 MB / 0.6064 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.253e-05/0.2534, allocations: 4 kB / 0.6064 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=527) (initialization): time 0.01343/0.2668, allocations: 5.208 MB / 0.6115 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.2669, allocations: 69.66 kB / 0.6115 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.2669, allocations: 12.72 kB / 0.6116 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.2681, allocations: 0.5362 MB / 0.6121 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004348/0.2725, allocations: 0.8269 MB / 0.6129 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007746/0.2802, allocations: 3.911 MB / 0.6167 GB, free: 352 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004126/0.2843, allocations: 417.9 kB / 0.6171 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004205/0.2848, allocations: 140 kB / 0.6172 GB, free: 15.79 MB / 0.5294 GB Warning: Assuming fixed start value for the following 36 variables: 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) PV.injector.running:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean 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.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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) PV.s0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary part of complex number\" type: Real PV.s0Pu.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real line.running:DISCRETE(flow=false start = line.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_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.wecc_regc.vSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.vSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.source.running:DISCRETE(flow=false start = PV.source.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.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_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.iSource0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary part of complex number\" type: Real PV.iSource0Pu.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005429/0.2902, allocations: 2.398 MB / 0.6196 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004578/0.2948, allocations: 2.674 MB / 0.6222 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03196/0.3267, allocations: 8.842 MB / 0.6308 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.59e-05/0.3268, allocations: 4 kB / 0.6308 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of matching and sorting (n=527) (initialization_lambda0): time 0.01353/0.3403, allocations: 5.114 MB / 0.6358 GB, free: 12.26 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.3404, allocations: 81.91 kB / 0.6359 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.3404, allocations: 8 kB / 0.6359 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.3416, allocations: 0.5357 MB / 0.6364 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004486/0.3461, allocations: 0.7996 MB / 0.6372 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008193/0.3543, allocations: 3.92 MB / 0.641 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004198/0.3585, allocations: 382.2 kB / 0.6414 GB, free: 6.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004352/0.359, allocations: 144 kB / 0.6416 GB, free: 6.301 MB / 0.545 GB Warning: Assuming fixed start value for the following 36 variables: 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) PV.injector.running:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean 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.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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) PV.s0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary part of complex number\" type: Real PV.s0Pu.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real line.running:DISCRETE(flow=false start = line.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_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.wecc_regc.vSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.vSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.source.running:DISCRETE(flow=false start = PV.source.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.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_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.iSource0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary part of complex number\" type: Real PV.iSource0Pu.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real 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: 44 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.injector.running,PV.injector.running,$whenCondition10,$whenCondition9,$whenCondition11,$PRE.PV.LvTfo.state,PV.LvTfo.state,$PRE.PV.source.state,PV.source.state,$PRE.PV.HvTfo.state,PV.HvTfo.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.HvTfo.running,$PRE.PV.wecc_regc.offDelay.delaySignal,$PRE.PV.wecc_regc.offDelay.tNext,$PRE.PV.source.running,$PRE.PV.LvTfo.running,PV.wecc_regc.QConv0PuNeg.k,PV.wecc_regc.QConv0PuPos.k,$PRE.PV.wecc_regc.offDelay.u,PV.wecc_repc.freeze,PV.LvTfo.running,PV.source.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,PV.HvTfo.running,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPID.I.local_reset,PV.pll.limIntegrator.local_reset,PV.pll.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (483): * Single equations (assignments): 481 * 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 {(12,8,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001209/0.3602, allocations: 0.5539 MB / 0.6421 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/0.3612, allocations: 341.8 kB / 0.6424 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/0.3717, allocations: 3.667 MB / 0.646 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.41e-05/0.3717, allocations: 24 kB / 0.646 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.3717, allocations: 7.938 kB / 0.646 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.716e-05/0.3718, allocations: 15.95 kB / 0.646 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0192/0.391, allocations: 7.006 MB / 0.6529 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-05/0.391, allocations: 4 kB / 0.6529 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00336/0.3944, allocations: 500 kB / 0.6534 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/0.3956, allocations: 0.5278 MB / 0.6539 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003097/0.3959, allocations: 67.97 kB / 0.6539 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007985/0.4038, allocations: 3.89 MB / 0.6577 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/0.4039, allocations: 15.94 kB / 0.6578 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/0.4188, allocations: 5.879 MB / 0.6635 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002381/0.4212, allocations: 0.743 MB / 0.6642 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006243/0.4218, allocations: 71.92 kB / 0.6643 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/0.4242, allocations: 199.7 kB / 0.6645 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005469/0.4247, allocations: 209.5 kB / 0.6647 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002149/0.4249, allocations: 87.95 kB / 0.6648 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003268/0.4282, allocations: 1.875 MB / 0.6666 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.4282, allocations: 0 / 0.6666 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004665/0.4329, allocations: 1.766 MB / 0.6683 GB, free: 10.49 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 23 (PV.wecc_regc.rateLimFirstOrderFreeze2.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.wecc_regc.firstOrder.y,PV.wecc_regc.vSourceRef.firstOrder.y,PV.wecc_regc.vSourceRef.firstOrder1.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],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) * Number of discrete variables: 34 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,PV.HvTfo.running,PV.HvTfo.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.source.running,PV.source.state,PV.LvTfo.running,PV.LvTfo.state,PV.wecc_repc.freeze,$whenCondition11,$whenCondition9,$whenCondition10,PV.injector.running,PV.injector.state) * Number of discrete states: 6 (PV.injector.running,PV.LvTfo.running,PV.source.running,PV.HvTfo.running,line.running,PV.wecc_regc.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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 {(12,8,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0019/0.4348, allocations: 0.5231 MB / 0.6688 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01797/0.4527, allocations: 6.707 MB / 0.6754 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.786e-05/0.4528, allocations: 4 kB / 0.6754 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005794/0.4586, allocations: 1.991 MB / 0.6773 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003786/0.4623, allocations: 0.5276 MB / 0.6778 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/0.4788, allocations: 6.814 MB / 0.6845 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001879/0.4806, allocations: 1.485 MB / 0.686 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002603/0.4832, allocations: 445.3 kB / 0.6864 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008604/0.4841, allocations: 216.4 kB / 0.6866 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of SimCode: time 1.413e-06/0.4841, allocations: 0 / 0.6866 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of Templates: time 0.09499/0.5791, allocations: 49.75 MB / 0.7352 GB, free: 6.191 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.sim & ./Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2 -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.514823324978352]