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.001844/0.001844, allocations: 88.38 kB / 20.47 MB, free: 1.363 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.002202/0.002202, allocations: 221.9 kB / 23.78 MB, free: 4.508 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.561/1.561, allocations: 207.7 MB / 234.6 MB, free: 9.789 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.6486/0.6486, allocations: 114.2 MB / 401.1 MB, free: 17.19 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.003303/0.003303, allocations: 71.67 kB / 0.5682 GB, free: 42.38 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.218, allocations: 78.63 MB / 0.645 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4): time 0.01694/0.2349, allocations: 11.99 MB / 0.6567 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01396/0.2489, allocations: 6.256 MB / 0.6628 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003804/0.2527, allocations: 95.31 kB / 0.6629 GB, free: 10.98 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.002572/0.2553, allocations: 0.6341 MB / 0.6635 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005333/0.2606, allocations: 1.3 MB / 0.6648 GB, free: 9.031 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.006572/0.2672, allocations: 2.793 MB / 0.6675 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009642/0.2768, allocations: 4.99 MB / 0.6724 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003817/0.2806, allocations: 1.339 MB / 0.6737 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003027/0.2836, allocations: 1.829 MB / 0.6755 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.2861, allocations: 1.928 MB / 0.6774 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008831/0.287, allocations: 0.5586 MB / 0.6779 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.2885, allocations: 0.8357 MB / 0.6787 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009995/0.2895, allocations: 1.063 MB / 0.6798 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001946/0.2914, allocations: 1.64 MB / 0.6814 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008606/0.3, allocations: 6.695 MB / 0.6879 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3, allocations: 0 / 0.6879 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3, allocations: 3.938 kB / 0.6879 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001532/0.3002, allocations: 4 kB / 0.6879 GB, free: 1.238 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.01622/0.3164, allocations: 5.206 MB / 0.693 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.3165, allocations: 8.031 kB / 0.693 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006868/0.3233, allocations: 1.138 MB / 0.6941 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005563/0.3289, allocations: 2.524 MB / 0.6966 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007562/0.3297, allocations: 0.8079 MB / 0.6974 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006936/0.3303, allocations: 280.3 kB / 0.6977 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007949/0.3383, allocations: 3.964 MB / 0.7015 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-05/0.3384, allocations: 7.938 kB / 0.7015 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003247/0.3387, allocations: 120 kB / 0.7017 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.604e-05/0.3387, allocations: 67.94 kB / 0.7017 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006937/0.3457, allocations: 2.979 MB / 0.7046 GB, free: 15.57 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.02213/0.3678, allocations: 10.57 MB / 0.715 GB, free: 4.805 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007355/0.3752, allocations: 3.017 MB / 0.7179 GB, free: 1.781 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002741/0.3779, allocations: 1.265 MB / 0.7191 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.3781, allocations: 42.27 kB / 0.7192 GB, free: 484 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003614/0.3817, allocations: 1.82 MB / 0.721 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=226): time 6.112e-06/0.3817, allocations: 0 / 0.721 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=226): time 0.01331/0.3951, allocations: 4.696 MB / 0.7255 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003596/0.3954, allocations: 0.5932 MB / 0.7261 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004834/0.4002, allocations: 2.502 MB / 0.7286 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006208/0.4009, allocations: 81.69 kB / 0.7286 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001687/0.4026, allocations: 1.446 MB / 0.7301 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00148/0.404, allocations: 0.8098 MB / 0.7308 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001441/0.4055, allocations: 0.6681 MB / 0.7315 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4056, allocations: 301.1 kB / 0.7318 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003544/0.4092, allocations: 1.608 MB / 0.7334 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004505/0.4137, allocations: 2.622 MB / 0.7359 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02724/0.4409, allocations: 8.105 MB / 0.7438 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/0.4409, allocations: 4 kB / 0.7438 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.01213/0.4531, allocations: 4.838 MB / 0.7486 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.354e-05/0.4531, allocations: 58.61 kB / 0.7486 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.4532, allocations: 15.94 kB / 0.7486 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007719/0.4539, allocations: 468.6 kB / 0.7491 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003904/0.4579, allocations: 0.7645 MB / 0.7498 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.706e-05/0.4579, allocations: 31.94 kB / 0.7499 GB, free: 256 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003004/0.4609, allocations: 390 kB / 0.7502 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003001/0.4612, allocations: 124 kB / 0.7503 GB, free: 15.75 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.00499/0.4662, allocations: 2.236 MB / 0.7525 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004225/0.4704, allocations: 2.564 MB / 0.755 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02615/0.4966, allocations: 7.968 MB / 0.7628 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.822e-05/0.4966, allocations: 7.984 kB / 0.7628 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of matching and sorting (n=460) (initialization_lambda0): time 0.01189/0.5085, allocations: 4.732 MB / 0.7674 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.378e-05/0.5086, allocations: 53.72 kB / 0.7675 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.5086, allocations: 8 kB / 0.7675 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007327/0.5093, allocations: 480.5 kB / 0.768 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003812/0.5131, allocations: 0.7489 MB / 0.7687 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.915e-05/0.5132, allocations: 27.94 kB / 0.7687 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/0.5162, allocations: 370.3 kB / 0.7691 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002888/0.5165, allocations: 124 kB / 0.7692 GB, free: 11.9 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.001102/0.5176, allocations: 0.5153 MB / 0.7697 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007881/0.5184, allocations: 314 kB / 0.77 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00944/0.5278, allocations: 3.528 MB / 0.7734 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.101e-05/0.5279, allocations: 11.95 kB / 0.7734 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.5279, allocations: 4 kB / 0.7734 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002025/0.5299, allocations: 0.6769 MB / 0.7741 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004997/0.5304, allocations: 59.98 kB / 0.7742 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/0.5323, allocations: 199.7 kB / 0.7744 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000449/0.5328, allocations: 189.6 kB / 0.7745 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009106/0.5419, allocations: 3.8 MB / 0.7782 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.4018/0.9437, allocations: 5.293 MB / 0.7834 GB, free: 128.4 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002743/0.9464, allocations: 1.416 MB / 0.7848 GB, free: 128.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002476/0.9489, allocations: 1.611 MB / 0.7864 GB, free: 127.5 MB / 0.6075 GB Notification: Performance of Backend: time 8.72e-07/0.9489, allocations: 0.5938 kB / 0.7864 GB, free: 127.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01141/0.9603, allocations: 4.831 MB / 0.7911 GB, free: 125.6 MB / 0.6075 GB Notification: Performance of SimCode: time 0.011/0.9713, allocations: 5.979 MB / 0.7969 GB, free: 122.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.0944/1.066, allocations: 78.47 MB / 0.8736 GB, free: 54.73 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv","/var/lib/jenkins1/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: 9.045017483003903]