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.00134/0.00134, allocations: 114.3 kB / 19.72 MB, free: 2.168 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.00161/0.00161, allocations: 217.6 kB / 23.03 MB, free: 4.973 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.523/1.523, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.6351/0.6351, allocations: 103.9 MB / 390 MB, free: 20.36 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.00221/0.00221, allocations: 70.38 kB / 0.5518 GB, free: 58.23 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1622, allocations: 76 MB / 0.626 GB, free: 9.465 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB): time 0.01123/0.1735, allocations: 11.46 MB / 0.6372 GB, free: 13.94 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.1866, allocations: 5.73 MB / 0.6428 GB, free: 8.191 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0037/0.1903, allocations: 83.38 kB / 0.6429 GB, free: 8.109 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.002448/0.1928, allocations: 0.5107 MB / 0.6434 GB, free: 7.594 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004046/0.1968, allocations: 0.7407 MB / 0.6441 GB, free: 6.848 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/Photovoltaics/WECC/PVCurrentSourceB.mo:37:3-37:38:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/Photovoltaics/WECC/PVCurrentSourceB.mo:39:3-39:45:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/Photovoltaics/WECC/PVCurrentSourceB.mo:40:3-40:45:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Photovoltaics/WECC/BaseClasses/BasePVCurrentSource.mo:61:3-61:64:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.006807/0.2036, allocations: 2.592 MB / 0.6466 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008486/0.2121, allocations: 4.006 MB / 0.6506 GB, free: 260 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003643/0.2157, allocations: 1.061 MB / 0.6516 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003222/0.219, allocations: 1.463 MB / 0.653 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00266/0.2216, allocations: 1.496 MB / 0.6545 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.2227, allocations: 444 kB / 0.6549 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.2241, allocations: 0.617 MB / 0.6555 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008941/0.225, allocations: 0.837 MB / 0.6563 GB, free: 10.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002185/0.2272, allocations: 1.671 MB / 0.658 GB, free: 8.574 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007758/0.2349, allocations: 5.193 MB / 0.663 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.235, allocations: 4 kB / 0.663 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.235, allocations: 0 / 0.663 GB, free: 3.363 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001801/0.2351, allocations: 0 / 0.663 GB, free: 3.363 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.01306/0.2482, allocations: 4.006 MB / 0.6669 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.2483, allocations: 8.031 kB / 0.6669 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005267/0.2488, allocations: 299.6 kB / 0.6672 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004571/0.2534, allocations: 0.8536 MB / 0.6681 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005019/0.2584, allocations: 2.078 MB / 0.6701 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007429/0.2591, allocations: 0.6979 MB / 0.6708 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007302/0.2598, allocations: 223.9 kB / 0.671 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006423/0.2663, allocations: 2.756 MB / 0.6737 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.535e-05/0.2663, allocations: 3.938 kB / 0.6737 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/0.2666, allocations: 95.98 kB / 0.6738 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-05/0.2666, allocations: 52 kB / 0.6738 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005915/0.2725, allocations: 2.291 MB / 0.6761 GB, free: 5.559 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.02001/0.2925, allocations: 10.59 MB / 0.6864 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006499/0.299, allocations: 2.468 MB / 0.6888 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002371/0.3014, allocations: 0.9924 MB / 0.6898 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.3015, allocations: 33.3 kB / 0.6898 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003067/0.3046, allocations: 1.435 MB / 0.6912 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=170): time 3.507e-06/0.3046, allocations: 0 / 0.6912 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=170): time 0.01026/0.3149, allocations: 3.648 MB / 0.6948 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003593/0.3152, allocations: 0.5023 MB / 0.6953 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004448/0.3197, allocations: 2.335 MB / 0.6976 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000522/0.3202, allocations: 61.7 kB / 0.6976 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001542/0.3217, allocations: 1.232 MB / 0.6988 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/0.3228, allocations: 0.5927 MB / 0.6994 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006585/0.3235, allocations: 331.5 kB / 0.6997 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3236, allocations: 301.1 kB / 0.7 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002407/0.326, allocations: 0.9691 MB / 0.7009 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002842/0.3289, allocations: 1.442 MB / 0.7023 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01781/0.3467, allocations: 5.321 MB / 0.7075 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/0.3467, allocations: 0 / 0.7075 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.009111/0.3558, allocations: 3.044 MB / 0.7105 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/0.3559, allocations: 37.69 kB / 0.7106 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.3559, allocations: 12 kB / 0.7106 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005604/0.3564, allocations: 325 kB / 0.7109 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/0.359, allocations: 467.3 kB / 0.7113 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.975e-05/0.359, allocations: 23.92 kB / 0.7113 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/0.3616, allocations: 314.3 kB / 0.7116 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/0.3619, allocations: 71.98 kB / 0.7117 GB, free: 76 kB / 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.003655/0.3655, allocations: 1.458 MB / 0.7131 GB, free: 14.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002622/0.3681, allocations: 1.383 MB / 0.7145 GB, free: 13.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01673/0.3849, allocations: 5.161 MB / 0.7195 GB, free: 7.766 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.147e-05/0.3849, allocations: 8 kB / 0.7195 GB, free: 7.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.008186/0.3931, allocations: 2.934 MB / 0.7224 GB, free: 4.805 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.3931, allocations: 41.69 kB / 0.7224 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.3931, allocations: 8 kB / 0.7224 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004962/0.3936, allocations: 313.2 kB / 0.7227 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002508/0.3961, allocations: 451.4 kB / 0.7232 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.109e-05/0.3962, allocations: 23.92 kB / 0.7232 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/0.3989, allocations: 267 kB / 0.7235 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003305/0.3993, allocations: 71.98 kB / 0.7235 GB, free: 3.645 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.001181/0.4004, allocations: 448 kB / 0.7239 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009762/0.4014, allocations: 290.2 kB / 0.7242 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007489/0.4089, allocations: 2.831 MB / 0.727 GB, free: 64 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.4089, allocations: 16 kB / 0.727 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.84e-05/0.409, allocations: 8 kB / 0.727 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-05/0.409, allocations: 11.95 kB / 0.727 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.4217, allocations: 6.045 MB / 0.7329 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.4217, allocations: 0 / 0.7329 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002549/0.4242, allocations: 399.5 kB / 0.7333 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005082/0.4247, allocations: 304.7 kB / 0.7336 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002184/0.425, allocations: 55.91 kB / 0.7337 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.168e-06/0.425, allocations: 4 kB / 0.7337 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.425, allocations: 0 / 0.7337 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/0.435, allocations: 4.281 MB / 0.7378 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/0.4368, allocations: 0.572 MB / 0.7384 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004744/0.4372, allocations: 51.92 kB / 0.7384 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/0.4388, allocations: 175.8 kB / 0.7386 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003385/0.4392, allocations: 145.7 kB / 0.7388 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.4393, allocations: 51.98 kB / 0.7388 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002952/0.4423, allocations: 1.569 MB / 0.7403 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4423, allocations: 0 / 0.7403 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003326/0.4456, allocations: 0.9316 MB / 0.7412 GB, free: 1.363 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.01036/0.4559, allocations: 4.956 MB / 0.7461 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008669/0.4646, allocations: 3.7 MB / 0.7497 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.4646, allocations: 0 / 0.7497 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002841/0.4675, allocations: 1.242 MB / 0.7509 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/0.4699, allocations: 472 kB / 0.7514 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05048/0.5203, allocations: 22.68 MB / 0.7735 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/0.5218, allocations: 1.639 MB / 0.7751 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001659/0.5235, allocations: 316.2 kB / 0.7754 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001848/0.5253, allocations: 1.108 MB / 0.7765 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of SimCode: time 1.082e-06/0.5253, allocations: 7.938 kB / 0.7765 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3961/0.9214, allocations: 60.38 MB / 0.8355 GB, free: 115.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.43/18.35, allocations: 8.047 kB / 0.8355 GB, free: 115.6 MB / 0.6075 GB " [Timeout remaining time 641] (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: 22.674149513000884] Failed to read output from testmodel.py, exit status != 0: 18.79353431999698 18.510966057 18.272312856 Calling exit ...