Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.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.001378/0.001378, allocations: 100.3 kB / 19.72 MB, free: 2.066 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.001612/0.001612, allocations: 212.9 kB / 23.01 MB, free: 4.883 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.46/1.46, 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.6068/0.6068, allocations: 103.8 MB / 389.9 MB, free: 21.23 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.PVCurrentSourceB,fileNamePrefix="Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVCurrentSourceB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB,fileNamePrefix="Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVCurrentSourceB",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.002489/0.002489, allocations: 77.25 kB / 0.5517 GB, free: 58.24 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1245, allocations: 76 MB / 0.6259 GB, free: 9.191 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB): time 0.01083/0.1353, allocations: 9.856 MB / 0.6355 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.1472, allocations: 5.489 MB / 0.6409 GB, free: 9.77 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003445/0.1506, allocations: 87.38 kB / 0.6409 GB, free: 9.684 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). Notification: Performance of NFTyping.typeComponents: time 0.002382/0.153, allocations: 0.5068 MB / 0.6414 GB, free: 9.172 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003906/0.1569, allocations: 0.7368 MB / 0.6422 GB, free: 8.43 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006959/0.1639, allocations: 2.555 MB / 0.6446 GB, free: 5.887 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007883/0.1718, allocations: 4.006 MB / 0.6486 GB, free: 1.875 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002767/0.1745, allocations: 0.9911 MB / 0.6495 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002798/0.1773, allocations: 1.459 MB / 0.651 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.1797, allocations: 1.328 MB / 0.6522 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001233/0.181, allocations: 444 kB / 0.6527 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.1825, allocations: 0.6092 MB / 0.6533 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001271/0.1838, allocations: 0.8332 MB / 0.6541 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002562/0.1864, allocations: 1.286 MB / 0.6553 GB, free: 10.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00757/0.1939, allocations: 5.22 MB / 0.6604 GB, free: 5.602 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1939, allocations: 0 / 0.6604 GB, free: 5.602 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1939, allocations: 0 / 0.6604 GB, free: 5.602 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001778/0.1941, allocations: 0 / 0.6604 GB, free: 5.602 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: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.01204/0.2062, allocations: 4.003 MB / 0.6643 GB, free: 1.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.2062, allocations: 8.031 kB / 0.6644 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005523/0.2068, allocations: 299.6 kB / 0.6646 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004449/0.2112, allocations: 0.8575 MB / 0.6655 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004776/0.216, allocations: 2.071 MB / 0.6675 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000708/0.2167, allocations: 0.698 MB / 0.6682 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006079/0.2173, allocations: 223.9 kB / 0.6684 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00637/0.2237, allocations: 3.215 MB / 0.6715 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.776e-05/0.2237, allocations: 11.88 kB / 0.6715 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002394/0.224, allocations: 91.98 kB / 0.6716 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.615e-05/0.224, allocations: 52 kB / 0.6717 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005599/0.2296, allocations: 2.316 MB / 0.6739 GB, free: 7.199 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.01723/0.2468, allocations: 8.59 MB / 0.6823 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006686/0.2535, allocations: 2.487 MB / 0.6848 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002387/0.2559, allocations: 1.018 MB / 0.6858 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.256, allocations: 25.23 kB / 0.6858 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003229/0.2593, allocations: 1.551 MB / 0.6873 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=170): time 4.919e-06/0.2593, allocations: 0 / 0.6873 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of matching and sorting (n=170): time 0.01053/0.2698, allocations: 3.714 MB / 0.6909 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000317/0.2701, allocations: 0.5062 MB / 0.6914 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004141/0.2742, allocations: 2.335 MB / 0.6937 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004398/0.2747, allocations: 65.69 kB / 0.6938 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.276, allocations: 1.228 MB / 0.695 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008682/0.2769, allocations: 0.5849 MB / 0.6955 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00064/0.2775, allocations: 335.5 kB / 0.6958 GB, free: 356 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2777, allocations: 309.1 kB / 0.6961 GB, free: 44 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002392/0.2801, allocations: 0.9942 MB / 0.6971 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003092/0.2831, allocations: 1.868 MB / 0.6989 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01714/0.3003, allocations: 5.317 MB / 0.7041 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-05/0.3003, allocations: 8 kB / 0.7041 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.008138/0.3084, allocations: 3.073 MB / 0.7071 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.396e-05/0.3085, allocations: 41.7 kB / 0.7072 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.3085, allocations: 12.06 kB / 0.7072 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005372/0.3091, allocations: 316.6 kB / 0.7075 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002554/0.3116, allocations: 463.3 kB / 0.7079 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.482e-05/0.3117, allocations: 27.86 kB / 0.708 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/0.3139, allocations: 318.3 kB / 0.7083 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/0.3142, allocations: 71.98 kB / 0.7083 GB, free: 3.086 MB / 0.5294 GB Warning: Assuming fixed start value for the following 23 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.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_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 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.injector.running.value:DISCRETE(flow=false start = PV.injector.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] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003523/0.3177, allocations: 1.486 MB / 0.7098 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002924/0.3206, allocations: 1.818 MB / 0.7116 GB, free: 15.51 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01634/0.3369, allocations: 5.169 MB / 0.7166 GB, free: 10.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.285e-05/0.337, allocations: 4 kB / 0.7166 GB, free: 10.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.007852/0.3448, allocations: 2.971 MB / 0.7195 GB, free: 7.188 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/0.3449, allocations: 45.58 kB / 0.7196 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.3449, allocations: 8 kB / 0.7196 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004856/0.3454, allocations: 321 kB / 0.7199 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/0.3478, allocations: 443.4 kB / 0.7203 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-05/0.3478, allocations: 23.92 kB / 0.7203 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/0.3501, allocations: 271 kB / 0.7206 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/0.3503, allocations: 71.98 kB / 0.7206 GB, free: 6.02 MB / 0.545 GB Warning: Assuming fixed start value for the following 23 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.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_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 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.injector.running.value:DISCRETE(flow=false start = PV.injector.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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.PV.injector.state,PV.injector.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.injector.running.value,PV.wecc_repc.freeze,PV.injector.running.value,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.y,PV.wecc_reec.frtOn,PV.line.running.value,line.running.value,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPID.I.local_reset,PV.pll.limIntegrator.local_reset,PV.pll.integrator.local_reset,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (225): * Single equations (assignments): 223 * 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 {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008656/0.3511, allocations: 450.5 kB / 0.7211 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006378/0.3518, allocations: 290.2 kB / 0.7213 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0074/0.3592, allocations: 2.868 MB / 0.7241 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.3592, allocations: 16 kB / 0.7242 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.3592, allocations: 0 / 0.7242 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.192e-05/0.3593, allocations: 7.969 kB / 0.7242 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/0.3719, allocations: 5.482 MB / 0.7295 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/0.3719, allocations: 0 / 0.7295 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002726/0.3746, allocations: 395.5 kB / 0.7299 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005192/0.3751, allocations: 304.7 kB / 0.7302 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003094/0.3755, allocations: 43.98 kB / 0.7302 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.77e-05/0.3755, allocations: 8 kB / 0.7302 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3755, allocations: 0 / 0.7302 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/0.3861, allocations: 4.354 MB / 0.7345 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/0.3879, allocations: 0.572 MB / 0.7351 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005176/0.3884, allocations: 51.94 kB / 0.7351 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/0.3902, allocations: 167.8 kB / 0.7353 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000386/0.3905, allocations: 145.7 kB / 0.7354 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/0.3907, allocations: 55.97 kB / 0.7355 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002889/0.3936, allocations: 1.565 MB / 0.737 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3936, allocations: 0 / 0.737 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003161/0.3967, allocations: 0.9315 MB / 0.7379 GB, free: 4.203 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (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,PV.wecc_regc.firstOrder.y,PV.wecc_regc.rateLimFirstOrderFreeze.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.pll.integrator.y,PV.pll.limIntegrator.y,PV.wecc_repc.firstOrder.y,PV.wecc_repc.limPID.I.y,PV.wecc_repc.firstOrder1.y,PV.wecc_repc.firstOrder2.y,PV.wecc_repc.firstOrder3.y,PV.wecc_repc.limPIDFreeze.I.y,PV.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 22 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition10,$whenCondition11,line.running.value,line.state,PV.line.running.value,PV.line.state,PV.wecc_reec.frtOn,PV.wecc_regc.offDelay.y,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.tNext,PV.injector.running.value,PV.injector.state,PV.wecc_repc.freeze) * Number of discrete states: 7 (PV.injector.running.value,PV.line.running.value,line.running.value,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,$whenCondition11,$whenCondition10) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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 {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01118/0.4079, allocations: 5.022 MB / 0.7428 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009369/0.4173, allocations: 3.786 MB / 0.7465 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.4173, allocations: 0 / 0.7465 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003054/0.4204, allocations: 1.283 MB / 0.7477 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/0.4231, allocations: 468.2 kB / 0.7482 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0517/0.4748, allocations: 22.73 MB / 0.7704 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.4761, allocations: 1.078 MB / 0.7714 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001813/0.4779, allocations: 320.2 kB / 0.7717 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001926/0.4799, allocations: 1.101 MB / 0.7728 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of SimCode: time 1.102e-06/0.4799, allocations: 4 kB / 0.7728 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3684/0.8483, allocations: 61.75 MB / 0.8331 GB, free: 119.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.37, allocations: 10.55 kB / 0.8331 GB, free: 119.3 MB / 0.6075 GB " [Timeout remaining time 644] (rm -f Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.pipe ; mkfifo Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.pipe >> ../files/Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.sim & python3 -m fmpy simulate --output-file Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB_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_PVCurrentSourceB.fmu > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.46919370163232] Failed to read output from testmodel.py, exit status != 0: 15.73213823698461 15.530721586 15.333453572 Calling exit ...