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.001377/0.001377, 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.001503/0.001503, allocations: 224.7 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.422/1.422, allocations: 207.7 MB / 234.6 MB, free: 9.812 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.5913/0.5913, allocations: 103.8 MB / 390.7 MB, free: 21.23 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.002283/0.002283, allocations: 70.89 kB / 0.5529 GB, free: 58.42 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1249, allocations: 76 MB / 0.6271 GB, free: 8.586 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.01118/0.1361, allocations: 10.91 MB / 0.6377 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.1472, allocations: 5.872 MB / 0.6435 GB, free: 7.727 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002428/0.1496, allocations: 95.31 kB / 0.6436 GB, free: 7.633 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.001809/0.1514, allocations: 0.5839 MB / 0.6441 GB, free: 7.047 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00388/0.1553, allocations: 1.13 MB / 0.6452 GB, free: 5.91 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005472/0.1608, allocations: 2.676 MB / 0.6478 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006641/0.1674, allocations: 4.54 MB / 0.6523 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002408/0.1698, allocations: 1.174 MB / 0.6534 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00316/0.173, allocations: 1.669 MB / 0.6551 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003335/0.1763, allocations: 1.703 MB / 0.6567 GB, free: 10.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001855/0.1782, allocations: 0.4922 MB / 0.6572 GB, free: 9.574 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.1805, allocations: 0.7147 MB / 0.6579 GB, free: 8.859 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.1819, allocations: 0.95 MB / 0.6588 GB, free: 7.906 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002156/0.1841, allocations: 1.453 MB / 0.6602 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007873/0.1919, allocations: 5.971 MB / 0.6661 GB, free: 460 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.192, allocations: 3.984 kB / 0.6661 GB, free: 456 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.192, allocations: 0 / 0.6661 GB, free: 456 kB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000177/0.1921, allocations: 0 / 0.6661 GB, free: 456 kB / 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.01489/0.207, allocations: 4.628 MB / 0.6706 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.2071, allocations: 8.031 kB / 0.6706 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006087/0.2132, allocations: 1.064 MB / 0.6716 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005028/0.2182, allocations: 2.35 MB / 0.6739 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006628/0.2189, allocations: 0.7259 MB / 0.6747 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006607/0.2195, allocations: 251.9 kB / 0.6749 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007416/0.2269, allocations: 3.62 MB / 0.6784 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.032e-05/0.227, allocations: 7.938 kB / 0.6784 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00028/0.2273, allocations: 108 kB / 0.6785 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.463e-05/0.2273, allocations: 56 kB / 0.6786 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006036/0.2334, allocations: 2.619 MB / 0.6811 GB, free: 444 kB / 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.01855/0.2519, allocations: 9.616 MB / 0.6905 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007606/0.2595, allocations: 2.835 MB / 0.6933 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0028/0.2623, allocations: 1.164 MB / 0.6944 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.2624, allocations: 25.94 kB / 0.6945 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003796/0.2662, allocations: 1.76 MB / 0.6962 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 5.69e-06/0.2662, allocations: 4 kB / 0.6962 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197): time 0.01431/0.2806, allocations: 4.429 MB / 0.7005 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003549/0.2809, allocations: 0.5352 MB / 0.701 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003981/0.2849, allocations: 2.237 MB / 0.7032 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003802/0.2853, allocations: 73.69 kB / 0.7033 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001548/0.2868, allocations: 1.391 MB / 0.7047 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009424/0.2878, allocations: 0.6817 MB / 0.7053 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007558/0.2885, allocations: 387.8 kB / 0.7057 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.2887, allocations: 313 kB / 0.706 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002615/0.2913, allocations: 1.151 MB / 0.7071 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003468/0.2947, allocations: 2.091 MB / 0.7092 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02022/0.315, allocations: 6.162 MB / 0.7152 GB, free: 12.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-05/0.315, allocations: 4 kB / 0.7152 GB, free: 12.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01055/0.3255, allocations: 3.639 MB / 0.7187 GB, free: 8.977 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.304e-05/0.3256, allocations: 45.44 kB / 0.7188 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/0.3256, allocations: 12 kB / 0.7188 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007789/0.3264, allocations: 473.2 kB / 0.7192 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/0.3295, allocations: 0.5071 MB / 0.7197 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.562e-05/0.3295, allocations: 27.94 kB / 0.7198 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/0.3321, allocations: 302.7 kB / 0.72 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/0.3324, allocations: 79.98 kB / 0.7201 GB, free: 7.543 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.004047/0.3364, allocations: 1.71 MB / 0.7218 GB, free: 5.824 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003385/0.3398, allocations: 2.033 MB / 0.7238 GB, free: 3.477 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01934/0.3592, allocations: 6.013 MB / 0.7296 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.541e-05/0.3592, allocations: 4 kB / 0.7297 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.009456/0.3686, allocations: 3.545 MB / 0.7331 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.398e-05/0.3687, allocations: 41.08 kB / 0.7332 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.3687, allocations: 12 kB / 0.7332 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007171/0.3694, allocations: 484.6 kB / 0.7336 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/0.3721, allocations: 499.3 kB / 0.7341 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.138e-05/0.3721, allocations: 23.94 kB / 0.7341 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002569/0.3747, allocations: 298.8 kB / 0.7344 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/0.3749, allocations: 80 kB / 0.7345 GB, free: 8.297 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.001036/0.3759, allocations: 493.7 kB / 0.735 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009333/0.3768, allocations: 294.1 kB / 0.7352 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008838/0.3857, allocations: 3.351 MB / 0.7385 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.3857, allocations: 23.98 kB / 0.7385 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/0.3857, allocations: 4 kB / 0.7385 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.129e-05/0.3857, allocations: 7.969 kB / 0.7385 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/0.3997, allocations: 6.118 MB / 0.7445 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.3997, allocations: 3.938 kB / 0.7445 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002788/0.4025, allocations: 439.5 kB / 0.7449 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007288/0.4032, allocations: 456.6 kB / 0.7454 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002357/0.4035, allocations: 55.97 kB / 0.7454 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/0.4035, allocations: 8 kB / 0.7454 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4035, allocations: 64 / 0.7454 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01183/0.4153, allocations: 5.165 MB / 0.7505 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/0.4172, allocations: 0.6146 MB / 0.7511 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004891/0.4177, allocations: 56 kB / 0.7511 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/0.4195, allocations: 187.7 kB / 0.7513 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004336/0.4199, allocations: 169.7 kB / 0.7515 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/0.4201, allocations: 67.97 kB / 0.7515 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002541/0.4226, allocations: 1.489 MB / 0.753 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4226, allocations: 0 / 0.753 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003186/0.4258, allocations: 1.149 MB / 0.7541 GB, free: 4.035 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.0005706/0.4263, allocations: 233.5 kB / 0.7543 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01061/0.437, allocations: 4.407 MB / 0.7586 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.437, allocations: 4 kB / 0.7587 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003625/0.4406, allocations: 1.49 MB / 0.7601 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/0.4435, allocations: 0.5113 MB / 0.7606 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.4569, allocations: 5.856 MB / 0.7663 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/0.4583, allocations: 1.206 MB / 0.7675 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001917/0.4603, allocations: 328.6 kB / 0.7678 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006721/0.4609, allocations: 167.4 kB / 0.768 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of SimCode: time 1.313e-06/0.4609, allocations: 0 / 0.768 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of Templates: time 0.3479/0.8088, allocations: 41.41 MB / 0.8084 GB, free: 141.6 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 cvode -lv LOG_STATS > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.189436730986927] Failed to read output from testmodel.py, exit status != 0: 1.0379568409989588 0.827386217 0.632959139 Calling exit ...