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.001301/0.001301, allocations: 75.77 kB / 20.53 MB, free: 1.105 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.001685/0.001685, allocations: 162.6 kB / 23.78 MB, free: 4.184 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.271/1.271, allocations: 158.6 MB / 185.5 MB, free: 6.18 MB / 174.1 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.5488/0.5488, allocations: 76.97 MB / 314.7 MB, free: 12.75 MB / 302.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.002315/0.002315, allocations: 78.62 kB / 490.2 MB, free: 30.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1063, allocations: 75.96 MB / 0.5529 GB, free: 12.19 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.01453/0.1208, allocations: 10.9 MB / 0.5635 GB, free: 1.23 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.1314, allocations: 5.888 MB / 0.5693 GB, free: 11.33 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.1335, allocations: 91.31 kB / 0.5694 GB, free: 11.24 MB / 494.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.001704/0.1352, allocations: 0.5781 MB / 0.5699 GB, free: 10.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003245/0.1384, allocations: 1.13 MB / 0.571 GB, free: 9.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00529/0.1437, allocations: 2.674 MB / 0.5737 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006028/0.1497, allocations: 4.544 MB / 0.5781 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.1517, allocations: 1.108 MB / 0.5792 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002399/0.1541, allocations: 1.658 MB / 0.5808 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/0.1564, allocations: 1.515 MB / 0.5823 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007498/0.1571, allocations: 0.4922 MB / 0.5828 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.1583, allocations: 0.7029 MB / 0.5834 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000872/0.1592, allocations: 0.95 MB / 0.5844 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001658/0.1608, allocations: 1.461 MB / 0.5858 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006894/0.1677, allocations: 5.967 MB / 0.5916 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1677, allocations: 0 / 0.5916 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1677, allocations: 0 / 0.5916 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.489e-05/0.1678, allocations: 0 / 0.5916 GB, free: 4.34 MB / 0.4981 GB 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.01233/0.1802, allocations: 4.624 MB / 0.5961 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1802, allocations: 8.031 kB / 0.5961 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006012/0.1862, allocations: 1.072 MB / 0.5972 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004431/0.1906, allocations: 2.346 MB / 0.5995 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006399/0.1913, allocations: 0.7259 MB / 0.6002 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004548/0.1917, allocations: 251.9 kB / 0.6004 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006793/0.1985, allocations: 3.621 MB / 0.604 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.78e-05/0.1986, allocations: 0 / 0.604 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/0.1988, allocations: 108 kB / 0.6041 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-05/0.1989, allocations: 60 kB / 0.6041 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006474/0.2054, allocations: 2.619 MB / 0.6067 GB, free: 4.328 MB / 0.5137 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.01864/0.224, allocations: 9.621 MB / 0.6161 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007771/0.2318, allocations: 2.839 MB / 0.6189 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002743/0.2345, allocations: 1.164 MB / 0.62 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.2346, allocations: 33.98 kB / 0.62 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003518/0.2382, allocations: 1.756 MB / 0.6217 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=197): time 4.629e-06/0.2382, allocations: 0 / 0.6217 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.01309/0.2512, allocations: 4.429 MB / 0.6261 GB, free: 196 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003566/0.2516, allocations: 0.5391 MB / 0.6266 GB, free: 15.53 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00377/0.2554, allocations: 2.237 MB / 0.6288 GB, free: 13.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002979/0.2557, allocations: 65.7 kB / 0.6288 GB, free: 13.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.2571, allocations: 1.395 MB / 0.6302 GB, free: 11.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008876/0.258, allocations: 0.6895 MB / 0.6309 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007467/0.2588, allocations: 383.7 kB / 0.6312 GB, free: 10.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2589, allocations: 313.1 kB / 0.6315 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002855/0.2617, allocations: 1.151 MB / 0.6327 GB, free: 9.254 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003994/0.2657, allocations: 2.088 MB / 0.6347 GB, free: 6.863 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02072/0.2865, allocations: 6.154 MB / 0.6407 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.2865, allocations: 0 / 0.6407 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01013/0.2966, allocations: 3.642 MB / 0.6443 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.2967, allocations: 33.7 kB / 0.6443 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.2967, allocations: 19.92 kB / 0.6443 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007883/0.2975, allocations: 481.2 kB / 0.6448 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/0.3004, allocations: 0.5032 MB / 0.6453 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.074e-05/0.3004, allocations: 31.86 kB / 0.6453 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/0.3029, allocations: 306.6 kB / 0.6456 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/0.3031, allocations: 79.98 kB / 0.6457 GB, free: 11.42 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004039/0.3071, allocations: 1.718 MB / 0.6473 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003464/0.3106, allocations: 2.037 MB / 0.6493 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02013/0.3307, allocations: 6.009 MB / 0.6552 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.714e-05/0.3307, allocations: 4 kB / 0.6552 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.01005/0.3408, allocations: 3.534 MB / 0.6587 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.074e-05/0.3408, allocations: 49.06 kB / 0.6587 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.3409, allocations: 12 kB / 0.6587 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007584/0.3416, allocations: 476.8 kB / 0.6592 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002868/0.3445, allocations: 499.3 kB / 0.6596 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.627e-05/0.3445, allocations: 31.92 kB / 0.6597 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/0.3471, allocations: 294.7 kB / 0.66 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00033/0.3474, allocations: 79.98 kB / 0.66 GB, free: 12.18 MB / 0.5762 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.00103/0.3485, allocations: 497 kB / 0.6605 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007936/0.3492, allocations: 298.1 kB / 0.6608 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009395/0.3586, allocations: 3.351 MB / 0.6641 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/0.3587, allocations: 16 kB / 0.6641 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.3587, allocations: 4 kB / 0.6641 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/0.3587, allocations: 7.969 kB / 0.6641 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/0.3737, allocations: 6.126 MB / 0.6701 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.3737, allocations: 8 kB / 0.6701 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002976/0.3767, allocations: 431.5 kB / 0.6705 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007505/0.3775, allocations: 456.6 kB / 0.6709 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003289/0.3778, allocations: 51.97 kB / 0.671 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.651e-05/0.3778, allocations: 4 kB / 0.671 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3778, allocations: 8 kB / 0.671 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/0.391, allocations: 5.166 MB / 0.676 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/0.3928, allocations: 0.6108 MB / 0.6766 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006618/0.3934, allocations: 55.98 kB / 0.6767 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/0.3956, allocations: 191.7 kB / 0.6769 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004876/0.3961, allocations: 173.7 kB / 0.677 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002246/0.3963, allocations: 59.98 kB / 0.6771 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003266/0.3996, allocations: 1.493 MB / 0.6785 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3996, allocations: 7.938 kB / 0.6786 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003735/0.4033, allocations: 1.149 MB / 0.6797 GB, free: 7.906 MB / 0.5919 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.0006803/0.404, allocations: 221.4 kB / 0.6799 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0111/0.4151, allocations: 4.42 MB / 0.6842 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.4151, allocations: 0 / 0.6842 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00382/0.4189, allocations: 1.489 MB / 0.6857 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/0.4221, allocations: 0.5049 MB / 0.6861 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2401/0.6622, allocations: 5.836 MB / 0.6918 GB, free: 128.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.6632, allocations: 1.212 MB / 0.693 GB, free: 128 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001701/0.6649, allocations: 328.8 kB / 0.6933 GB, free: 128 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005856/0.6655, allocations: 170.7 kB / 0.6935 GB, free: 128 MB / 0.5919 GB Notification: Performance of SimCode: time 8.31e-07/0.6655, allocations: 1.031 kB / 0.6935 GB, free: 128 MB / 0.5919 GB Notification: Performance of Templates: time 0.05311/0.7186, allocations: 38.19 MB / 0.7308 GB, free: 104.5 MB / 0.5919 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 ida -lv LOG_STATS > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.512843354954384] Failed to read output from testmodel.py, exit status != 0: 0.7270329489838332 0.735822493 0.56592242 Calling exit ...