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.001755/0.001755, allocations: 77.05 kB / 19.96 MB, free: 1.75 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.00217/0.00217, allocations: 171.1 kB / 23.24 MB, free: 4.867 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.379/1.379, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.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.4455/0.4455, allocations: 76.92 MB / 314.2 MB, free: 7.977 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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 3.938 kB / 489.7 MB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.829e-05, allocations: 6.281 kB / 489.7 MB, free: 15.42 MB / 414.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.01717/0.01719, allocations: 10.91 MB / 0.4889 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01524/0.03243, allocations: 5.895 MB / 0.4947 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004918/0.03735, allocations: 91.94 kB / 0.4948 GB, free: 3.582 MB / 414.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.003639/0.04099, allocations: 0.5807 MB / 0.4953 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007697/0.04869, allocations: 1.165 MB / 0.4965 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008134/0.05682, allocations: 2.695 MB / 0.4991 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008824/0.06565, allocations: 4.542 MB / 0.5035 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003725/0.06937, allocations: 1.116 MB / 0.5046 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003548/0.07292, allocations: 1.526 MB / 0.5061 GB, free: 11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002658/0.07558, allocations: 1.259 MB / 0.5073 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001523/0.0771, allocations: 500 kB / 0.5078 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.07923, allocations: 0.7106 MB / 0.5085 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001504/0.08073, allocations: 0.9692 MB / 0.5095 GB, free: 7.582 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003024/0.08376, allocations: 1.2 MB / 0.5106 GB, free: 6.379 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.09447, allocations: 6.115 MB / 0.5166 GB, free: 252 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.09448, allocations: 3.938 kB / 0.5166 GB, free: 248 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.09448, allocations: 0 / 0.5166 GB, free: 248 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000184/0.09467, allocations: 0 / 0.5166 GB, free: 248 kB / 430.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.01635/0.111, allocations: 4.582 MB / 0.5211 GB, free: 11.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.1111, allocations: 8.031 kB / 0.5211 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007347/0.1184, allocations: 1.064 MB / 0.5221 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006445/0.1249, allocations: 2.35 MB / 0.5244 GB, free: 8.105 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007892/0.1256, allocations: 0.7259 MB / 0.5251 GB, free: 7.254 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001118/0.1268, allocations: 248.3 kB / 0.5254 GB, free: 7.012 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/0.1371, allocations: 3.614 MB / 0.5289 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-05/0.1372, allocations: 7.938 kB / 0.5289 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000664/0.1379, allocations: 104 kB / 0.529 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.566e-05/0.1379, allocations: 60 kB / 0.5291 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007839/0.1458, allocations: 2.611 MB / 0.5316 GB, free: 300 kB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0217/0.1675, allocations: 9.601 MB / 0.541 GB, free: 6.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008812/0.1763, allocations: 2.852 MB / 0.5438 GB, free: 3.668 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00321/0.1795, allocations: 1.16 MB / 0.5449 GB, free: 2.496 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.1797, allocations: 22 kB / 0.5449 GB, free: 2.473 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004483/0.1842, allocations: 1.767 MB / 0.5467 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of pre-optimization done (n=197): time 6.051e-06/0.1842, allocations: 0 / 0.5467 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of matching and sorting (n=197): time 0.01537/0.1995, allocations: 4.425 MB / 0.551 GB, free: 12.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005112/0.2001, allocations: 0.5391 MB / 0.5515 GB, free: 11.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007223/0.2073, allocations: 2.245 MB / 0.5537 GB, free: 9.262 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001155/0.2084, allocations: 73.69 kB / 0.5538 GB, free: 9.184 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002632/0.2111, allocations: 1.387 MB / 0.5551 GB, free: 7.789 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001932/0.213, allocations: 0.6817 MB / 0.5558 GB, free: 7.102 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001846/0.2148, allocations: 387.7 kB / 0.5562 GB, free: 6.715 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.215, allocations: 301.1 kB / 0.5564 GB, free: 6.418 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003463/0.2185, allocations: 1.151 MB / 0.5576 GB, free: 5.258 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004341/0.2228, allocations: 2.095 MB / 0.5596 GB, free: 2.855 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02265/0.2455, allocations: 6.146 MB / 0.5656 GB, free: 12.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.321e-05/0.2455, allocations: 8 kB / 0.5656 GB, free: 12.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01212/0.2576, allocations: 3.643 MB / 0.5692 GB, free: 8.852 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.264e-05/0.2577, allocations: 41.64 kB / 0.5692 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/0.2577, allocations: 15.94 kB / 0.5692 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008538/0.2586, allocations: 469 kB / 0.5697 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003172/0.2617, allocations: 0.511 MB / 0.5702 GB, free: 7.816 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.114e-05/0.2618, allocations: 31.86 kB / 0.5702 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002832/0.2646, allocations: 302.6 kB / 0.5705 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003428/0.265, allocations: 79.98 kB / 0.5706 GB, free: 7.41 MB / 494.1 MB Warning: Assuming fixed start value for the following 27 variables: PV.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.injector.running.value:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) type: Boolean PV.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean PV.line.running.value:DISCRETE(flow=false start = PV.line.Running0 fixed = true ) type: Boolean PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.VSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.VSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.VSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.VSourceRef.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.source.running.value:DISCRETE(flow=false start = PV.source.Running0 fixed = true ) type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.a_end * PV.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004762/0.2697, allocations: 1.721 MB / 0.5723 GB, free: 5.688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003979/0.2737, allocations: 2.041 MB / 0.5742 GB, free: 3.336 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02179/0.2955, allocations: 5.998 MB / 0.5801 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.938e-05/0.2955, allocations: 0 / 0.5801 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.01199/0.3075, allocations: 3.541 MB / 0.5836 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.3076, allocations: 45.88 kB / 0.5836 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.3076, allocations: 8 kB / 0.5836 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007853/0.3084, allocations: 476.6 kB / 0.5841 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003011/0.3114, allocations: 0.4914 MB / 0.5846 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.533e-05/0.3115, allocations: 27.94 kB / 0.5846 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003084/0.3145, allocations: 298.8 kB / 0.5849 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000396/0.3149, allocations: 79.98 kB / 0.5849 GB, free: 8.176 MB / 0.4981 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.001396/0.3163, allocations: 492.5 kB / 0.5854 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/0.3175, allocations: 294.2 kB / 0.5857 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/0.3282, allocations: 3.35 MB / 0.589 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/0.3282, allocations: 24 kB / 0.589 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.91e-05/0.3282, allocations: 7.938 kB / 0.589 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.737e-05/0.3283, allocations: 7.969 kB / 0.589 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/0.345, allocations: 6.11 MB / 0.595 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.345, allocations: 7.984 kB / 0.595 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003177/0.3482, allocations: 439.4 kB / 0.5954 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008667/0.3491, allocations: 456.6 kB / 0.5958 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003166/0.3494, allocations: 51.97 kB / 0.5959 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.956e-05/0.3494, allocations: 8 kB / 0.5959 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.3494, allocations: 3.938 kB / 0.5959 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01418/0.3636, allocations: 5.142 MB / 0.6009 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001988/0.3656, allocations: 0.6147 MB / 0.6015 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007969/0.3664, allocations: 56 kB / 0.6016 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002507/0.3689, allocations: 187.9 kB / 0.6017 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000579/0.3695, allocations: 173.6 kB / 0.6019 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002538/0.3697, allocations: 71.91 kB / 0.602 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003764/0.3735, allocations: 1.493 MB / 0.6034 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3735, allocations: 0 / 0.6034 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00455/0.378, allocations: 1.141 MB / 0.6045 GB, free: 3.938 MB / 0.5137 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.0008127/0.3789, allocations: 237.4 kB / 0.6048 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01244/0.3913, allocations: 4.407 MB / 0.6091 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.3913, allocations: 4 kB / 0.6091 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004074/0.3954, allocations: 1.49 MB / 0.6105 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004119/0.3995, allocations: 0.5161 MB / 0.611 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/0.4156, allocations: 5.711 MB / 0.6166 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002193/0.4178, allocations: 1.214 MB / 0.6178 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002646/0.4204, allocations: 324.7 kB / 0.6181 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.4214, allocations: 176.4 kB / 0.6183 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of SimCode: time 1.292e-06/0.4214, allocations: 0 / 0.6183 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of Templates: time 0.0764/0.4978, allocations: 37.98 MB / 0.6554 GB, free: 15.91 MB / 0.5762 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 -lv LOG_STATS > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.793533895164728] Failed to read output from testmodel.py, exit status != 0: 0.5093438550829887 0.525300226 0.42716189400000004 Calling exit ...