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.0009638/0.0009638, allocations: 76.52 kB / 19.95 MB, free: 4.602 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.0008982/0.0008982, allocations: 173.2 kB / 23.23 MB, free: 1.32 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.959/0.959, allocations: 158.6 MB / 185 MB, free: 3.035 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.4757/0.4757, allocations: 90.27 MB / 327.5 MB, free: 14.98 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.PVVoltageSource4,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 0.5008 GB, free: 16.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.735e-05, allocations: 5.656 kB / 0.5008 GB, free: 16.47 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4): time 0.01708/0.01711, allocations: 14.64 MB / 0.5151 GB, free: 6.652 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.03145, allocations: 7.079 MB / 0.522 GB, free: 1.535 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003454/0.03491, allocations: 108.6 kB / 0.5221 GB, free: 1.488 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.03678, allocations: 0.8338 MB / 0.5229 GB, free: 0.9648 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.00377/0.04055, allocations: 1.635 MB / 0.5245 GB, free: 15.71 MB / 458.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.005138/0.04569, allocations: 3.13 MB / 0.5276 GB, free: 13.17 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.006977/0.05267, allocations: 5.885 MB / 0.5333 GB, free: 9.309 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002428/0.05509, allocations: 1.39 MB / 0.5347 GB, free: 8.266 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003352/0.05845, allocations: 1.983 MB / 0.5366 GB, free: 6.926 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002656/0.0611, allocations: 1.744 MB / 0.5383 GB, free: 5.602 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001163/0.06226, allocations: 0.6328 MB / 0.539 GB, free: 4.969 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.06368, allocations: 0.9605 MB / 0.5399 GB, free: 4.008 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007001/0.06438, allocations: 1.269 MB / 0.5411 GB, free: 2.734 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001755/0.06614, allocations: 1.585 MB / 0.5427 GB, free: 1.145 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00601/0.07215, allocations: 7.887 MB / 0.5504 GB, free: 9.234 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.07215, allocations: 0 / 0.5504 GB, free: 9.234 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.07216, allocations: 0 / 0.5504 GB, free: 9.234 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001899/0.07235, allocations: 3.938 kB / 0.5504 GB, free: 9.23 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01246/0.08481, allocations: 6.321 MB / 0.5566 GB, free: 2.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.08485, allocations: 8.031 kB / 0.5566 GB, free: 2.812 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004438/0.0853, allocations: 451.1 kB / 0.557 GB, free: 2.359 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003391/0.08869, allocations: 1.305 MB / 0.5583 GB, free: 1.051 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003569/0.09226, allocations: 2.861 MB / 0.5611 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004737/0.09273, allocations: 1.01 MB / 0.5621 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003388/0.09307, allocations: 335.9 kB / 0.5624 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004953/0.09802, allocations: 4.443 MB / 0.5667 GB, free: 7.902 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.229e-05/0.09806, allocations: 7.938 kB / 0.5667 GB, free: 7.895 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.09829, allocations: 140 kB / 0.5669 GB, free: 7.758 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.936e-05/0.09833, allocations: 83.98 kB / 0.5669 GB, free: 7.676 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004356/0.1027, allocations: 3.397 MB / 0.5703 GB, free: 4.27 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.01247/0.1152, allocations: 12.29 MB / 0.5823 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004452/0.1196, allocations: 3.298 MB / 0.5855 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001717/0.1213, allocations: 1.374 MB / 0.5868 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/0.1215, allocations: 41.97 kB / 0.5869 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002468/0.124, allocations: 1.981 MB / 0.5888 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=267): time 4.408e-06/0.124, allocations: 3.938 kB / 0.5888 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of matching and sorting (n=267): time 0.009014/0.133, allocations: 5.462 MB / 0.5941 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002106/0.1332, allocations: 0.5468 MB / 0.5947 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003948/0.1372, allocations: 3.523 MB / 0.5981 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001752/0.1373, allocations: 89.69 kB / 0.5982 GB, free: 7.242 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0013/0.1386, allocations: 1.696 MB / 0.5998 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008486/0.1395, allocations: 0.9492 MB / 0.6008 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.1405, allocations: 0.8273 MB / 0.6016 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.1406, allocations: 301.1 kB / 0.6019 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002441/0.1431, allocations: 1.88 MB / 0.6037 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002921/0.146, allocations: 2.972 MB / 0.6066 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01666/0.1626, allocations: 9.659 MB / 0.616 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-05/0.1627, allocations: 3.938 kB / 0.616 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of matching and sorting (n=583) (initialization): time 0.008745/0.1714, allocations: 5.681 MB / 0.6216 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.099e-05/0.1715, allocations: 69.66 kB / 0.6217 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.1715, allocations: 16.06 kB / 0.6217 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007298/0.1722, allocations: 0.5479 MB / 0.6222 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/0.1744, allocations: 0.9049 MB / 0.6231 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005129/0.1795, allocations: 3.923 MB / 0.6269 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/0.182, allocations: 0.501 MB / 0.6274 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/0.1822, allocations: 148 kB / 0.6276 GB, free: 8.293 MB / 0.5417 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.00374/0.186, allocations: 2.624 MB / 0.6301 GB, free: 5.672 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003015/0.189, allocations: 2.91 MB / 0.633 GB, free: 2.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01654/0.2055, allocations: 9.534 MB / 0.6423 GB, free: 8.629 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.675e-05/0.2055, allocations: 7.938 kB / 0.6423 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of matching and sorting (n=583) (initialization_lambda0): time 0.008143/0.2137, allocations: 5.572 MB / 0.6477 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.305e-05/0.2137, allocations: 69.66 kB / 0.6478 GB, free: 2.883 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.2138, allocations: 16.84 kB / 0.6478 GB, free: 2.867 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006754/0.2144, allocations: 0.546 MB / 0.6483 GB, free: 2.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/0.2165, allocations: 0.8854 MB / 0.6492 GB, free: 1.434 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004495/0.221, allocations: 3.941 MB / 0.653 GB, free: 13.39 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/0.2235, allocations: 422 kB / 0.6534 GB, free: 12.97 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/0.2237, allocations: 156 kB / 0.6536 GB, free: 12.82 MB / 0.573 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: 68 ($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.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.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 (537): * Single equations (assignments): 535 * 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.0009819/0.2247, allocations: 0.5801 MB / 0.6542 GB, free: 12.25 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004678/0.2251, allocations: 405.4 kB / 0.6546 GB, free: 11.86 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005733/0.2309, allocations: 3.907 MB / 0.6584 GB, free: 7.93 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.2309, allocations: 28 kB / 0.6584 GB, free: 7.902 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.2309, allocations: 8 kB / 0.6584 GB, free: 7.895 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/0.2309, allocations: 19.92 kB / 0.6584 GB, free: 7.875 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.2415, allocations: 8.176 MB / 0.6664 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.2415, allocations: 11.94 kB / 0.6664 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/0.2431, allocations: 0.5195 MB / 0.6669 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009162/0.2441, allocations: 0.5274 MB / 0.6674 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/0.2443, allocations: 71.97 kB / 0.6675 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004314/0.2486, allocations: 3.933 MB / 0.6713 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.2486, allocations: 19.88 kB / 0.6714 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008274/0.2569, allocations: 6.293 MB / 0.6775 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/0.2582, allocations: 0.8402 MB / 0.6783 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00032/0.2586, allocations: 71.98 kB / 0.6784 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.2598, allocations: 203.8 kB / 0.6786 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003456/0.2601, allocations: 221.5 kB / 0.6788 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.2602, allocations: 99.89 kB / 0.6789 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002536/0.2628, allocations: 2.27 MB / 0.6811 GB, free: 200 kB / 0.5886 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2628, allocations: 0 / 0.6811 GB, free: 200 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.267/0.5297, allocations: 1.818 MB / 0.6829 GB, free: 162 MB / 0.5886 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.01008/0.5398, allocations: 7.279 MB / 0.69 GB, free: 160.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01155/0.5514, allocations: 7.215 MB / 0.697 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.558e-05/0.5514, allocations: 2.188 kB / 0.6971 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003496/0.5549, allocations: 2.112 MB / 0.6991 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/0.5576, allocations: 0.5922 MB / 0.6997 GB, free: 156 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06611/0.6238, allocations: 35.15 MB / 0.734 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.6249, allocations: 1.596 MB / 0.7356 GB, free: 135.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001796/0.6267, allocations: 0.5056 MB / 0.7361 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/0.6281, allocations: 1.692 MB / 0.7377 GB, free: 133.4 MB / 0.5886 GB Notification: Performance of SimCode: time 2.083e-06/0.6281, allocations: 0 / 0.7377 GB, free: 133.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09162/0.7198, allocations: 92.67 MB / 0.8282 GB, free: 41.42 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.87, allocations: 19.33 kB / 0.8282 GB, free: 41.4 MB / 0.5886 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource4.fmu > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv","/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] "Error: Could not read variable PV.HvMeasurements.PPuSnRef in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv. Warning: Get data of variable PV.HvMeasurements.PPuSnRef from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv failed! Error: Could not read variable PV.HvMeasurements.QPuSnRef in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv. Warning: Get data of variable PV.HvMeasurements.QPuSnRef from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv failed! Error: Could not read variable PV.HvMeasurements.UPu in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv. Warning: Get data of variable PV.HvMeasurements.UPu from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.319593857973814]