Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.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.001683/0.001683, allocations: 78.8 kB / 19.96 MB, free: 1.75 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.001823/0.001823, allocations: 167.8 kB / 23.23 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.471/1.471, allocations: 158.6 MB / 185 MB, free: 6.391 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.6615/0.6615, allocations: 90.25 MB / 327.5 MB, free: 60 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.PVVoltageSource4,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.PVVoltageSource4") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4,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.PVVoltageSource4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.5013 GB, free: 48.55 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.263e-05/3.465e-05, allocations: 3.812 kB / 0.5013 GB, free: 48.54 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4): time 0.01663/0.01666, allocations: 14.64 MB / 0.5156 GB, free: 38.75 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0154/0.03206, allocations: 7.082 MB / 0.5225 GB, free: 33.64 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005196/0.03725, allocations: 104.2 kB / 0.5226 GB, free: 33.6 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003674/0.04093, allocations: 0.8378 MB / 0.5234 GB, free: 33.07 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.007814/0.04874, allocations: 1.628 MB / 0.525 GB, free: 31.94 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.008237/0.05698, allocations: 3.139 MB / 0.5281 GB, free: 29.94 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01107/0.06805, allocations: 5.888 MB / 0.5339 GB, free: 26.7 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005404/0.07345, allocations: 1.389 MB / 0.5352 GB, free: 25.82 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005117/0.07857, allocations: 1.988 MB / 0.5371 GB, free: 24.7 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004185/0.08275, allocations: 1.741 MB / 0.5388 GB, free: 23.88 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002665/0.08542, allocations: 0.6319 MB / 0.5395 GB, free: 23.88 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005191/0.09061, allocations: 0.9617 MB / 0.5404 GB, free: 23.79 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002817/0.09343, allocations: 1.263 MB / 0.5416 GB, free: 22.84 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004681/0.09811, allocations: 1.586 MB / 0.5432 GB, free: 21.84 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.1106, allocations: 7.89 MB / 0.5509 GB, free: 16.22 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.1106, allocations: 0 / 0.5509 GB, free: 16.22 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1106, allocations: 0 / 0.5509 GB, free: 16.22 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002753/0.1109, allocations: 3.938 kB / 0.5509 GB, free: 16.22 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.02415/0.135, allocations: 6.321 MB / 0.5571 GB, free: 11.97 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.1351, allocations: 10.25 kB / 0.5571 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00824/0.1433, allocations: 1.299 MB / 0.5583 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006741/0.15, allocations: 2.865 MB / 0.5611 GB, free: 9.164 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005967/0.1506, allocations: 1.008 MB / 0.5621 GB, free: 8.148 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009323/0.1516, allocations: 340.7 kB / 0.5625 GB, free: 8.031 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007674/0.1592, allocations: 4.439 MB / 0.5668 GB, free: 4.445 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.607e-05/0.1593, allocations: 7.938 kB / 0.5668 GB, free: 4.438 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003133/0.1596, allocations: 140 kB / 0.5669 GB, free: 4.301 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/0.1597, allocations: 80 kB / 0.567 GB, free: 4.223 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006975/0.1666, allocations: 3.397 MB / 0.5703 GB, free: 0.8164 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.02785/0.1945, allocations: 11.81 MB / 0.5819 GB, free: 4.812 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009587/0.2041, allocations: 3.299 MB / 0.5851 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003825/0.2079, allocations: 1.373 MB / 0.5864 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003014/0.2082, allocations: 41.98 kB / 0.5865 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004712/0.2129, allocations: 1.973 MB / 0.5884 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=267): time 6.893e-06/0.2129, allocations: 0 / 0.5884 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.01784/0.2307, allocations: 5.433 MB / 0.5937 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000423/0.2312, allocations: 0.5432 MB / 0.5942 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007009/0.2382, allocations: 3.107 MB / 0.5973 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009218/0.2391, allocations: 85.7 kB / 0.5973 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002165/0.2413, allocations: 1.694 MB / 0.599 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001954/0.2432, allocations: 0.9531 MB / 0.5999 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001769/0.245, allocations: 0.8034 MB / 0.6007 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2452, allocations: 301.1 kB / 0.601 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004444/0.2496, allocations: 1.855 MB / 0.6028 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005375/0.255, allocations: 2.927 MB / 0.6057 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03515/0.2901, allocations: 9.563 MB / 0.615 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.798e-05/0.2902, allocations: 4 kB / 0.615 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=565) (initialization): time 0.01533/0.3055, allocations: 5.55 MB / 0.6204 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.3056, allocations: 69.66 kB / 0.6205 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/0.3057, allocations: 15.98 kB / 0.6205 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.307, allocations: 0.5444 MB / 0.621 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004647/0.3116, allocations: 0.8777 MB / 0.6219 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007992/0.3196, allocations: 3.915 MB / 0.6257 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005365/0.325, allocations: 437.8 kB / 0.6261 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009107/0.3259, allocations: 148 kB / 0.6263 GB, free: 6.41 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.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.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) 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.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.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_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.007175/0.3331, allocations: 2.583 MB / 0.6288 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005297/0.3384, allocations: 2.869 MB / 0.6316 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03344/0.3718, allocations: 9.415 MB / 0.6408 GB, free: 7.031 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.976e-05/0.3718, allocations: 7.984 kB / 0.6408 GB, free: 7.023 MB / 0.545 GB Notification: Performance of matching and sorting (n=565) (initialization_lambda0): time 0.01456/0.3864, allocations: 5.46 MB / 0.6461 GB, free: 1.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.3865, allocations: 77.05 kB / 0.6462 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/0.3865, allocations: 15.94 kB / 0.6462 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.3878, allocations: 0.5357 MB / 0.6467 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004501/0.3923, allocations: 0.8581 MB / 0.6476 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007857/0.4001, allocations: 3.916 MB / 0.6514 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005322/0.4054, allocations: 418 kB / 0.6518 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008728/0.4063, allocations: 144 kB / 0.6519 GB, free: 11.49 MB / 0.5606 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.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.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) 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.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.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_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: 50 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.injector.running,PV.injector.running,$whenCondition7,$whenCondition6,$whenCondition8,$PRE.PV.HvTfo.state,PV.HvTfo.state,$PRE.PV.LvTfo.state,PV.LvTfo.state,$PRE.PV.source.state,PV.source.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.source.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.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,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition10,$whenCondition9,$whenCondition11,$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,PV.wecc_regc.pIAntiWindupVariableLimits1.integrator.local_reset,PV.wecc_regc.pIAntiWindupVariableLimits.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (519): * Single equations (assignments): 517 * 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.00156/0.4079, allocations: 0.5671 MB / 0.6525 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001484/0.4093, allocations: 381.5 kB / 0.6529 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/0.4201, allocations: 3.88 MB / 0.6567 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.464e-05/0.4201, allocations: 31.94 kB / 0.6567 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.4201, allocations: 4 kB / 0.6567 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-05/0.4201, allocations: 15.94 kB / 0.6567 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01949/0.4396, allocations: 7.829 MB / 0.6643 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/0.4396, allocations: 4.781 kB / 0.6644 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003384/0.443, allocations: 0.5304 MB / 0.6649 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.4443, allocations: 0.531 MB / 0.6654 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002826/0.4446, allocations: 71.97 kB / 0.6655 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007911/0.4525, allocations: 3.902 MB / 0.6693 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/0.4525, allocations: 11.94 kB / 0.6693 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01714/0.4696, allocations: 6.248 MB / 0.6754 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002851/0.4725, allocations: 0.7935 MB / 0.6762 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009236/0.4734, allocations: 71.98 kB / 0.6762 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002701/0.4761, allocations: 203.7 kB / 0.6764 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006331/0.4767, allocations: 225.4 kB / 0.6766 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002484/0.477, allocations: 95.95 kB / 0.6767 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00401/0.481, allocations: 1.986 MB / 0.6787 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.481, allocations: 0 / 0.6787 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007461/0.4885, allocations: 1.875 MB / 0.6805 GB, free: 13.81 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 25 (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.wecc_regc.pIAntiWindupVariableLimits.integrator.y,PV.wecc_regc.pIAntiWindupVariableLimits1.integrator.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,$whenCondition11,$whenCondition9,$whenCondition10,$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.source.running,PV.source.state,PV.LvTfo.running,PV.LvTfo.state,PV.HvTfo.running,PV.HvTfo.state,PV.wecc_repc.freeze,$whenCondition8,$whenCondition6,$whenCondition7,PV.injector.running,PV.injector.state) * Number of discrete states: 6 (PV.injector.running,PV.HvTfo.running,PV.LvTfo.running,PV.source.running,line.running,PV.wecc_regc.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 247 * 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.002071/0.4905, allocations: 0.5395 MB / 0.681 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02035/0.5109, allocations: 7.12 MB / 0.688 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.26e-05/0.5109, allocations: 4.375 kB / 0.688 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006719/0.5176, allocations: 2.123 MB / 0.6901 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004774/0.5224, allocations: 0.558 MB / 0.6906 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/0.541, allocations: 7.399 MB / 0.6978 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002094/0.5431, allocations: 1.59 MB / 0.6994 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003093/0.5462, allocations: 478.8 kB / 0.6998 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009668/0.5471, allocations: 216.5 kB / 0.7 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of SimCode: time 1.263e-06/0.5472, allocations: 0 / 0.7 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of Templates: time 0.3896/0.9367, allocations: 50.52 MB / 0.7494 GB, free: 205 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.sim & ./Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -variableFilter=.* -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 9.510657995939255]