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.001076/0.001076, allocations: 87.56 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009139/0.0009139, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8288/0.8288, allocations: 158.6 MB / 185.7 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.3868/0.3868, allocations: 76.92 MB / 314.9 MB, free: 10.73 MB / 298.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it 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: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 3.938 kB / 415.4 MB, free: 8.062 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.643e-05, allocations: 6.312 kB / 415.4 MB, free: 8.055 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.01037/0.01039, allocations: 11.64 MB / 427 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008825/0.01922, allocations: 5.984 MB / 433 MB, free: 6.355 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002578/0.0218, allocations: 95.31 kB / 433.1 MB, free: 6.262 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/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.00216/0.02396, allocations: 0.5764 MB / 433.7 MB, free: 5.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003681/0.02764, allocations: 1.172 MB / 434.8 MB, free: 4.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003993/0.03163, allocations: 2.683 MB / 437.5 MB, free: 1.812 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004925/0.03656, allocations: 4.543 MB / 442.1 MB, free: 13.25 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.03822, allocations: 1.116 MB / 443.2 MB, free: 12.07 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.04009, allocations: 1.531 MB / 444.7 MB, free: 10.53 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.04137, allocations: 1.269 MB / 446 MB, free: 9.258 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006052/0.04198, allocations: 500 kB / 446.5 MB, free: 8.77 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009482/0.04293, allocations: 0.7106 MB / 447.2 MB, free: 8.059 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000683/0.04361, allocations: 0.9615 MB / 448.1 MB, free: 7.094 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009446/0.04455, allocations: 1.203 MB / 449.3 MB, free: 5.887 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003502/0.04806, allocations: 3.145 MB / 452.5 MB, free: 2.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.04806, allocations: 0 / 452.5 MB, free: 2.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.04806, allocations: 4 kB / 452.5 MB, free: 2.727 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.083e-05/0.04812, allocations: 0 / 452.5 MB, free: 2.727 MB / 426.7 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.006533/0.05465, allocations: 4.603 MB / 457.1 MB, free: 14.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.05469, allocations: 8.031 kB / 457.1 MB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003063/0.05776, allocations: 1.365 MB / 458.5 MB, free: 12.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002571/0.06033, allocations: 2.376 MB / 460.8 MB, free: 10.24 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003459/0.06067, allocations: 0.7259 MB / 461.6 MB, free: 9.387 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/0.06095, allocations: 260.3 kB / 461.8 MB, free: 9.133 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003157/0.0641, allocations: 2.743 MB / 464.6 MB, free: 6.031 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.06414, allocations: 7.938 kB / 464.6 MB, free: 6.023 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.06429, allocations: 104 kB / 464.7 MB, free: 5.922 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/0.06432, allocations: 63.94 kB / 464.7 MB, free: 5.859 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.06617, allocations: 1.074 MB / 465.8 MB, free: 4.758 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1795/0.2456, allocations: 10.25 MB / 476.1 MB, free: 72.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002784/0.2484, allocations: 1.36 MB / 477.4 MB, free: 72.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007866/0.2492, allocations: 489.3 kB / 477.9 MB, free: 72.37 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.2493, allocations: 35.19 kB / 477.9 MB, free: 72.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/0.2506, allocations: 1.072 MB / 479 MB, free: 72.01 MB / 442.7 MB Notification: Performance of pre-optimization done (n=197): time 5.05e-06/0.2506, allocations: 0 / 479 MB, free: 72.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=197): time 0.004888/0.2555, allocations: 2.411 MB / 481.4 MB, free: 71.81 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.2556, allocations: 0.5378 MB / 481.9 MB, free: 71.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.2575, allocations: 1.946 MB / 483.9 MB, free: 70.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.2576, allocations: 67.83 kB / 484 MB, free: 70.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007468/0.2584, allocations: 1.445 MB / 485.4 MB, free: 70.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004177/0.2588, allocations: 0.6777 MB / 486.1 MB, free: 70.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000438/0.2593, allocations: 396.3 kB / 486.5 MB, free: 70.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.086e-05/0.2593, allocations: 480.7 kB / 486.9 MB, free: 69.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007165/0.26, allocations: 423.6 kB / 487.3 MB, free: 69.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009725/0.261, allocations: 1.498 MB / 488.8 MB, free: 68.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002315/0.2633, allocations: 1.958 MB / 490.8 MB, free: 67.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.2633, allocations: 5.906 kB / 490.8 MB, free: 67.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.003589/0.2669, allocations: 2.151 MB / 493 MB, free: 67.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.2669, allocations: 42.05 kB / 493 MB, free: 67.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.267, allocations: 8.75 kB / 493 MB, free: 67.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004149/0.2674, allocations: 324.7 kB / 493.3 MB, free: 67.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.2686, allocations: 484.8 kB / 493.8 MB, free: 67.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.399e-05/0.2687, allocations: 28.67 kB / 493.8 MB, free: 67.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.2697, allocations: 251.4 kB / 494.1 MB, free: 67.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.2698, allocations: 81.81 kB / 494.2 MB, free: 67.16 MB / 442.7 MB 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.001322/0.2711, allocations: 0.7038 MB / 494.9 MB, free: 66.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009884/0.2721, allocations: 1.481 MB / 496.3 MB, free: 65.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002256/0.2744, allocations: 1.945 MB / 498.3 MB, free: 64.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.136e-05/0.2744, allocations: 3.156 kB / 498.3 MB, free: 64.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.003894/0.2783, allocations: 2.144 MB / 0.4887 GB, free: 64.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.2783, allocations: 44.25 kB / 0.4887 GB, free: 64.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.2783, allocations: 14.97 kB / 0.4888 GB, free: 64.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003901/0.2787, allocations: 325.2 kB / 0.4891 GB, free: 64.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.28, allocations: 467.8 kB / 0.4895 GB, free: 64.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.23e-05/0.28, allocations: 26.55 kB / 0.4895 GB, free: 64.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.2812, allocations: 254.3 kB / 0.4898 GB, free: 64.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.2813, allocations: 79.44 kB / 0.4899 GB, free: 64.43 MB / 442.7 MB 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.0006628/0.282, allocations: 0.5686 MB / 0.4904 GB, free: 64.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000504/0.2825, allocations: 366.5 kB / 0.4908 GB, free: 63.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003509/0.286, allocations: 1.949 MB / 0.4927 GB, free: 63.28 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.286, allocations: 20.5 kB / 0.4927 GB, free: 63.28 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.286, allocations: 2.531 kB / 0.4927 GB, free: 63.28 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.2861, allocations: 11.36 kB / 0.4927 GB, free: 63.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006921/0.293, allocations: 4.473 MB / 0.4971 GB, free: 61.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.293, allocations: 0 / 0.4971 GB, free: 61.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/0.2944, allocations: 393.5 kB / 0.4974 GB, free: 61.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003879/0.2948, allocations: 318.2 kB / 0.4977 GB, free: 61.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001689/0.2949, allocations: 54.66 kB / 0.4978 GB, free: 61.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.639e-06/0.295, allocations: 7.438 kB / 0.4978 GB, free: 61.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.295, allocations: 3.562 kB / 0.4978 GB, free: 61.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004916/0.2999, allocations: 2.813 MB / 0.5006 GB, free: 60.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.301, allocations: 0.615 MB / 0.5012 GB, free: 59.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/0.3013, allocations: 60.48 kB / 0.5012 GB, free: 59.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008256/0.3021, allocations: 134.7 kB / 0.5013 GB, free: 59.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003288/0.3024, allocations: 175.7 kB / 0.5015 GB, free: 59.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.3025, allocations: 58.78 kB / 0.5016 GB, free: 59.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001565/0.3041, allocations: 1.163 MB / 0.5027 GB, free: 59.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3041, allocations: 0 / 0.5027 GB, free: 59.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002391/0.3065, allocations: 1.151 MB / 0.5038 GB, free: 59 MB / 442.7 MB 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.0004418/0.3069, allocations: 226.2 kB / 0.504 GB, free: 58.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004049/0.311, allocations: 2.467 MB / 0.5065 GB, free: 58.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.311, allocations: 0 / 0.5065 GB, free: 58.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.3122, allocations: 0.876 MB / 0.5073 GB, free: 57.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.314, allocations: 0.5518 MB / 0.5078 GB, free: 57.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006937/0.321, allocations: 4.889 MB / 0.5126 GB, free: 55.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.3214, allocations: 463.7 kB / 0.5131 GB, free: 55.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001048/0.3225, allocations: 323.1 kB / 0.5134 GB, free: 55.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004468/0.3229, allocations: 174.4 kB / 0.5135 GB, free: 55.11 MB / 442.7 MB Notification: Performance of SimCode: time 2.215e-06/0.3229, allocations: 0 / 0.5135 GB, free: 55.11 MB / 442.7 MB Notification: Performance of Templates: time 0.04261/0.3655, allocations: 38.29 MB / 0.5509 GB, free: 21.91 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.198005943093449]