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.0009258/0.0009258, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.0008853/0.0008853, allocations: 169.2 kB / 23.98 MB, free: 0.5781 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.8653/0.8653, allocations: 158.6 MB / 185.8 MB, free: 3.031 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.3594/0.3594, allocations: 76.92 MB / 314.9 MB, free: 10.75 MB / 298.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 490.5 MB, free: 27.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.404e-05, allocations: 8.328 kB / 490.5 MB, free: 27.78 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.008595/0.008629, allocations: 10.91 MB / 0.4897 GB, free: 20.45 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.008407/0.01704, allocations: 5.892 MB / 0.4954 GB, free: 16.16 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/0.01947, allocations: 95.5 kB / 0.4955 GB, free: 16.12 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/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.001414/0.02088, allocations: 0.5727 MB / 0.4961 GB, free: 15.73 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.02332, allocations: 1.163 MB / 0.4972 GB, free: 14.9 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003532/0.02685, allocations: 2.698 MB / 0.4998 GB, free: 13.17 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004209/0.03106, allocations: 4.55 MB / 0.5043 GB, free: 10.64 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.03253, allocations: 1.116 MB / 0.5054 GB, free: 9.902 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.03445, allocations: 1.522 MB / 0.5069 GB, free: 9.035 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.03587, allocations: 1.26 MB / 0.5081 GB, free: 8.426 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007704/0.03664, allocations: 0.4898 MB / 0.5086 GB, free: 8.426 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.03768, allocations: 0.7076 MB / 0.5093 GB, free: 8.367 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004474/0.03813, allocations: 0.963 MB / 0.5102 GB, free: 7.633 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.03922, allocations: 1.197 MB / 0.5114 GB, free: 6.867 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00626/0.04548, allocations: 6.117 MB / 0.5173 GB, free: 4.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.04549, allocations: 0 / 0.5173 GB, free: 4.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.04549, allocations: 0 / 0.5173 GB, free: 4.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001628/0.04565, allocations: 1.375 kB / 0.5173 GB, free: 4.27 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 604 * Number of variables: 604 Notification: Performance of Generate backend data structure: time 0.008701/0.05435, allocations: 4.578 MB / 0.5218 GB, free: 1.723 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.0544, allocations: 12.16 kB / 0.5218 GB, free: 1.719 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003195/0.05759, allocations: 1.075 MB / 0.5229 GB, free: 1.398 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00284/0.06043, allocations: 2.347 MB / 0.5252 GB, free: 15.56 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004296/0.06086, allocations: 0.7299 MB / 0.5259 GB, free: 14.82 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003291/0.06119, allocations: 240.7 kB / 0.5261 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004671/0.06586, allocations: 3.62 MB / 0.5296 GB, free: 12.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.235e-05/0.0659, allocations: 6.188 kB / 0.5296 GB, free: 12.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/0.0661, allocations: 106 kB / 0.5297 GB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.283e-05/0.06615, allocations: 59.41 kB / 0.5298 GB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004014/0.07017, allocations: 2.619 MB / 0.5324 GB, free: 10.67 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01101/0.08118, allocations: 9.599 MB / 0.5417 GB, free: 3.164 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004264/0.08545, allocations: 2.842 MB / 0.5445 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.08695, allocations: 1.168 MB / 0.5457 GB, free: 15.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.811e-05/0.08705, allocations: 29.98 kB / 0.5457 GB, free: 15.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002062/0.08911, allocations: 1.756 MB / 0.5474 GB, free: 13.61 MB / 474.7 MB Notification: Performance of pre-optimization done (n=197): time 3.437e-06/0.08911, allocations: 0 / 0.5474 GB, free: 13.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=197): time 0.007247/0.09636, allocations: 4.425 MB / 0.5517 GB, free: 9.156 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002151/0.09657, allocations: 0.539 MB / 0.5522 GB, free: 8.496 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/0.09918, allocations: 2.249 MB / 0.5544 GB, free: 6.234 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.09934, allocations: 73.69 kB / 0.5545 GB, free: 6.156 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009594/0.1003, allocations: 1.387 MB / 0.5559 GB, free: 4.758 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006543/0.101, allocations: 0.67 MB / 0.5565 GB, free: 4.082 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005037/0.1015, allocations: 387.8 kB / 0.5569 GB, free: 3.695 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.1015, allocations: 305.1 kB / 0.5572 GB, free: 3.395 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.1031, allocations: 1.151 MB / 0.5583 GB, free: 2.234 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/0.1051, allocations: 2.087 MB / 0.5603 GB, free: 15.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/0.1153, allocations: 6.162 MB / 0.5664 GB, free: 9.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/0.1153, allocations: 4 kB / 0.5664 GB, free: 9.496 MB / 490.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.005735/0.1211, allocations: 3.635 MB / 0.5699 GB, free: 5.836 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.454e-05/0.1211, allocations: 56.88 kB / 0.57 GB, free: 5.777 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.1211, allocations: 12 kB / 0.57 GB, free: 5.766 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005138/0.1216, allocations: 472.6 kB / 0.5704 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.123, allocations: 0.507 MB / 0.5709 GB, free: 4.793 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.739e-05/0.123, allocations: 31.94 kB / 0.571 GB, free: 4.762 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.1245, allocations: 302.6 kB / 0.5712 GB, free: 4.465 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.1247, allocations: 83.98 kB / 0.5713 GB, free: 4.383 MB / 490.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.002762/0.1274, allocations: 1.722 MB / 0.573 GB, free: 2.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001907/0.1293, allocations: 2.025 MB / 0.575 GB, free: 332 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009761/0.1391, allocations: 6.005 MB / 0.5808 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.264e-05/0.1391, allocations: 4 kB / 0.5809 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.0056/0.1447, allocations: 3.541 MB / 0.5843 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.305e-05/0.1448, allocations: 37.7 kB / 0.5843 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1448, allocations: 12.88 kB / 0.5844 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004646/0.1452, allocations: 480.5 kB / 0.5848 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.1465, allocations: 0.4953 MB / 0.5853 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.298e-05/0.1465, allocations: 23.94 kB / 0.5853 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.1479, allocations: 294.8 kB / 0.5856 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.148, allocations: 80 kB / 0.5857 GB, free: 5.156 MB / 0.4948 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.0007869/0.1488, allocations: 494.2 kB / 0.5862 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003722/0.1492, allocations: 294.2 kB / 0.5864 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005084/0.1543, allocations: 3.347 MB / 0.5897 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.1543, allocations: 23.94 kB / 0.5897 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.1543, allocations: 7.938 kB / 0.5897 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.1543, allocations: 11.95 kB / 0.5897 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008282/0.1626, allocations: 6.118 MB / 0.5957 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.1626, allocations: 0 / 0.5957 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.1639, allocations: 435.5 kB / 0.5961 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004524/0.1644, allocations: 460.6 kB / 0.5966 GB, free: 9.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.1645, allocations: 55.97 kB / 0.5966 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.1645, allocations: 8.062 kB / 0.5966 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.1645, allocations: 11.88 kB / 0.5966 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006647/0.1712, allocations: 5.142 MB / 0.6017 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009745/0.1721, allocations: 0.6147 MB / 0.6023 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/0.1724, allocations: 56 kB / 0.6023 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009259/0.1733, allocations: 179.8 kB / 0.6025 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003005/0.1736, allocations: 181.6 kB / 0.6027 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.1737, allocations: 63.97 kB / 0.6027 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001689/0.1754, allocations: 1.489 MB / 0.6042 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1754, allocations: 0 / 0.6042 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002177/0.1776, allocations: 1.141 MB / 0.6053 GB, free: 0.9219 MB / 0.5105 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.0004905/0.1781, allocations: 235.4 kB / 0.6055 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006096/0.1842, allocations: 4.447 MB / 0.6099 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.1842, allocations: 4 kB / 0.6099 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.186, allocations: 1.513 MB / 0.6113 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.1876, allocations: 0.5056 MB / 0.6118 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007595/0.1952, allocations: 5.772 MB / 0.6175 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008724/0.196, allocations: 1.214 MB / 0.6187 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005814/0.1966, allocations: 188.5 kB / 0.6188 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.523e-06/0.1966, allocations: 0 / 0.6188 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.05117/0.2478, allocations: 56.93 MB / 0.6744 GB, free: 10 MB / 0.5886 GB " [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=480 -lv LOG_STATS > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.489964730106294] Failed to read output from testmodel.py, exit status != 0: 0.254394450224936 0.551615642 0.5043213200000001 Calling exit ...