Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.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.0008339/0.0008339, allocations: 84.44 kB / 20.7 MB, free: 3.848 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.0008442/0.0008442, allocations: 177.2 kB / 23.98 MB, free: 0.5664 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.8255/0.8255, allocations: 158.6 MB / 185.7 MB, free: 3.055 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.4345/0.4345, allocations: 89.96 MB / 328 MB, free: 14.91 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: translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.LvMeasurements.PPuSnRef|PV.LvMeasurements.QPuSnRef|PV.LvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.LvMeasurements.PPuSnRef|PV.LvMeasurements.QPuSnRef|PV.LvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 68.23 kB / 0.5013 GB, free: 16.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1285, allocations: 80.45 MB / 0.5799 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC): time 0.009048/0.1376, allocations: 10.3 MB / 0.5899 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006432/0.144, allocations: 5.264 MB / 0.5951 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009944/0.145, allocations: 67.62 kB / 0.5951 GB, free: 12.28 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0009525/0.1459, allocations: 0.67 MB / 0.5958 GB, free: 11.61 MB / 0.5105 GB [/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.001651/0.1476, allocations: 1.27 MB / 0.597 GB, free: 10.33 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Photovoltaics/WECC/PVInverterVoltageSource_INIT.mo:90:3-90:108:writable] Warning: In relation Modelica.ComplexMath.'abs'(pVVoltageSourceNoPlantControl_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.1496, allocations: 1.931 MB / 0.5989 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00249/0.1521, allocations: 3.711 MB / 0.6025 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008522/0.153, allocations: 0.8314 MB / 0.6033 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008928/0.1539, allocations: 1.281 MB / 0.6046 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007444/0.1546, allocations: 1.129 MB / 0.6057 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002818/0.1549, allocations: 400 kB / 0.6061 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000631/0.1555, allocations: 0.6753 MB / 0.6067 GB, free: 324 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004348/0.156, allocations: 0.833 MB / 0.6076 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0008899/0.1568, allocations: 1.017 MB / 0.6086 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003096/0.1599, allocations: 5.071 MB / 0.6135 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1599, allocations: 0 / 0.6135 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1599, allocations: 0 / 0.6135 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.564e-05/0.16, allocations: 0 / 0.6135 GB, free: 9.375 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 501 * Number of variables: 501 Notification: Performance of Generate backend data structure: time 0.00585/0.1658, allocations: 4.245 MB / 0.6176 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1659, allocations: 12.03 kB / 0.6177 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/0.168, allocations: 0.8771 MB / 0.6185 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.1699, allocations: 1.85 MB / 0.6203 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003755/0.1703, allocations: 0.8099 MB / 0.6211 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/0.1705, allocations: 212.4 kB / 0.6213 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/0.1737, allocations: 2.743 MB / 0.624 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.1737, allocations: 3.938 kB / 0.624 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.1739, allocations: 91.98 kB / 0.6241 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.1739, allocations: 48 kB / 0.6241 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002758/0.1766, allocations: 2.141 MB / 0.6262 GB, free: 11.93 MB / 0.5417 GB 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.007658/0.1843, allocations: 7.388 MB / 0.6334 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/0.1872, allocations: 2.006 MB / 0.6354 GB, free: 2.398 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.1883, allocations: 0.9309 MB / 0.6363 GB, free: 1.461 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.1885, allocations: 33.3 kB / 0.6363 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001647/0.1901, allocations: 1.484 MB / 0.6378 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=184): time 2.696e-06/0.1901, allocations: 0 / 0.6378 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=184): time 0.005974/0.1961, allocations: 3.831 MB / 0.6415 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.1962, allocations: 327.9 kB / 0.6418 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/0.1985, allocations: 2.188 MB / 0.644 GB, free: 9.461 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.1986, allocations: 85.69 kB / 0.6441 GB, free: 9.371 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005931/0.1992, allocations: 1.107 MB / 0.6451 GB, free: 8.254 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00041/0.1997, allocations: 0.6394 MB / 0.6458 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005615/0.2002, allocations: 0.5453 MB / 0.6463 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.575e-05/0.2003, allocations: 301.1 kB / 0.6466 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.2018, allocations: 1.277 MB / 0.6478 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/0.2036, allocations: 1.872 MB / 0.6497 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/0.2137, allocations: 6.465 MB / 0.656 GB, free: 12.78 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.2137, allocations: 4 kB / 0.656 GB, free: 12.77 MB / 0.573 GB Notification: Performance of matching and sorting (n=387) (initialization): time 0.005046/0.2187, allocations: 3.877 MB / 0.6598 GB, free: 8.844 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/0.2188, allocations: 65.66 kB / 0.6598 GB, free: 8.773 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.2188, allocations: 8 kB / 0.6598 GB, free: 8.766 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005179/0.2193, allocations: 449.1 kB / 0.6603 GB, free: 8.324 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.2206, allocations: 0.5812 MB / 0.6608 GB, free: 7.742 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003649/0.2243, allocations: 3.419 MB / 0.6642 GB, free: 4.227 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.2253, allocations: 314.4 kB / 0.6645 GB, free: 3.918 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.2254, allocations: 108 kB / 0.6646 GB, free: 3.812 MB / 0.573 GB Warning: Assuming fixed start value for the following 27 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.value:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) 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) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) 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.value:DISCRETE(flow=false start = PV.source.Running0 fixed = true ) type: Boolean PV.LvTfo.running.value:DISCRETE(flow=false start = PV.LvTfo.Running0 fixed = true ) type: Boolean PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.PConv0Pu 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.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean PV.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real PV.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real PV.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002243/0.2277, allocations: 1.818 MB / 0.6663 GB, free: 1.988 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001755/0.2294, allocations: 1.853 MB / 0.6682 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009683/0.2391, allocations: 6.429 MB / 0.6744 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.957e-06/0.2391, allocations: 4 kB / 0.6744 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of matching and sorting (n=387) (initialization_lambda0): time 0.004912/0.244, allocations: 3.858 MB / 0.6782 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.2441, allocations: 61.67 kB / 0.6783 GB, free: 5.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.2441, allocations: 8 kB / 0.6783 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004636/0.2446, allocations: 457 kB / 0.6787 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.2459, allocations: 0.5773 MB / 0.6793 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003252/0.2491, allocations: 3.416 MB / 0.6826 GB, free: 0.8203 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009984/0.2501, allocations: 282.8 kB / 0.6829 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.2502, allocations: 108 kB / 0.683 GB, free: 448 kB / 0.5886 GB Warning: Assuming fixed start value for the following 27 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.value:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) 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) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) 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.value:DISCRETE(flow=false start = PV.source.Running0 fixed = true ) type: Boolean PV.LvTfo.running.value:DISCRETE(flow=false start = PV.LvTfo.Running0 fixed = true ) type: Boolean PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.PConv0Pu 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.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean PV.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real PV.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real PV.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean 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: 34 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.injector.running.value,PV.injector.running.value,$whenCondition7,$whenCondition6,$whenCondition8,$PRE.PV.LvTfo.state,PV.LvTfo.state,$PRE.PV.source.state,PV.source.state,$PRE.line.state,line.state,PV.injector.switchOffSignal3.value,PV.injector.switchOffSignal2.value,PV.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,PV.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,PV.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.PV.wecc_regc.offDelay.delaySignal,$PRE.PV.wecc_regc.offDelay.tNext,$PRE.PV.source.running.value,$PRE.PV.LvTfo.running.value,$PRE.PV.wecc_reec.iqInjectionLogic.vDip,$PRE.PV.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.PV.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,PV.wecc_regc.QConv0PuNeg.k,PV.wecc_regc.QConv0PuPos.k,$PRE.PV.wecc_reec.currentLimitsCalculation1.vDip,$PRE.PV.wecc_regc.offDelay.u,PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,PV.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,PV.wecc_reec.currentLimitsCalculation1.vDip,PV.wecc_reec.iqInjectionLogic.vDipInjEndTime,PV.wecc_reec.iqInjectionLogic.vDip,PV.LvTfo.running.value,PV.source.running.value,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.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition18,$whenCondition17,$whenCondition20,$whenCondition19,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal,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 (349): * Single equations (assignments): 347 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,6,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.276/0.5263, allocations: 474.2 kB / 0.6834 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007074/0.527, allocations: 251.3 kB / 0.6837 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004765/0.5317, allocations: 2.799 MB / 0.6864 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.5318, allocations: 24.52 kB / 0.6864 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.5318, allocations: 3.875 kB / 0.6864 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.5318, allocations: 10.22 kB / 0.6864 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006935/0.5387, allocations: 5.557 MB / 0.6919 GB, free: 98.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.5387, allocations: 5.562 kB / 0.6919 GB, free: 98.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.5399, allocations: 371.1 kB / 0.6922 GB, free: 98.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005166/0.5404, allocations: 441.7 kB / 0.6926 GB, free: 98.83 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.5405, allocations: 55.92 kB / 0.6927 GB, free: 98.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003188/0.5437, allocations: 3.402 MB / 0.696 GB, free: 96.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.5437, allocations: 13.52 kB / 0.696 GB, free: 96.46 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00592/0.5496, allocations: 4.527 MB / 0.7005 GB, free: 94.41 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008536/0.5504, allocations: 0.5388 MB / 0.701 GB, free: 94.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.5506, allocations: 65.53 kB / 0.701 GB, free: 94.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008678/0.5515, allocations: 150.1 kB / 0.7012 GB, free: 94 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004486/0.552, allocations: 221 kB / 0.7014 GB, free: 93.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/0.5521, allocations: 73.3 kB / 0.7015 GB, free: 93.94 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001881/0.554, allocations: 1.41 MB / 0.7028 GB, free: 93.38 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.7e-07/0.554, allocations: 1.062 kB / 0.7028 GB, free: 93.38 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003671/0.5576, allocations: 1.254 MB / 0.7041 GB, free: 93.13 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 14 (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_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) * Number of discrete variables: 39 ($whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,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.value,PV.source.state,PV.LvTfo.running.value,PV.LvTfo.state,PV.wecc_reec.iqInjectionLogic.vDip,PV.wecc_reec.iqInjectionLogic.vDipInjEndTime,PV.wecc_reec.currentLimitsCalculation1.vDip,PV.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$whenCondition8,$whenCondition6,$whenCondition7,PV.injector.running.value,PV.injector.state) * Number of discrete states: 10 (PV.injector.running.value,PV.LvTfo.running.value,PV.source.running.value,line.running.value,PV.wecc_regc.offDelay.u,PV.wecc_reec.currentLimitsCalculation1.vDip,PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,PV.wecc_reec.currentLimitsCalculation1.ipMaxPu,PV.wecc_reec.iqInjectionLogic.vDip,PV.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (181): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,6,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009182/0.5586, allocations: 0.5123 MB / 0.7046 GB, free: 92.92 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.008127/0.5667, allocations: 5.122 MB / 0.7096 GB, free: 90.73 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.5667, allocations: 1.312 kB / 0.7096 GB, free: 90.73 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002494/0.5692, allocations: 1.696 MB / 0.7112 GB, free: 89.97 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.5705, allocations: 370.6 kB / 0.7116 GB, free: 89.82 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006912/0.5774, allocations: 5.066 MB / 0.7165 GB, free: 87.28 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008357/0.5782, allocations: 1.069 MB / 0.7176 GB, free: 87.06 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009781/0.5792, allocations: 349.4 kB / 0.7179 GB, free: 86.99 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000445/0.5797, allocations: 163.9 kB / 0.7181 GB, free: 86.97 MB / 0.5886 GB Notification: Performance of SimCode: time 1.052e-06/0.5797, allocations: 0 / 0.7181 GB, free: 86.97 MB / 0.5886 GB Notification: Performance of Templates: time 0.03528/0.6149, allocations: 37.9 MB / 0.7551 GB, free: 51.77 MB / 0.5886 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.sim & ./Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -variableFilter=.* -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.086494634859264]