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.001527/0.001527, allocations: 100.3 kB / 20.47 MB, free: 1.242 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.001843/0.001843, allocations: 221.5 kB / 23.77 MB, free: 4.145 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.734/1.734, allocations: 207.7 MB / 234.6 MB, free: 9.953 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.6794/0.6794, allocations: 103.8 MB / 390.7 MB, free: 21.44 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: translateModel(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB") [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.002326/0.002326, allocations: 78.3 kB / 0.5529 GB, free: 58.47 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1968, allocations: 75.99 MB / 0.6271 GB, free: 8.777 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB): time 0.01303/0.2099, allocations: 9.864 MB / 0.6367 GB, free: 14.85 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01453/0.2244, allocations: 5.482 MB / 0.6421 GB, free: 9.355 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004548/0.2289, allocations: 83.38 kB / 0.6422 GB, free: 9.273 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.002642/0.2316, allocations: 0.5224 MB / 0.6427 GB, free: 8.746 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004328/0.2359, allocations: 0.7368 MB / 0.6434 GB, free: 8.004 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006829/0.2427, allocations: 2.551 MB / 0.6459 GB, free: 5.465 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00792/0.2507, allocations: 4.006 MB / 0.6498 GB, free: 1.453 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002508/0.2532, allocations: 1.061 MB / 0.6508 GB, free: 324 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002921/0.2561, allocations: 1.463 MB / 0.6523 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002245/0.2583, allocations: 1.493 MB / 0.6537 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007577/0.2591, allocations: 440 kB / 0.6541 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.2604, allocations: 0.617 MB / 0.6547 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009675/0.2614, allocations: 0.8254 MB / 0.6555 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001749/0.2632, allocations: 1.278 MB / 0.6568 GB, free: 10.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007956/0.2711, allocations: 5.227 MB / 0.6619 GB, free: 4.941 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.2711, allocations: 3.938 kB / 0.6619 GB, free: 4.938 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2711, allocations: 0 / 0.6619 GB, free: 4.938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001574/0.2713, allocations: 0 / 0.6619 GB, free: 4.938 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.0126/0.2839, allocations: 4.006 MB / 0.6658 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.741e-05/0.2839, allocations: 8.031 kB / 0.6658 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004482/0.2884, allocations: 0.838 MB / 0.6666 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004552/0.293, allocations: 2.082 MB / 0.6687 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006623/0.2936, allocations: 0.7019 MB / 0.6694 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000381/0.294, allocations: 220 kB / 0.6696 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006362/0.3004, allocations: 3.219 MB / 0.6727 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.643e-05/0.3004, allocations: 7.938 kB / 0.6727 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/0.3007, allocations: 92 kB / 0.6728 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-05/0.3007, allocations: 52 kB / 0.6728 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005304/0.306, allocations: 2.312 MB / 0.6751 GB, free: 6.848 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.01574/0.3218, allocations: 8.253 MB / 0.6832 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006334/0.3281, allocations: 2.491 MB / 0.6856 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/0.3303, allocations: 1.014 MB / 0.6866 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.3304, allocations: 33.3 kB / 0.6866 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003084/0.3335, allocations: 1.539 MB / 0.6881 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=170): time 4.949e-06/0.3335, allocations: 0 / 0.6881 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of matching and sorting (n=170): time 0.01033/0.3439, allocations: 3.687 MB / 0.6917 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000409/0.3443, allocations: 0.5139 MB / 0.6922 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003983/0.3483, allocations: 2.026 MB / 0.6942 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002695/0.3485, allocations: 61.7 kB / 0.6943 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.35, allocations: 1.238 MB / 0.6955 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000841/0.3509, allocations: 0.5888 MB / 0.696 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006912/0.3516, allocations: 339.5 kB / 0.6964 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3517, allocations: 309.1 kB / 0.6967 GB, free: 352 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/0.3541, allocations: 0.9981 MB / 0.6976 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00303/0.3571, allocations: 1.868 MB / 0.6995 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01702/0.3741, allocations: 5.321 MB / 0.7047 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.101e-05/0.3742, allocations: 4 kB / 0.7047 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.008283/0.3824, allocations: 3.049 MB / 0.7076 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.234e-05/0.3825, allocations: 41.69 kB / 0.7077 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.3825, allocations: 8 kB / 0.7077 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005852/0.3831, allocations: 313.3 kB / 0.708 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/0.3855, allocations: 467.3 kB / 0.7084 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.05e-05/0.3855, allocations: 23.92 kB / 0.7085 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/0.388, allocations: 274.8 kB / 0.7087 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.3881, allocations: 71.98 kB / 0.7088 GB, free: 3.457 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.003839/0.392, allocations: 1.487 MB / 0.7102 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002902/0.3949, allocations: 1.818 MB / 0.712 GB, free: 15.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01638/0.4112, allocations: 5.184 MB / 0.7171 GB, free: 10.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.73e-05/0.4113, allocations: 4 kB / 0.7171 GB, free: 10.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.007973/0.4192, allocations: 2.94 MB / 0.72 GB, free: 7.574 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.639e-05/0.4193, allocations: 38.47 kB / 0.72 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.4193, allocations: 8 kB / 0.72 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005063/0.4198, allocations: 324.7 kB / 0.7203 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/0.4221, allocations: 447.3 kB / 0.7207 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.175e-05/0.4221, allocations: 23.92 kB / 0.7208 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/0.4245, allocations: 263 kB / 0.721 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.4247, allocations: 68 kB / 0.7211 GB, free: 6.418 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.001092/0.4258, allocations: 452.2 kB / 0.7215 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008652/0.4267, allocations: 266.3 kB / 0.7218 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008073/0.4347, allocations: 2.842 MB / 0.7245 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/0.4348, allocations: 16 kB / 0.7245 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.306e-05/0.4348, allocations: 0 / 0.7245 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-05/0.4348, allocations: 11.91 kB / 0.7246 GB, free: 2.816 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/0.4485, allocations: 5.25 MB / 0.7297 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.4485, allocations: 0 / 0.7297 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002483/0.4509, allocations: 399.5 kB / 0.7301 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005444/0.4515, allocations: 304.7 kB / 0.7304 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001855/0.4517, allocations: 43.98 kB / 0.7304 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.68e-05/0.4517, allocations: 7.938 kB / 0.7304 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.4517, allocations: 4 kB / 0.7304 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/0.4626, allocations: 4.322 MB / 0.7346 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/0.4646, allocations: 0.5329 MB / 0.7352 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008162/0.4654, allocations: 51.98 kB / 0.7352 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/0.4675, allocations: 167.9 kB / 0.7354 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004297/0.468, allocations: 149.6 kB / 0.7355 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/0.4681, allocations: 51.98 kB / 0.7356 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003664/0.4718, allocations: 1.354 MB / 0.7369 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4718, allocations: 0 / 0.7369 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004549/0.4764, allocations: 0.9855 MB / 0.7378 GB, free: 5.098 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.0007561/0.4771, allocations: 214.8 kB / 0.738 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009283/0.4864, allocations: 3.805 MB / 0.7418 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/0.4864, allocations: 4 kB / 0.7418 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003129/0.4895, allocations: 1.283 MB / 0.743 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/0.4924, allocations: 459.1 kB / 0.7435 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.5046, allocations: 5.181 MB / 0.7485 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.5059, allocations: 1.074 MB / 0.7496 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/0.5071, allocations: 167.4 kB / 0.7497 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of SimCode: time 1.162e-06/0.5071, allocations: 0 / 0.7497 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of Templates: time 0.5159/1.023, allocations: 49.73 MB / 0.7983 GB, free: 149.2 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.makefile [Timeout 660] (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 & ./Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.727613940020092] Failed to read output from testmodel.py, exit status != 0: 1.39800050703343 1.041961677 0.7683128 Calling exit ...