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.001293/0.001293, allocations: 108.3 kB / 19.72 MB, free: 1.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 210.1 kB / 23.01 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 207.7 MB / 233.9 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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.579/0.579, allocations: 103.8 MB / 389.9 MB, free: 21.43 MB / 318.1 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: 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.002206/0.002206, allocations: 70.2 kB / 0.5517 GB, free: 58.47 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1198, allocations: 76 MB / 0.6259 GB, free: 9.258 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.01054/0.1303, allocations: 10.91 MB / 0.6365 GB, free: 14.29 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.1418, allocations: 5.872 MB / 0.6423 GB, free: 8.398 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003299/0.1451, allocations: 95.31 kB / 0.6423 GB, free: 8.305 MB / 478.1 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.002065/0.1472, allocations: 0.58 MB / 0.6429 GB, free: 7.723 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004037/0.1512, allocations: 1.137 MB / 0.644 GB, free: 6.578 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005374/0.1566, allocations: 2.664 MB / 0.6466 GB, free: 3.93 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006811/0.1634, allocations: 4.536 MB / 0.6511 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002276/0.1657, allocations: 1.119 MB / 0.6521 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002548/0.1682, allocations: 1.654 MB / 0.6538 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/0.1703, allocations: 1.519 MB / 0.6552 GB, free: 11.01 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006948/0.171, allocations: 0.4961 MB / 0.6557 GB, free: 10.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.1722, allocations: 0.7069 MB / 0.6564 GB, free: 9.805 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008693/0.1731, allocations: 0.9461 MB / 0.6573 GB, free: 8.855 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001602/0.1747, allocations: 1.453 MB / 0.6588 GB, free: 7.395 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007934/0.1826, allocations: 5.968 MB / 0.6646 GB, free: 1.402 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1826, allocations: 0 / 0.6646 GB, free: 1.402 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1826, allocations: 0 / 0.6646 GB, free: 1.402 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001564/0.1828, allocations: 0 / 0.6646 GB, free: 1.402 MB / 494.1 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.01317/0.1959, allocations: 4.622 MB / 0.6691 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.196, allocations: 12.02 kB / 0.6691 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000476/0.1965, allocations: 337.6 kB / 0.6694 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005688/0.2022, allocations: 1.076 MB / 0.6705 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005009/0.2072, allocations: 2.342 MB / 0.6728 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006256/0.2078, allocations: 0.7279 MB / 0.6735 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005732/0.2084, allocations: 243.9 kB / 0.6737 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006671/0.215, allocations: 3.624 MB / 0.6773 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.984e-05/0.2151, allocations: 7.938 kB / 0.6773 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002462/0.2153, allocations: 104 kB / 0.6774 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.795e-05/0.2154, allocations: 60 kB / 0.6774 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005742/0.2211, allocations: 2.619 MB / 0.68 GB, free: 1.055 MB / 0.4981 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.01674/0.2379, allocations: 9.983 MB / 0.6897 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006862/0.2447, allocations: 2.831 MB / 0.6925 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002457/0.2472, allocations: 1.16 MB / 0.6936 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.2473, allocations: 29.98 kB / 0.6937 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003188/0.2505, allocations: 1.767 MB / 0.6954 GB, free: 1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 3.938e-06/0.2505, allocations: 0 / 0.6954 GB, free: 1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197): time 0.01209/0.2626, allocations: 4.452 MB / 0.6997 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003223/0.2629, allocations: 0.5352 MB / 0.7003 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004218/0.2671, allocations: 2.573 MB / 0.7028 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005275/0.2677, allocations: 69.7 kB / 0.7028 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001427/0.2691, allocations: 1.374 MB / 0.7042 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009403/0.27, allocations: 0.6817 MB / 0.7048 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006887/0.2707, allocations: 387.7 kB / 0.7052 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2708, allocations: 305.1 kB / 0.7055 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/0.2734, allocations: 1.151 MB / 0.7066 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003252/0.2766, allocations: 2.099 MB / 0.7087 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01869/0.2953, allocations: 6.146 MB / 0.7147 GB, free: 12.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.792e-05/0.2953, allocations: 4 kB / 0.7147 GB, free: 12.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.009593/0.3049, allocations: 3.666 MB / 0.7183 GB, free: 8.859 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/0.305, allocations: 41.64 kB / 0.7183 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.305, allocations: 12 kB / 0.7183 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007183/0.3057, allocations: 477.3 kB / 0.7188 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/0.3083, allocations: 0.507 MB / 0.7193 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-05/0.3084, allocations: 27.92 kB / 0.7193 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.3108, allocations: 338.2 kB / 0.7196 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.311, allocations: 79.98 kB / 0.7197 GB, free: 7.387 MB / 0.545 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003768/0.3147, allocations: 1.717 MB / 0.7214 GB, free: 5.664 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003038/0.3178, allocations: 2.048 MB / 0.7234 GB, free: 3.301 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01812/0.3359, allocations: 6.005 MB / 0.7292 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-05/0.3359, allocations: 4 kB / 0.7292 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.008898/0.3448, allocations: 3.565 MB / 0.7327 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.666e-05/0.3448, allocations: 45.12 kB / 0.7328 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.3449, allocations: 15.94 kB / 0.7328 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006782/0.3455, allocations: 472.9 kB / 0.7332 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/0.348, allocations: 499.3 kB / 0.7337 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.113e-05/0.348, allocations: 31.92 kB / 0.7337 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/0.3505, allocations: 290.8 kB / 0.734 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/0.3507, allocations: 83.92 kB / 0.7341 GB, free: 8.105 MB / 0.5606 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.001011/0.3517, allocations: 494.4 kB / 0.7346 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000684/0.3524, allocations: 322 kB / 0.7349 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008286/0.3607, allocations: 3.373 MB / 0.7382 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.3607, allocations: 20 kB / 0.7382 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.3607, allocations: 0 / 0.7382 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.995e-05/0.3607, allocations: 11.97 kB / 0.7382 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.3735, allocations: 6.396 MB / 0.7444 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.3735, allocations: 11.92 kB / 0.7444 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00266/0.3762, allocations: 435.4 kB / 0.7449 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006766/0.3769, allocations: 456.5 kB / 0.7453 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/0.3771, allocations: 55.97 kB / 0.7454 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/0.3771, allocations: 16.06 kB / 0.7454 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3771, allocations: 0 / 0.7454 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/0.3886, allocations: 5.179 MB / 0.7504 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001896/0.3905, allocations: 0.6574 MB / 0.7511 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003973/0.3909, allocations: 55.98 kB / 0.7511 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/0.3926, allocations: 179.8 kB / 0.7513 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/0.393, allocations: 181.6 kB / 0.7515 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/0.3932, allocations: 59.97 kB / 0.7515 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002807/0.396, allocations: 1.716 MB / 0.7532 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.396, allocations: 4 kB / 0.7532 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002743/0.3987, allocations: 1.084 MB / 0.7543 GB, free: 3.297 MB / 0.5762 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.01246/0.4112, allocations: 5.858 MB / 0.76 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01027/0.4214, allocations: 4.423 MB / 0.7643 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.4214, allocations: 1.125 kB / 0.7643 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003179/0.4246, allocations: 1.485 MB / 0.7657 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/0.4272, allocations: 0.5342 MB / 0.7663 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3442/0.7715, allocations: 25.96 MB / 0.7916 GB, free: 149.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001949/0.7734, allocations: 1.216 MB / 0.7928 GB, free: 148.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00229/0.7757, allocations: 350.8 kB / 0.7931 GB, free: 148.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002155/0.7779, allocations: 1.253 MB / 0.7944 GB, free: 148.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.623e-06/0.7779, allocations: 0 / 0.7944 GB, free: 148.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/0.8893, allocations: 70.92 MB / 0.8636 GB, free: 88.36 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.87, allocations: 3.938 kB / 0.8636 GB, free: 88.35 MB / 0.6075 GB " [Timeout remaining time 644] (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: 19.98723493795842] Failed to read output from testmodel.py, exit status != 0: 16.24555739434436 16.030405514 15.845388893 Calling exit ...