Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.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.001479/0.001479, allocations: 108.3 kB / 19.72 MB, free: 2.059 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.001737/0.001737, allocations: 208.2 kB / 23.01 MB, free: 4.879 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.615/1.615, allocations: 207.7 MB / 233.9 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.7344/0.7344, allocations: 114.3 MB / 400.4 MB, free: 17.12 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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.PVVoltageSource4,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.measurements.PPuSnRef|PV.measurements.QPuSnRef|PV.pll.omegaPLLPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.measurements.PPuSnRef|PV.measurements.QPuSnRef|PV.pll.omegaPLLPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4") [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.002673/0.002673, allocations: 75.52 kB / 0.5676 GB, free: 42.34 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1808, allocations: 78.65 MB / 0.6444 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4): time 0.01925/0.2001, allocations: 11.99 MB / 0.6561 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01596/0.216, allocations: 6.264 MB / 0.6622 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0043/0.2203, allocations: 99.31 kB / 0.6623 GB, free: 10.87 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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.003372/0.2237, allocations: 0.6268 MB / 0.6629 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006528/0.2302, allocations: 1.3 MB / 0.6642 GB, free: 8.93 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Photovoltaics/WECC/PVVoltageSource_INIT.mo:67:3-67:99:writable] Warning: In relation Modelica.ComplexMath.'abs'(pVVoltageSource_INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.007648/0.2379, allocations: 2.793 MB / 0.6669 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009197/0.2471, allocations: 4.99 MB / 0.6718 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004121/0.2512, allocations: 1.335 MB / 0.6731 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003984/0.2552, allocations: 1.833 MB / 0.6749 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003576/0.2587, allocations: 1.928 MB / 0.6768 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001742/0.2605, allocations: 0.5547 MB / 0.6773 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.2629, allocations: 0.8318 MB / 0.6781 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001888/0.2647, allocations: 1.075 MB / 0.6792 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003604/0.2683, allocations: 1.632 MB / 0.6808 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.011/0.2793, allocations: 6.699 MB / 0.6873 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.2794, allocations: 0 / 0.6873 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2794, allocations: 3.938 kB / 0.6873 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002576/0.2796, allocations: 0 / 0.6873 GB, free: 1.141 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 687 * Number of variables: 687 Notification: Performance of Generate backend data structure: time 0.01729/0.2969, allocations: 5.212 MB / 0.6924 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.297, allocations: 8.031 kB / 0.6924 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006526/0.3035, allocations: 1.134 MB / 0.6935 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006206/0.3097, allocations: 2.528 MB / 0.696 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007698/0.3105, allocations: 0.808 MB / 0.6968 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009875/0.3114, allocations: 282.8 kB / 0.697 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008679/0.3201, allocations: 3.964 MB / 0.7009 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.782e-05/0.3202, allocations: 3.938 kB / 0.7009 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003406/0.3205, allocations: 116 kB / 0.701 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.499e-05/0.3206, allocations: 71.94 kB / 0.7011 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007496/0.3281, allocations: 2.986 MB / 0.704 GB, free: 15.46 MB / 0.545 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.02321/0.3513, allocations: 10.56 MB / 0.7143 GB, free: 4.711 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007907/0.3592, allocations: 3.024 MB / 0.7173 GB, free: 1.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00298/0.3622, allocations: 1.264 MB / 0.7185 GB, free: 424 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002403/0.3624, allocations: 41.98 kB / 0.7186 GB, free: 384 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003979/0.3664, allocations: 1.817 MB / 0.7203 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=226): time 6.632e-06/0.3664, allocations: 0 / 0.7203 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=226): time 0.01359/0.38, allocations: 4.704 MB / 0.7249 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004343/0.3804, allocations: 0.5972 MB / 0.7255 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004929/0.3854, allocations: 2.502 MB / 0.7279 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007288/0.3861, allocations: 81.77 kB / 0.728 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001809/0.3879, allocations: 1.442 MB / 0.7294 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001561/0.3895, allocations: 0.8137 MB / 0.7302 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/0.3908, allocations: 0.6604 MB / 0.7309 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3909, allocations: 305.1 kB / 0.7312 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00361/0.3946, allocations: 1.612 MB / 0.7327 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004758/0.3993, allocations: 2.614 MB / 0.7353 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02698/0.4263, allocations: 8.109 MB / 0.7432 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.607e-05/0.4263, allocations: 4 kB / 0.7432 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.01316/0.4395, allocations: 4.845 MB / 0.7479 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.229e-05/0.4396, allocations: 53.69 kB / 0.748 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.212e-05/0.4396, allocations: 12 kB / 0.748 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007678/0.4404, allocations: 476.7 kB / 0.7485 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003756/0.4441, allocations: 0.7606 MB / 0.7492 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.096e-05/0.4442, allocations: 35.92 kB / 0.7492 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/0.4473, allocations: 382.1 kB / 0.7496 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003366/0.4476, allocations: 124 kB / 0.7497 GB, free: 15.64 MB / 0.5919 GB Warning: Assuming fixed start value for the following 30 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.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze2.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.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean PV.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real PV.wecc_regc.vSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.vSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_regc.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.X0[1] * PV.wecc_repc.leadLag.a_end 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 PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005365/0.453, allocations: 2.236 MB / 0.7519 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004448/0.4575, allocations: 2.571 MB / 0.7544 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02637/0.4838, allocations: 7.953 MB / 0.7622 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.079e-05/0.4839, allocations: 0 / 0.7622 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of matching and sorting (n=460) (initialization_lambda0): time 0.01498/0.4988, allocations: 4.724 MB / 0.7668 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.4989, allocations: 57.67 kB / 0.7669 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.992e-05/0.499, allocations: 15.98 kB / 0.7669 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000813/0.4998, allocations: 480.6 kB / 0.7673 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003836/0.5036, allocations: 0.7411 MB / 0.7681 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-05/0.5037, allocations: 35.92 kB / 0.7681 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003663/0.5074, allocations: 366.3 kB / 0.7684 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005801/0.5079, allocations: 124 kB / 0.7686 GB, free: 11.81 MB / 0.6075 GB Warning: Assuming fixed start value for the following 30 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.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze2.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.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean PV.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real PV.wecc_regc.vSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.vSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_regc.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.X0[1] * PV.wecc_repc.leadLag.a_end 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 PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.injector.running.value,PV.injector.running.value,$whenCondition10,$whenCondition9,$whenCondition11,$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.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.PV.line.running.value,$PRE.PV.wecc_regc.offDelay.delaySignal,$PRE.PV.wecc_regc.offDelay.tNext,$PRE.PV.source.running.value,PV.wecc_regc.Qinj0PuNeg.k,PV.wecc_regc.QInj0PuPos.k,$PRE.PV.wecc_regc.offDelay.u,PV.wecc_repc.freeze,PV.source.running.value,PV.wecc_regc.and2.y,PV.wecc_regc.and1.y,PV.wecc_regc.and1.u[2],PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.u,PV.line.running.value,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition13,$whenCondition12,$whenCondition14,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.pll.limIntegrator.local_reset,PV.pll.integrator.local_reset,PV.wecc_regc.pIAntiWindupVariableLimits1.integrator.local_reset,PV.wecc_regc.pIAntiWindupVariableLimits.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (435): * Single equations (assignments): 433 * 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.001698/0.5096, allocations: 0.5299 MB / 0.7691 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/0.5109, allocations: 314 kB / 0.7694 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/0.5212, allocations: 3.528 MB / 0.7728 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/0.5212, allocations: 23.94 kB / 0.7728 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-05/0.5212, allocations: 4 kB / 0.7728 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.739e-05/0.5212, allocations: 15.95 kB / 0.7729 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01839/0.5396, allocations: 7.158 MB / 0.7798 GB, free: 132 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/0.5397, allocations: 4 kB / 0.7799 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.4255/0.9652, allocations: 483.9 kB / 0.7803 GB, free: 129.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007113/0.9659, allocations: 461.9 kB / 0.7808 GB, free: 129.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004834/0.9664, allocations: 68.91 kB / 0.7808 GB, free: 129.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-05/0.9664, allocations: 14.97 kB / 0.7808 GB, free: 129.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.9664, allocations: 6.219 kB / 0.7808 GB, free: 129.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/0.9783, allocations: 5.643 MB / 0.7864 GB, free: 128.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/0.9805, allocations: 0.6816 MB / 0.787 GB, free: 128.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005795/0.981, allocations: 64.64 kB / 0.7871 GB, free: 128.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/0.9832, allocations: 191.1 kB / 0.7873 GB, free: 128.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004625/0.9836, allocations: 200 kB / 0.7875 GB, free: 128.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/0.9838, allocations: 80.23 kB / 0.7875 GB, free: 128.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002684/0.9865, allocations: 1.615 MB / 0.7891 GB, free: 127.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.9865, allocations: 0 / 0.7891 GB, free: 127.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004737/0.9912, allocations: 1.475 MB / 0.7905 GB, free: 127.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 25 (PV.wecc_regc.rateLimFirstOrderFreeze2.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.wecc_regc.firstOrder.y,PV.wecc_regc.vSourceRef.firstOrder.y,PV.wecc_regc.vSourceRef.firstOrder1.y,PV.wecc_regc.pIAntiWindupVariableLimits.integrator.y,PV.wecc_regc.pIAntiWindupVariableLimits1.integrator.y,PV.pll.integrator.y,PV.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: 29 ($whenCondition14,$whenCondition12,$whenCondition13,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,line.state,PV.line.running.value,PV.line.state,PV.wecc_regc.offDelay.u,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.and1.u[2],PV.wecc_regc.and1.y,PV.wecc_regc.and2.y,PV.source.running.value,PV.source.state,PV.wecc_repc.freeze,$whenCondition11,$whenCondition9,$whenCondition10,PV.injector.running.value,PV.injector.state) * Number of discrete states: 5 (PV.injector.running.value,PV.source.running.value,PV.line.running.value,line.running.value,PV.wecc_regc.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0006863/0.9919, allocations: 251.3 kB / 0.7908 GB, free: 127.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01482/1.007, allocations: 5.77 MB / 0.7964 GB, free: 125.1 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/1.007, allocations: 1.375 kB / 0.7964 GB, free: 125.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004122/1.011, allocations: 1.626 MB / 0.798 GB, free: 124.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/1.014, allocations: 0.5012 MB / 0.7985 GB, free: 124.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/1.028, allocations: 6.423 MB / 0.8048 GB, free: 121.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/1.029, allocations: 1.327 MB / 0.8061 GB, free: 120.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00235/1.031, allocations: 407.1 kB / 0.8065 GB, free: 120.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006681/1.032, allocations: 193.5 kB / 0.8066 GB, free: 120.8 MB / 0.6075 GB Notification: Performance of SimCode: time 1.072e-06/1.032, allocations: 0 / 0.8066 GB, free: 120.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.06042/1.092, allocations: 45.87 MB / 0.8514 GB, free: 78.06 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.sim & ./Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4 -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.400838389061391]