Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.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.001046/0.001046, allocations: 72.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.0007746/0.0007746, allocations: 173.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.8588/0.8588, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.4145/0.4145, allocations: 76.93 MB / 314.2 MB, free: 10.74 MB / 298.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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.PVVoltageSourceB,fileNamePrefix="Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSourceB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB,fileNamePrefix="Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSourceB",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.337e-06/3.337e-06, allocations: 0 / 489.2 MB, free: 27.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.81e-05, allocations: 6.781 kB / 489.2 MB, free: 27.84 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.008028/0.008057, allocations: 10.9 MB / 0.4884 GB, free: 20.52 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.008624/0.01668, allocations: 5.899 MB / 0.4942 GB, free: 16.23 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003912/0.02059, allocations: 92.31 kB / 0.4943 GB, free: 16.18 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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.002667/0.02326, allocations: 0.5818 MB / 0.4948 GB, free: 15.79 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004106/0.02737, allocations: 1.156 MB / 0.496 GB, free: 14.96 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00475/0.03212, allocations: 2.701 MB / 0.4986 GB, free: 13.23 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.006253/0.03837, allocations: 4.544 MB / 0.503 GB, free: 10.7 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002389/0.04076, allocations: 1.124 MB / 0.5041 GB, free: 9.961 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.04325, allocations: 1.519 MB / 0.5056 GB, free: 9.094 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/0.04523, allocations: 1.26 MB / 0.5069 GB, free: 8.484 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001067/0.04629, allocations: 0.4899 MB / 0.5073 GB, free: 8.484 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.04788, allocations: 0.7086 MB / 0.508 GB, free: 8.426 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006373/0.04851, allocations: 0.9498 MB / 0.5089 GB, free: 7.703 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.05001, allocations: 1.21 MB / 0.5101 GB, free: 6.926 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009494/0.05951, allocations: 6.111 MB / 0.5161 GB, free: 4.332 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.05952, allocations: 1.438 kB / 0.5161 GB, free: 4.332 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.05952, allocations: 0 / 0.5161 GB, free: 4.332 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002747/0.05979, allocations: 0 / 0.5161 GB, free: 4.332 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 604 * Number of variables: 604 Notification: Performance of Generate backend data structure: time 0.01193/0.07172, allocations: 4.586 MB / 0.5206 GB, free: 1.777 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.07178, allocations: 18.16 kB / 0.5206 GB, free: 1.77 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004839/0.07226, allocations: 338.5 kB / 0.5209 GB, free: 1.566 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003603/0.07586, allocations: 1.069 MB / 0.522 GB, free: 1.254 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004428/0.08029, allocations: 2.346 MB / 0.5243 GB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005032/0.08079, allocations: 0.7224 MB / 0.525 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004781/0.08127, allocations: 248.2 kB / 0.5252 GB, free: 14.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005387/0.08666, allocations: 3.621 MB / 0.5287 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.112e-05/0.0867, allocations: 1.469 kB / 0.5287 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/0.08691, allocations: 106.3 kB / 0.5288 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.413e-05/0.08697, allocations: 62.22 kB / 0.5289 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004351/0.09132, allocations: 2.623 MB / 0.5315 GB, free: 10.57 MB / 458.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.01483/0.1062, allocations: 9.962 MB / 0.5412 GB, free: 2.816 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004807/0.111, allocations: 2.846 MB / 0.544 GB, free: 300 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.1126, allocations: 1.168 MB / 0.5451 GB, free: 15.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.1127, allocations: 22 kB / 0.5451 GB, free: 15.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002249/0.115, allocations: 1.756 MB / 0.5468 GB, free: 13.26 MB / 474.7 MB Notification: Performance of pre-optimization done (n=197): time 5.611e-06/0.115, allocations: 0 / 0.5468 GB, free: 13.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=197): time 0.008425/0.1234, allocations: 4.456 MB / 0.5512 GB, free: 8.777 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002023/0.1236, allocations: 0.5429 MB / 0.5517 GB, free: 8.117 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003464/0.127, allocations: 2.57 MB / 0.5542 GB, free: 5.535 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002876/0.1273, allocations: 65.7 kB / 0.5543 GB, free: 5.465 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.1284, allocations: 1.378 MB / 0.5556 GB, free: 4.074 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001053/0.1294, allocations: 0.67 MB / 0.5563 GB, free: 3.398 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004973/0.1299, allocations: 387.7 kB / 0.5567 GB, free: 3.012 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.347e-05/0.13, allocations: 301.1 kB / 0.5569 GB, free: 2.715 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.1316, allocations: 1.155 MB / 0.5581 GB, free: 1.551 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/0.1337, allocations: 2.091 MB / 0.5601 GB, free: 15.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/0.1448, allocations: 6.154 MB / 0.5661 GB, free: 8.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-05/0.1448, allocations: 4 kB / 0.5661 GB, free: 8.816 MB / 490.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.006492/0.1513, allocations: 3.67 MB / 0.5697 GB, free: 5.121 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.396e-05/0.1513, allocations: 41.3 kB / 0.5698 GB, free: 5.078 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.1513, allocations: 12 kB / 0.5698 GB, free: 5.066 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004896/0.1518, allocations: 476.7 kB / 0.5702 GB, free: 4.598 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.1533, allocations: 0.511 MB / 0.5707 GB, free: 4.086 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.451e-05/0.1533, allocations: 31.86 kB / 0.5708 GB, free: 4.055 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.1554, allocations: 334.2 kB / 0.5711 GB, free: 3.727 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.1555, allocations: 79.98 kB / 0.5711 GB, free: 3.648 MB / 490.7 MB 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.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.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.line.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.line.running.value:DISCRETE(flow=false start = PV.line.Running0 fixed = true ) type: Boolean PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze.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.VSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.VSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.VSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.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.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.a_end * PV.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UInj0Pu 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.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.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.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 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002891/0.1584, allocations: 1.717 MB / 0.5728 GB, free: 1.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00204/0.1604, allocations: 2.037 MB / 0.5748 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01077/0.1712, allocations: 6.009 MB / 0.5807 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.522e-05/0.1712, allocations: 8 kB / 0.5807 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.006287/0.1775, allocations: 3.557 MB / 0.5842 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.1776, allocations: 41.69 kB / 0.5842 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.1776, allocations: 15.94 kB / 0.5842 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004578/0.178, allocations: 479.2 kB / 0.5847 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.1793, allocations: 499.3 kB / 0.5852 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.642e-05/0.1794, allocations: 31.86 kB / 0.5852 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.1813, allocations: 290.8 kB / 0.5855 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.1814, allocations: 83.98 kB / 0.5855 GB, free: 4.387 MB / 0.4948 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.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.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.line.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.line.running.value:DISCRETE(flow=false start = PV.line.Running0 fixed = true ) type: Boolean PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze.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.VSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.VSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.VSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.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.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.a_end * PV.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UInj0Pu 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.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.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.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 50 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.injector.running.value,PV.injector.running.value,$whenCondition8,$whenCondition7,$whenCondition9,$PRE.PV.source.state,PV.source.state,$PRE.PV.line.state,PV.line.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.rateLimFirstOrderFreeze.local_freeze,$PRE.line.running.value,$PRE.PV.line.running.value,$PRE.PV.source.running.value,PV.wecc_reec.frtOn,PV.wecc_repc.freeze,PV.source.running.value,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.y,PV.line.running.value,line.running.value,$whenCondition14,$whenCondition13,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition11,$whenCondition10,$whenCondition12,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.VSourceRef.pll.limIntegrator.local_reset,PV.VSourceRef.pll.integrator.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 (260): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(12,41.7%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007664/0.1822, allocations: 488 kB / 0.586 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005876/0.1828, allocations: 325.9 kB / 0.5863 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005254/0.188, allocations: 3.365 MB / 0.5896 GB, free: 204 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.188, allocations: 23.94 kB / 0.5896 GB, free: 180 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.1881, allocations: 8 kB / 0.5896 GB, free: 172 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.1881, allocations: 7.969 kB / 0.5896 GB, free: 164 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009169/0.1972, allocations: 6.388 MB / 0.5959 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.1972, allocations: 4 kB / 0.5959 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/0.1987, allocations: 431.5 kB / 0.5963 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005008/0.1992, allocations: 457.2 kB / 0.5967 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001707/0.1993, allocations: 51.97 kB / 0.5968 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.258e-06/0.1993, allocations: 4 kB / 0.5968 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1993, allocations: 4 kB / 0.5968 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007775/0.2071, allocations: 5.179 MB / 0.6018 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/0.2087, allocations: 0.6535 MB / 0.6025 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004259/0.2091, allocations: 55.98 kB / 0.6025 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.2104, allocations: 187.7 kB / 0.6027 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003794/0.2108, allocations: 173.7 kB / 0.6029 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.2109, allocations: 67.97 kB / 0.6029 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002771/0.2136, allocations: 1.708 MB / 0.6046 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2136, allocations: 4 kB / 0.6046 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002864/0.2165, allocations: 1.084 MB / 0.6057 GB, free: 15.61 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 25 (PV.wecc_regc.firstOrder.y,PV.wecc_regc.rateLimFirstOrderFreeze.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.pll.integrator.y,PV.pll.limIntegrator.y,PV.VSourceRef.firstOrder.y,PV.VSourceRef.firstOrder1.y,PV.VSourceRef.pll.integrator.y,PV.VSourceRef.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.varLimPIDFreeze.I.y,PV.wecc_reec.rateLimFirstOrderFreeze1.y,PV.wecc_reec.slewRateLimiter.y,PV.wecc_reec.rateLimFirstOrderFreeze.y,PV.wecc_reec.firstOrder2.y,PV.wecc_reec.firstOrder3.y) * Number of discrete variables: 27 ($whenCondition12,$whenCondition10,$whenCondition11,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition13,$whenCondition14,line.running.value,line.state,PV.line.running.value,PV.line.state,PV.wecc_regc.offDelay.y,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.tNext,PV.source.running.value,PV.source.state,PV.wecc_repc.freeze,PV.wecc_reec.frtOn,$whenCondition9,$whenCondition7,$whenCondition8,PV.injector.running.value,PV.injector.state) * Number of discrete states: 8 (PV.injector.running.value,PV.source.running.value,PV.line.running.value,line.running.value,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,$whenCondition14,$whenCondition13) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(12,41.7%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008052/0.2246, allocations: 5.875 MB / 0.6114 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007059/0.2316, allocations: 4.403 MB / 0.6157 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.2316, allocations: 4 kB / 0.6157 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00212/0.2337, allocations: 1.494 MB / 0.6172 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.2363, allocations: 0.5219 MB / 0.6177 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05192/0.2882, allocations: 26.23 MB / 0.6433 GB, free: 8.359 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.2893, allocations: 1.207 MB / 0.6445 GB, free: 7.113 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002097/0.2914, allocations: 354.2 kB / 0.6448 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001717/0.2931, allocations: 1.254 MB / 0.646 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of SimCode: time 1.784e-06/0.2931, allocations: 0 / 0.646 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3239/0.617, allocations: 71.04 MB / 0.7154 GB, free: 171.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.831/10.45, allocations: 15.73 kB / 0.7154 GB, free: 171.5 MB / 0.5886 GB " [Timeout remaining time 649] (rm -f Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe ; mkfifo Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe >> ../files/Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.sim & python3 -m fmpy simulate --output-file Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSourceB.fmu > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.340933850966394] Failed to read output from testmodel.py, exit status != 0: 10.566909558139741 10.574441973 10.513352716 Calling exit ...