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.0009568/0.0009568, allocations: 76.52 kB / 19.95 MB, free: 4.613 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.0008957/0.0008957, allocations: 177.2 kB / 23.23 MB, free: 1.328 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.9218/0.9218, allocations: 158.6 MB / 185 MB, free: 3.027 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.4503/0.4503, allocations: 90.27 MB / 327.5 MB, free: 15.03 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 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: "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 1.094 kB / 0.5 GB, free: 16.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.379e-05, allocations: 2.281 kB / 0.5 GB, free: 16.95 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2): time 0.01269/0.01271, allocations: 13.89 MB / 0.5136 GB, free: 7.637 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.02665, allocations: 6.708 MB / 0.5201 GB, free: 2.797 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004765/0.03142, allocations: 96.97 kB / 0.5202 GB, free: 2.758 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002236/0.03365, allocations: 0.7842 MB / 0.521 GB, free: 2.273 MB / 442.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.005274/0.03893, allocations: 1.585 MB / 0.5226 GB, free: 1.176 MB / 442.7 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.006047/0.04497, allocations: 2.906 MB / 0.5254 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.008915/0.05389, allocations: 5.455 MB / 0.5307 GB, free: 11.28 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.05621, allocations: 1.26 MB / 0.532 GB, free: 10.33 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003092/0.0593, allocations: 1.855 MB / 0.5338 GB, free: 9.082 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002638/0.06194, allocations: 1.627 MB / 0.5354 GB, free: 7.902 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001358/0.0633, allocations: 0.5786 MB / 0.5359 GB, free: 7.902 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.06485, allocations: 0.9074 MB / 0.5368 GB, free: 7.199 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000737/0.06559, allocations: 1.168 MB / 0.5379 GB, free: 6.027 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002078/0.06767, allocations: 1.461 MB / 0.5394 GB, free: 4.562 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006911/0.07458, allocations: 7.248 MB / 0.5464 GB, free: 13.29 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.07458, allocations: 4 kB / 0.5465 GB, free: 13.29 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.07459, allocations: 0 / 0.5465 GB, free: 13.29 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001433/0.07473, allocations: 3.938 kB / 0.5465 GB, free: 13.28 MB / 474.7 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.0114/0.08613, allocations: 5.977 MB / 0.5523 GB, free: 7.215 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.08618, allocations: 12.03 kB / 0.5523 GB, free: 7.203 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004044/0.08659, allocations: 417.3 kB / 0.5527 GB, free: 6.785 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003423/0.09001, allocations: 1.247 MB / 0.5539 GB, free: 5.535 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003537/0.09355, allocations: 2.648 MB / 0.5565 GB, free: 2.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000536/0.09408, allocations: 0.9864 MB / 0.5575 GB, free: 1.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003286/0.09441, allocations: 312.1 kB / 0.5578 GB, free: 1.375 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004811/0.09922, allocations: 4.086 MB / 0.5618 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/0.09926, allocations: 3.938 kB / 0.5618 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/0.09948, allocations: 132 kB / 0.5619 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/0.09952, allocations: 72 kB / 0.562 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004242/0.1038, allocations: 3.132 MB / 0.565 GB, free: 9.684 MB / 490.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.01257/0.1163, allocations: 11.05 MB / 0.5758 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004224/0.1206, allocations: 2.973 MB / 0.5787 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.1222, allocations: 1.263 MB / 0.5799 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.1224, allocations: 45.84 kB / 0.58 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0022/0.1246, allocations: 1.803 MB / 0.5817 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=247): time 3.737e-06/0.1246, allocations: 0 / 0.5817 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=247): time 0.008881/0.1335, allocations: 5.144 MB / 0.5868 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002253/0.1337, allocations: 0.5179 MB / 0.5873 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003906/0.1376, allocations: 3.324 MB / 0.5905 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001636/0.1378, allocations: 85.69 kB / 0.5906 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.1389, allocations: 1.562 MB / 0.5921 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007625/0.1396, allocations: 0.8834 MB / 0.593 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009238/0.1406, allocations: 0.7794 MB / 0.5937 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.1406, allocations: 305.1 kB / 0.594 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.1429, allocations: 1.757 MB / 0.5958 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002765/0.1457, allocations: 2.764 MB / 0.5985 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01519/0.1608, allocations: 9.102 MB / 0.6073 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.1609, allocations: 0 / 0.6073 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=545) (initialization): time 0.007501/0.1684, allocations: 5.34 MB / 0.6126 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-05/0.1684, allocations: 73.66 kB / 0.6126 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.1685, allocations: 12.03 kB / 0.6126 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007465/0.1692, allocations: 0.5395 MB / 0.6132 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.1712, allocations: 0.8425 MB / 0.614 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004604/0.1758, allocations: 3.939 MB / 0.6178 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.1779, allocations: 473.3 kB / 0.6183 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/0.1781, allocations: 144 kB / 0.6184 GB, free: 1.984 MB / 0.5261 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.003804/0.1819, allocations: 2.455 MB / 0.6208 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002653/0.1846, allocations: 2.697 MB / 0.6235 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01484/0.1994, allocations: 8.965 MB / 0.6322 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.419e-05/0.1994, allocations: 0 / 0.6322 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of matching and sorting (n=545) (initialization_lambda0): time 0.007231/0.2067, allocations: 5.235 MB / 0.6373 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.99e-05/0.2067, allocations: 73.78 kB / 0.6374 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.2067, allocations: 8 kB / 0.6374 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006718/0.2074, allocations: 0.5357 MB / 0.6379 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/0.2093, allocations: 0.8269 MB / 0.6387 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004295/0.2136, allocations: 3.943 MB / 0.6426 GB, free: 8.641 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.2155, allocations: 394.1 kB / 0.643 GB, free: 8.254 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.2157, allocations: 140 kB / 0.6431 GB, free: 8.117 MB / 0.5573 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: 66 ($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.QConv0PuPos.k,PV.wecc_regc.and1.u[1],PV.wecc_regc.QConv0PuPos.y,PV.wecc_regc.QConv0PuNeg.k,PV.wecc_regc.and2.u[2],PV.wecc_regc.QConv0PuNeg.y,$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 (501): * Single equations (assignments): 499 * 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.0009187/0.2166, allocations: 0.5651 MB / 0.6436 GB, free: 7.562 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004599/0.2171, allocations: 381.5 kB / 0.644 GB, free: 7.188 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00541/0.2225, allocations: 3.692 MB / 0.6476 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.2225, allocations: 27.94 kB / 0.6476 GB, free: 3.449 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.2225, allocations: 7.938 kB / 0.6476 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.2225, allocations: 20.17 kB / 0.6477 GB, free: 3.422 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009207/0.2317, allocations: 7.312 MB / 0.6548 GB, free: 11.98 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.2317, allocations: 12.66 kB / 0.6548 GB, free: 11.97 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/0.2333, allocations: 0.4915 MB / 0.6553 GB, free: 11.48 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007405/0.2341, allocations: 0.531 MB / 0.6558 GB, free: 10.95 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/0.2342, allocations: 67.97 kB / 0.6559 GB, free: 10.88 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004486/0.2387, allocations: 3.931 MB / 0.6597 GB, free: 6.84 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.2387, allocations: 4 kB / 0.6597 GB, free: 6.836 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008221/0.2469, allocations: 5.912 MB / 0.6655 GB, free: 0.7734 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/0.2484, allocations: 0.7974 MB / 0.6663 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/0.2487, allocations: 67.98 kB / 0.6663 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.2499, allocations: 191.7 kB / 0.6665 GB, free: 15.72 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/0.2502, allocations: 213.5 kB / 0.6667 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.2503, allocations: 87.97 kB / 0.6668 GB, free: 15.42 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002574/0.2529, allocations: 2.155 MB / 0.6689 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.2529, allocations: 0 / 0.6689 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003456/0.2564, allocations: 1.704 MB / 0.6706 GB, free: 11.57 MB / 0.5886 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.00869/0.2651, allocations: 6.898 MB / 0.6773 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.2589/0.524, allocations: 6.8 MB / 0.684 GB, free: 165.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.138e-05/0.524, allocations: 2.344 kB / 0.684 GB, free: 165.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004353/0.5284, allocations: 1.976 MB / 0.6859 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/0.5318, allocations: 0.5473 MB / 0.6864 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07229/0.604, allocations: 32.88 MB / 0.7185 GB, free: 150.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/0.6054, allocations: 1.483 MB / 0.72 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001989/0.6074, allocations: 489.6 kB / 0.7204 GB, free: 150.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/0.6089, allocations: 1.574 MB / 0.722 GB, free: 149.2 MB / 0.5886 GB Notification: Performance of SimCode: time 2.235e-06/0.6089, allocations: 0 / 0.722 GB, free: 149.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/0.712, allocations: 87.49 MB / 0.8074 GB, free: 66.89 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.63, allocations: 11.83 kB / 0.8074 GB, free: 66.88 MB / 0.5886 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource2_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource2.fmu > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe 2>&1) [Timeout 52.5] 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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 19.231528476811945]