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.00121/0.00121, allocations: 76.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.001427/0.001427, allocations: 169.6 kB / 23.23 MB, free: 1.336 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.9177/0.9177, allocations: 158.6 MB / 185 MB, free: 3.055 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.3997/0.3997, allocations: 76.92 MB / 314.2 MB, free: 10.75 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.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: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 489.2 MB, free: 28.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.78e-05, allocations: 6.781 kB / 489.2 MB, free: 28.1 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB): time 0.008072/0.0081, allocations: 9.87 MB / 499.1 MB, free: 21.47 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00728/0.01538, allocations: 5.497 MB / 0.4928 GB, free: 17.48 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.01668, allocations: 86.31 kB / 0.4929 GB, free: 17.45 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). Notification: Performance of NFTyping.typeComponents: time 0.001105/0.01779, allocations: 0.5116 MB / 0.4934 GB, free: 17.1 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.01915, allocations: 0.7612 MB / 0.4941 GB, free: 16.52 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003082/0.02224, allocations: 2.567 MB / 0.4966 GB, free: 14.89 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00315/0.02539, allocations: 4.001 MB / 0.5005 GB, free: 12.66 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.02655, allocations: 1.006 MB / 0.5015 GB, free: 11.98 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.02777, allocations: 1.336 MB / 0.5028 GB, free: 11.22 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009278/0.0287, allocations: 1.102 MB / 0.5039 GB, free: 10.69 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005695/0.02927, allocations: 440 kB / 0.5043 GB, free: 10.69 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009425/0.03021, allocations: 0.6073 MB / 0.5049 GB, free: 10.64 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004721/0.03068, allocations: 0.8479 MB / 0.5057 GB, free: 9.996 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009709/0.03165, allocations: 1.048 MB / 0.5067 GB, free: 9.328 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005428/0.03708, allocations: 5.353 MB / 0.512 GB, free: 7.047 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.03709, allocations: 0.5156 kB / 0.512 GB, free: 7.047 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.03709, allocations: 0 / 0.512 GB, free: 7.047 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.239e-05/0.03718, allocations: 1.219 kB / 0.512 GB, free: 7.047 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: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.006924/0.0441, allocations: 3.964 MB / 0.5158 GB, free: 4.766 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.04415, allocations: 9.625 kB / 0.5159 GB, free: 4.766 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003474/0.0445, allocations: 304.5 kB / 0.5161 GB, free: 4.578 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/0.04685, allocations: 0.844 MB / 0.517 GB, free: 4.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/0.04945, allocations: 2.078 MB / 0.519 GB, free: 3.004 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/0.04973, allocations: 0.7019 MB / 0.5197 GB, free: 2.293 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002522/0.04998, allocations: 216.8 kB / 0.5199 GB, free: 2.219 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003768/0.05375, allocations: 3.23 MB / 0.523 GB, free: 264 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.05378, allocations: 5.25 kB / 0.523 GB, free: 260 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.05395, allocations: 89.53 kB / 0.5231 GB, free: 196 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.054, allocations: 50.66 kB / 0.5232 GB, free: 196 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003929/0.05793, allocations: 2.322 MB / 0.5254 GB, free: 15.03 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.01094/0.06886, allocations: 8.567 MB / 0.5338 GB, free: 8.367 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004515/0.07338, allocations: 2.504 MB / 0.5363 GB, free: 7.086 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.07482, allocations: 1.011 MB / 0.5372 GB, free: 6.535 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.576e-05/0.07491, allocations: 26.27 kB / 0.5373 GB, free: 6.527 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001985/0.0769, allocations: 1.541 MB / 0.5388 GB, free: 5.488 MB / 458.7 MB Notification: Performance of pre-optimization done (n=170): time 3.156e-06/0.0769, allocations: 0 / 0.5388 GB, free: 5.488 MB / 458.7 MB Notification: Performance of matching and sorting (n=170): time 0.006146/0.08305, allocations: 3.717 MB / 0.5424 GB, free: 1.969 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001861/0.08323, allocations: 0.5062 MB / 0.5429 GB, free: 1.348 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/0.08602, allocations: 2.339 MB / 0.5452 GB, free: 15 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.08615, allocations: 69.62 kB / 0.5453 GB, free: 14.93 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008728/0.08703, allocations: 1.224 MB / 0.5464 GB, free: 13.69 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004672/0.08749, allocations: 0.5809 MB / 0.547 GB, free: 13.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004252/0.08792, allocations: 339.5 kB / 0.5473 GB, free: 12.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.08799, allocations: 305.1 kB / 0.5476 GB, free: 12.46 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.08941, allocations: 0.9903 MB / 0.5486 GB, free: 11.46 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.09121, allocations: 1.876 MB / 0.5504 GB, free: 9.312 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009296/0.1005, allocations: 5.321 MB / 0.5556 GB, free: 3.836 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.1005, allocations: 4 kB / 0.5556 GB, free: 3.832 MB / 474.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.004938/0.1055, allocations: 3.072 MB / 0.5586 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/0.1055, allocations: 38.48 kB / 0.5587 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.1055, allocations: 12 kB / 0.5587 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003793/0.1059, allocations: 316.7 kB / 0.559 GB, free: 376 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.1071, allocations: 467.3 kB / 0.5594 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.327e-05/0.1072, allocations: 19.94 kB / 0.5594 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.1084, allocations: 302.5 kB / 0.5597 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.1085, allocations: 75.98 kB / 0.5598 GB, free: 15.52 MB / 490.7 MB 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.002365/0.1108, allocations: 1.488 MB / 0.5613 GB, free: 14.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00185/0.1127, allocations: 1.822 MB / 0.563 GB, free: 11.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009213/0.1219, allocations: 5.169 MB / 0.5681 GB, free: 6.621 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.075e-05/0.1219, allocations: 7.938 kB / 0.5681 GB, free: 6.613 MB / 490.7 MB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.004639/0.1266, allocations: 2.972 MB / 0.571 GB, free: 3.617 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/0.1266, allocations: 41.64 kB / 0.571 GB, free: 3.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1266, allocations: 8 kB / 0.571 GB, free: 3.562 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003163/0.1269, allocations: 320.8 kB / 0.5713 GB, free: 3.246 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.1281, allocations: 443.4 kB / 0.5718 GB, free: 2.812 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.793e-05/0.1281, allocations: 27.94 kB / 0.5718 GB, free: 2.785 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.1296, allocations: 262.9 kB / 0.572 GB, free: 2.527 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.1297, allocations: 71.98 kB / 0.5721 GB, free: 2.457 MB / 490.7 MB 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.0006435/0.1304, allocations: 447.6 kB / 0.5725 GB, free: 2.023 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003307/0.1307, allocations: 294.1 kB / 0.5728 GB, free: 1.734 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004332/0.135, allocations: 2.864 MB / 0.5756 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.135, allocations: 23.88 kB / 0.5756 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.135, allocations: 4 kB / 0.5756 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.135, allocations: 11.91 kB / 0.5757 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007496/0.1425, allocations: 5.47 MB / 0.581 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.1426, allocations: 4 kB / 0.581 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.1438, allocations: 391.5 kB / 0.5814 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00032/0.1441, allocations: 304.7 kB / 0.5817 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.1443, allocations: 47.98 kB / 0.5817 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.1443, allocations: 7.938 kB / 0.5817 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1443, allocations: 3.984 kB / 0.5817 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005761/0.15, allocations: 4.341 MB / 0.586 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.1512, allocations: 0.5795 MB / 0.5865 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.1514, allocations: 44 kB / 0.5866 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008105/0.1522, allocations: 172 kB / 0.5867 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/0.1525, allocations: 141.6 kB / 0.5869 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.513e-05/0.1526, allocations: 63.97 kB / 0.5869 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001735/0.1543, allocations: 1.562 MB / 0.5885 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.11e-07/0.1543, allocations: 0 / 0.5885 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001762/0.1561, allocations: 0.9238 MB / 0.5894 GB, free: 0.6602 MB / 0.4948 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.006389/0.1625, allocations: 5.017 MB / 0.5943 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005453/0.1679, allocations: 3.794 MB / 0.598 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1679, allocations: 0 / 0.598 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.1695, allocations: 1.279 MB / 0.5992 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.171, allocations: 475.9 kB / 0.5997 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03882/0.2098, allocations: 22.95 MB / 0.6221 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008029/0.2106, allocations: 1.078 MB / 0.6231 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001101/0.2117, allocations: 324.1 kB / 0.6234 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/0.213, allocations: 1.106 MB / 0.6245 GB, free: 12 MB / 0.5417 GB Notification: Performance of SimCode: time 1.172e-06/0.213, allocations: 0 / 0.6245 GB, free: 12 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2957/0.5087, allocations: 61.88 MB / 0.685 GB, free: 173.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.746/10.26, allocations: 0 / 0.685 GB, free: 173.2 MB / 0.5886 GB " [Timeout remaining time 650] (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: 13.21248047798872] Failed to read output from testmodel.py, exit status != 0: 10.37086293194443 10.381440485 10.340906022 Calling exit ...