Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001559/0.001559, allocations: 213.3 kB / 23.01 MB, free: 4.992 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.51/1.51, allocations: 207.7 MB / 233.9 MB, free: 9.801 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.6539/0.6539, allocations: 103.8 MB / 389.9 MB, free: 21.21 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.PVVoltageSourceB,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB") [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.002262/0.002262, allocations: 80.14 kB / 0.5521 GB, free: 58.38 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1241, allocations: 75.99 MB / 0.6263 GB, free: 8.598 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.01109/0.1352, allocations: 10.91 MB / 0.637 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.1472, allocations: 5.872 MB / 0.6427 GB, free: 7.738 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002931/0.1501, allocations: 95.31 kB / 0.6428 GB, free: 7.645 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.002601/0.1527, allocations: 0.5798 MB / 0.6434 GB, free: 7.062 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005323/0.1581, allocations: 1.141 MB / 0.6445 GB, free: 5.918 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006515/0.1646, allocations: 2.673 MB / 0.6471 GB, free: 3.258 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007405/0.172, allocations: 4.54 MB / 0.6516 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003239/0.1752, allocations: 1.112 MB / 0.6526 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.1783, allocations: 1.654 MB / 0.6543 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002512/0.1808, allocations: 1.515 MB / 0.6557 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001275/0.1821, allocations: 0.4922 MB / 0.6562 GB, free: 9.848 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.1839, allocations: 0.7069 MB / 0.6569 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001382/0.1852, allocations: 0.9461 MB / 0.6578 GB, free: 8.191 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002422/0.1877, allocations: 1.453 MB / 0.6592 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00846/0.1961, allocations: 5.974 MB / 0.6651 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1961, allocations: 0 / 0.6651 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1961, allocations: 0 / 0.6651 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001857/0.1963, allocations: 0 / 0.6651 GB, free: 0.7305 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 604 * Number of variables: 604 Notification: Performance of Generate backend data structure: time 0.01416/0.2105, allocations: 4.628 MB / 0.6696 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.2105, allocations: 8.031 kB / 0.6696 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005921/0.2164, allocations: 1.064 MB / 0.6706 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005069/0.2215, allocations: 2.346 MB / 0.6729 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006812/0.2222, allocations: 0.7297 MB / 0.6736 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00059/0.2228, allocations: 247.9 kB / 0.6739 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00704/0.2298, allocations: 3.624 MB / 0.6774 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.163e-05/0.2299, allocations: 3.938 kB / 0.6774 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000266/0.2301, allocations: 104 kB / 0.6775 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.464e-05/0.2302, allocations: 60 kB / 0.6776 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006287/0.2365, allocations: 2.623 MB / 0.6801 GB, free: 0.7188 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.01975/0.2562, allocations: 9.612 MB / 0.6895 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007507/0.2637, allocations: 2.831 MB / 0.6923 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002647/0.2664, allocations: 1.168 MB / 0.6934 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.2665, allocations: 25.98 kB / 0.6935 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003444/0.27, allocations: 1.76 MB / 0.6952 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 4.158e-06/0.27, allocations: 0 / 0.6952 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197): time 0.01259/0.2825, allocations: 4.433 MB / 0.6995 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003523/0.2829, allocations: 0.5352 MB / 0.7 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003877/0.2868, allocations: 2.249 MB / 0.7022 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003013/0.2871, allocations: 65.7 kB / 0.7023 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.2885, allocations: 1.387 MB / 0.7036 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000866/0.2894, allocations: 0.6817 MB / 0.7043 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007073/0.2901, allocations: 391.8 kB / 0.7047 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2903, allocations: 309 kB / 0.705 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00265/0.2929, allocations: 1.151 MB / 0.7061 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00344/0.2963, allocations: 2.107 MB / 0.7082 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01872/0.3151, allocations: 6.15 MB / 0.7142 GB, free: 12.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/0.3151, allocations: 4 kB / 0.7142 GB, free: 12.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.009209/0.3243, allocations: 3.63 MB / 0.7177 GB, free: 9.266 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.375e-05/0.3244, allocations: 45.69 kB / 0.7178 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/0.3244, allocations: 12.91 kB / 0.7178 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008324/0.3252, allocations: 472.6 kB / 0.7182 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00264/0.3279, allocations: 0.5109 MB / 0.7187 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-05/0.3279, allocations: 23.94 kB / 0.7187 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/0.3303, allocations: 302.7 kB / 0.719 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/0.3305, allocations: 88.05 kB / 0.7191 GB, free: 7.82 MB / 0.545 GB Warning: Assuming fixed start value for the following 27 variables: PV.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.injector.running.value:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) type: Boolean PV.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean PV.line.running.value:DISCRETE(flow=false start = PV.line.Running0 fixed = true ) type: Boolean PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.VSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.VSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.VSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.VSourceRef.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.source.running.value:DISCRETE(flow=false start = PV.source.Running0 fixed = true ) type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.a_end * PV.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003862/0.3344, allocations: 1.707 MB / 0.7208 GB, free: 6.109 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003311/0.3377, allocations: 2.037 MB / 0.7228 GB, free: 3.758 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01845/0.3561, allocations: 6.013 MB / 0.7286 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.361e-05/0.3561, allocations: 4 kB / 0.7287 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.008874/0.365, allocations: 3.537 MB / 0.7321 GB, free: 10 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/0.3651, allocations: 41.64 kB / 0.7321 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.81e-05/0.3651, allocations: 12 kB / 0.7322 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007333/0.3658, allocations: 477 kB / 0.7326 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002488/0.3683, allocations: 0.4953 MB / 0.7331 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-05/0.3684, allocations: 27.92 kB / 0.7331 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/0.3709, allocations: 290.8 kB / 0.7334 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002232/0.3711, allocations: 79.98 kB / 0.7335 GB, free: 8.586 MB / 0.5606 GB Warning: Assuming fixed start value for the following 27 variables: PV.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.injector.running.value:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) type: Boolean PV.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean PV.line.running.value:DISCRETE(flow=false start = PV.line.Running0 fixed = true ) type: Boolean PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.VSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.VSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.VSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.VSourceRef.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.source.running.value:DISCRETE(flow=false start = PV.source.Running0 fixed = true ) type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.a_end * PV.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 50 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.injector.running.value,PV.injector.running.value,$whenCondition8,$whenCondition7,$whenCondition9,$PRE.PV.source.state,PV.source.state,$PRE.PV.line.state,PV.line.state,$PRE.line.state,line.state,PV.injector.switchOffSignal3.value,PV.injector.switchOffSignal2.value,PV.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,PV.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,PV.wecc_regc.rateLimFirstOrderFreeze.local_freeze,$PRE.line.running.value,$PRE.PV.line.running.value,$PRE.PV.source.running.value,PV.wecc_reec.frtOn,PV.wecc_repc.freeze,PV.source.running.value,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.y,PV.line.running.value,line.running.value,$whenCondition14,$whenCondition13,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition11,$whenCondition10,$whenCondition12,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPID.I.local_reset,PV.VSourceRef.pll.limIntegrator.local_reset,PV.VSourceRef.pll.integrator.local_reset,PV.pll.limIntegrator.local_reset,PV.pll.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(12,41.7%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001092/0.3722, allocations: 481.2 kB / 0.7339 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009955/0.3732, allocations: 302.1 kB / 0.7342 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009095/0.3823, allocations: 3.351 MB / 0.7375 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/0.3823, allocations: 23.94 kB / 0.7375 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/0.3823, allocations: 4 kB / 0.7375 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.462e-05/0.3823, allocations: 11.95 kB / 0.7375 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/0.398, allocations: 6.126 MB / 0.7435 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.398, allocations: 0 / 0.7435 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00272/0.4007, allocations: 435.5 kB / 0.7439 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007265/0.4014, allocations: 468.4 kB / 0.7444 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00026/0.4017, allocations: 59.98 kB / 0.7444 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.01e-05/0.4017, allocations: 7.984 kB / 0.7444 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4017, allocations: 0 / 0.7444 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/0.414, allocations: 5.146 MB / 0.7495 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001911/0.4159, allocations: 0.6107 MB / 0.7501 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000724/0.4166, allocations: 59.98 kB / 0.7501 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/0.4187, allocations: 187.7 kB / 0.7503 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000424/0.4191, allocations: 173.7 kB / 0.7505 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001842/0.4193, allocations: 63.97 kB / 0.7505 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004043/0.4234, allocations: 1.493 MB / 0.752 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4234, allocations: 0 / 0.752 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005444/0.4288, allocations: 1.145 MB / 0.7531 GB, free: 4.328 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 25 (PV.wecc_regc.firstOrder.y,PV.wecc_regc.rateLimFirstOrderFreeze.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.pll.integrator.y,PV.pll.limIntegrator.y,PV.VSourceRef.firstOrder.y,PV.VSourceRef.firstOrder1.y,PV.VSourceRef.pll.integrator.y,PV.VSourceRef.pll.limIntegrator.y,PV.wecc_repc.firstOrder.y,PV.wecc_repc.limPID.I.y,PV.wecc_repc.firstOrder1.y,PV.wecc_repc.firstOrder2.y,PV.wecc_repc.firstOrder3.y,PV.wecc_repc.limPIDFreeze.I.y,PV.wecc_repc.leadLag.x_scaled[1],PV.wecc_reec.firstOrder.y,PV.wecc_reec.firstOrder1.y,PV.wecc_reec.limPIDFreeze.I.y,PV.wecc_reec.varLimPIDFreeze.I.y,PV.wecc_reec.rateLimFirstOrderFreeze1.y,PV.wecc_reec.slewRateLimiter.y,PV.wecc_reec.rateLimFirstOrderFreeze.y,PV.wecc_reec.firstOrder2.y,PV.wecc_reec.firstOrder3.y) * Number of discrete variables: 27 ($whenCondition12,$whenCondition10,$whenCondition11,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition13,$whenCondition14,line.running.value,line.state,PV.line.running.value,PV.line.state,PV.wecc_regc.offDelay.y,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.tNext,PV.source.running.value,PV.source.state,PV.wecc_repc.freeze,PV.wecc_reec.frtOn,$whenCondition9,$whenCondition7,$whenCondition8,PV.injector.running.value,PV.injector.state) * Number of discrete states: 8 (PV.injector.running.value,PV.source.running.value,PV.line.running.value,line.running.value,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,$whenCondition14,$whenCondition13) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(12,41.7%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008327/0.4296, allocations: 229.3 kB / 0.7533 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01518/0.4448, allocations: 4.42 MB / 0.7576 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.4448, allocations: 8.312 kB / 0.7576 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003807/0.4486, allocations: 1.493 MB / 0.7591 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003439/0.4521, allocations: 0.5135 MB / 0.7596 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/0.4671, allocations: 5.84 MB / 0.7653 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/0.4693, allocations: 1.214 MB / 0.7665 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002499/0.4718, allocations: 332.6 kB / 0.7668 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009809/0.4728, allocations: 171.4 kB / 0.767 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of SimCode: time 1.793e-06/0.4728, allocations: 0 / 0.767 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of Templates: time 0.3458/0.8185, allocations: 40.84 MB / 0.8069 GB, free: 142.3 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe ; mkfifo Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe >> ../files/Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.sim & ./Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB -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.PVVoltageSourceB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.4818260334432125] Failed to read output from testmodel.py, exit status != 0: 1.0515060927718878 0.836698378 0.6382026310000001 Calling exit ...