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.001366/0.001366, allocations: 100.3 kB / 20.46 MB, free: 1.395 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.001543/0.001543, allocations: 225.6 kB / 23.77 MB, free: 4.555 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.371/1.371, allocations: 207.7 MB / 234.6 MB, free: 9.809 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.5827/0.5827, allocations: 103.8 MB / 390.7 MB, free: 21.88 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.002187/0.002187, allocations: 66.94 kB / 0.5529 GB, free: 57.9 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.09708, allocations: 75.99 MB / 0.6271 GB, free: 8.785 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.01032/0.1074, allocations: 10.92 MB / 0.6377 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.1182, allocations: 5.876 MB / 0.6435 GB, free: 7.914 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002334/0.1205, allocations: 91.31 kB / 0.6436 GB, free: 7.824 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.001653/0.1222, allocations: 0.5843 MB / 0.6441 GB, free: 7.234 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003393/0.1256, allocations: 1.133 MB / 0.6452 GB, free: 6.098 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005117/0.1307, allocations: 2.656 MB / 0.6478 GB, free: 3.453 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00585/0.1365, allocations: 4.555 MB / 0.6523 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.1385, allocations: 1.178 MB / 0.6534 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.1408, allocations: 1.666 MB / 0.6551 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001909/0.1427, allocations: 1.706 MB / 0.6567 GB, free: 10.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006296/0.1433, allocations: 0.4922 MB / 0.6572 GB, free: 9.762 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.1444, allocations: 0.7225 MB / 0.6579 GB, free: 9.039 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008179/0.1452, allocations: 0.9384 MB / 0.6588 GB, free: 8.098 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001433/0.1467, allocations: 1.457 MB / 0.6602 GB, free: 6.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006547/0.1532, allocations: 5.963 MB / 0.6661 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1532, allocations: 0 / 0.6661 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1532, allocations: 4 kB / 0.6661 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.454e-05/0.1533, allocations: 0 / 0.6661 GB, free: 0.6406 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.01205/0.1653, allocations: 4.628 MB / 0.6706 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1654, allocations: 12.03 kB / 0.6706 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006031/0.1714, allocations: 1.068 MB / 0.6717 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004493/0.1759, allocations: 2.346 MB / 0.6739 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006361/0.1765, allocations: 0.722 MB / 0.6746 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004627/0.177, allocations: 247.9 kB / 0.6749 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006677/0.1837, allocations: 3.628 MB / 0.6784 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.182e-05/0.1837, allocations: 7.938 kB / 0.6784 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002599/0.184, allocations: 100 kB / 0.6785 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.774e-05/0.184, allocations: 63.98 kB / 0.6786 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0059/0.1899, allocations: 2.619 MB / 0.6811 GB, free: 0.625 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.01639/0.2063, allocations: 9.616 MB / 0.6905 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00722/0.2136, allocations: 2.827 MB / 0.6933 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002518/0.2161, allocations: 1.168 MB / 0.6944 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.2162, allocations: 33.97 kB / 0.6945 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003387/0.2196, allocations: 1.764 MB / 0.6962 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 4.378e-06/0.2196, allocations: 0 / 0.6962 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197): time 0.01265/0.2322, allocations: 4.421 MB / 0.7005 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003313/0.2326, allocations: 0.543 MB / 0.701 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003431/0.236, allocations: 2.237 MB / 0.7032 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000219/0.2362, allocations: 69.7 kB / 0.7033 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.2376, allocations: 1.387 MB / 0.7046 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007829/0.2384, allocations: 0.6856 MB / 0.7053 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007734/0.2391, allocations: 391.7 kB / 0.7057 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2393, allocations: 309.1 kB / 0.706 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002625/0.2419, allocations: 1.151 MB / 0.7071 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003403/0.2453, allocations: 2.095 MB / 0.7092 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01992/0.2652, allocations: 6.154 MB / 0.7152 GB, free: 12.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.2652, allocations: 4 kB / 0.7152 GB, free: 12.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.009798/0.275, allocations: 3.638 MB / 0.7187 GB, free: 9.172 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.868e-05/0.2751, allocations: 37.69 kB / 0.7188 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.2751, allocations: 15.94 kB / 0.7188 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000792/0.2759, allocations: 477.4 kB / 0.7192 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002811/0.2787, allocations: 0.5071 MB / 0.7197 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.775e-05/0.2788, allocations: 23.94 kB / 0.7197 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.2811, allocations: 302.6 kB / 0.72 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002384/0.2814, allocations: 87.98 kB / 0.7201 GB, free: 7.73 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.003909/0.2853, allocations: 1.715 MB / 0.7218 GB, free: 6.016 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003439/0.2887, allocations: 2.037 MB / 0.7238 GB, free: 3.664 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02022/0.3089, allocations: 6.009 MB / 0.7297 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.782e-05/0.309, allocations: 4 kB / 0.7297 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.01025/0.3192, allocations: 3.541 MB / 0.7331 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.887e-05/0.3193, allocations: 45.08 kB / 0.7332 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.3193, allocations: 12 kB / 0.7332 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007694/0.3201, allocations: 476.9 kB / 0.7336 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002886/0.3229, allocations: 499.3 kB / 0.7341 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.502e-05/0.323, allocations: 27.92 kB / 0.7341 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/0.3256, allocations: 290.8 kB / 0.7344 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/0.3259, allocations: 79.98 kB / 0.7345 GB, free: 8.5 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.001171/0.3271, allocations: 0.4904 MB / 0.735 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000958/0.328, allocations: 298.1 kB / 0.7352 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009647/0.3377, allocations: 3.355 MB / 0.7385 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.3377, allocations: 20 kB / 0.7385 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/0.3377, allocations: 0 / 0.7385 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.628e-05/0.3377, allocations: 15.95 kB / 0.7386 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/0.3525, allocations: 6.122 MB / 0.7445 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.3525, allocations: 4 kB / 0.7445 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003/0.3555, allocations: 431.4 kB / 0.7449 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007629/0.3563, allocations: 468.5 kB / 0.7454 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002915/0.3566, allocations: 55.98 kB / 0.7454 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.9e-05/0.3566, allocations: 8 kB / 0.7455 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.3566, allocations: 3.984 kB / 0.7455 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/0.3693, allocations: 5.15 MB / 0.7505 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/0.3712, allocations: 0.6108 MB / 0.7511 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007093/0.3719, allocations: 55.98 kB / 0.7511 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/0.374, allocations: 191.6 kB / 0.7513 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004762/0.3745, allocations: 181.6 kB / 0.7515 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/0.3747, allocations: 59.97 kB / 0.7516 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003153/0.3779, allocations: 1.493 MB / 0.753 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3779, allocations: 0 / 0.753 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003751/0.3816, allocations: 1.149 MB / 0.7541 GB, free: 4.219 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.0006015/0.3822, allocations: 225.5 kB / 0.7543 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01044/0.3926, allocations: 4.416 MB / 0.7587 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.3926, allocations: 0 / 0.7587 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003553/0.3962, allocations: 1.489 MB / 0.7601 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003048/0.3992, allocations: 0.4965 MB / 0.7606 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.4123, allocations: 5.856 MB / 0.7663 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/0.4138, allocations: 1.21 MB / 0.7675 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001804/0.4156, allocations: 328.6 kB / 0.7678 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006909/0.4162, allocations: 171.4 kB / 0.768 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of SimCode: time 8.82e-07/0.4162, allocations: 0 / 0.768 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of Templates: time 0.294/0.7103, allocations: 41.42 MB / 0.8084 GB, free: 141.8 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 -s gbode -lv LOG_STATS > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.931653314997675] Failed to read output from testmodel.py, exit status != 0: 0.9184015970095061 0.726957228 0.5715129139999999 Calling exit ...