Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.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.001905/0.001905, allocations: 100.3 kB / 20.48 MB, free: 1.375 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.002391/0.002391, allocations: 217.7 kB / 23.78 MB, free: 4.539 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.51/1.51, allocations: 207.7 MB / 234.6 MB, free: 9.793 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.6911/0.6911, allocations: 114.2 MB / 401.1 MB, free: 17.22 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.PVVoltageSource2,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.PVVoltageSource2") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,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.PVVoltageSource2") [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.00244/0.00244, allocations: 75.05 kB / 0.5682 GB, free: 42.41 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1369, allocations: 78.63 MB / 0.645 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2): time 0.01561/0.1525, allocations: 11.28 MB / 0.656 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.1657, allocations: 5.876 MB / 0.6618 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003301/0.169, allocations: 87.38 kB / 0.6619 GB, free: 12.13 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.002364/0.1714, allocations: 0.5874 MB / 0.6624 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004831/0.1762, allocations: 1.161 MB / 0.6636 GB, free: 10.37 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.006112/0.1823, allocations: 2.658 MB / 0.6662 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007042/0.1894, allocations: 4.579 MB / 0.6706 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00235/0.1917, allocations: 1.19 MB / 0.6718 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.1944, allocations: 1.685 MB / 0.6734 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/0.1965, allocations: 1.777 MB / 0.6752 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000709/0.1972, allocations: 0.5039 MB / 0.6757 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.1985, allocations: 0.7732 MB / 0.6764 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008731/0.1994, allocations: 0.9773 MB / 0.6774 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.2009, allocations: 1.488 MB / 0.6788 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00728/0.2082, allocations: 6.091 MB / 0.6848 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.2082, allocations: 4 kB / 0.6848 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2082, allocations: 4 kB / 0.6848 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000148/0.2083, allocations: 0 / 0.6848 GB, free: 4.527 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: 618 * Number of variables: 618 Notification: Performance of Generate backend data structure: time 0.01531/0.2236, allocations: 4.863 MB / 0.6895 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.2237, allocations: 8.031 kB / 0.6895 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006178/0.2299, allocations: 1.091 MB / 0.6906 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004867/0.2347, allocations: 2.311 MB / 0.6929 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006915/0.2354, allocations: 0.7801 MB / 0.6936 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000493/0.2359, allocations: 260.3 kB / 0.6939 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006857/0.2428, allocations: 3.584 MB / 0.6974 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.399e-05/0.2428, allocations: 7.938 kB / 0.6974 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002937/0.2431, allocations: 108 kB / 0.6975 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.87e-05/0.2432, allocations: 60 kB / 0.6975 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006118/0.2493, allocations: 2.711 MB / 0.7002 GB, free: 4.191 MB / 0.5294 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.01799/0.2673, allocations: 9.4 MB / 0.7094 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006829/0.2741, allocations: 2.749 MB / 0.712 GB, free: 7.875 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002624/0.2767, allocations: 1.163 MB / 0.7132 GB, free: 6.707 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/0.2769, allocations: 37.98 kB / 0.7132 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003408/0.2804, allocations: 1.656 MB / 0.7148 GB, free: 4.977 MB / 0.545 GB Notification: Performance of pre-optimization done (n=208): time 4.93e-06/0.2804, allocations: 0 / 0.7148 GB, free: 4.977 MB / 0.545 GB Notification: Performance of matching and sorting (n=208): time 0.0128/0.2932, allocations: 4.411 MB / 0.7191 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003629/0.2935, allocations: 0.5681 MB / 0.7197 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004419/0.2979, allocations: 2.348 MB / 0.722 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005001/0.2984, allocations: 81.62 kB / 0.7221 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001361/0.2998, allocations: 1.312 MB / 0.7234 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.3008, allocations: 0.7439 MB / 0.7241 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/0.302, allocations: 0.6205 MB / 0.7247 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3021, allocations: 305.1 kB / 0.725 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003292/0.3054, allocations: 1.501 MB / 0.7264 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004061/0.3094, allocations: 2.439 MB / 0.7288 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02511/0.3346, allocations: 7.632 MB / 0.7363 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/0.3346, allocations: 7.938 kB / 0.7363 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.01115/0.3457, allocations: 4.547 MB / 0.7407 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.784e-05/0.3458, allocations: 57.67 kB / 0.7408 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.3458, allocations: 8 kB / 0.7408 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007632/0.3466, allocations: 473.3 kB / 0.7412 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003458/0.35, allocations: 0.706 MB / 0.7419 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.039e-05/0.3501, allocations: 27.94 kB / 0.742 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/0.3527, allocations: 362.3 kB / 0.7423 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002561/0.353, allocations: 116 kB / 0.7424 GB, free: 8.02 MB / 0.5762 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.004333/0.3573, allocations: 2.087 MB / 0.7445 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00372/0.361, allocations: 2.377 MB / 0.7468 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02494/0.386, allocations: 7.487 MB / 0.7541 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.665e-05/0.386, allocations: 4 kB / 0.7541 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=427) (initialization_lambda0): time 0.01085/0.3968, allocations: 4.446 MB / 0.7584 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.402e-05/0.3969, allocations: 61.11 kB / 0.7585 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.3969, allocations: 8 kB / 0.7585 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007262/0.3977, allocations: 485.1 kB / 0.759 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003476/0.4011, allocations: 0.6826 MB / 0.7596 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.652e-05/0.4012, allocations: 27.94 kB / 0.7597 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/0.404, allocations: 338.5 kB / 0.76 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/0.4043, allocations: 116 kB / 0.7601 GB, free: 5.402 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: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 55 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (401): * Single equations (assignments): 399 * 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.001033/0.4053, allocations: 0.5028 MB / 0.7606 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006329/0.406, allocations: 306 kB / 0.7609 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008598/0.4146, allocations: 3.307 MB / 0.7641 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.841e-05/0.4146, allocations: 15.89 kB / 0.7641 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/0.4146, allocations: 0 / 0.7641 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/0.4162, allocations: 0.6419 MB / 0.7647 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000387/0.4166, allocations: 59.98 kB / 0.7648 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/0.4183, allocations: 179.8 kB / 0.765 GB, free: 388 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004274/0.4187, allocations: 177.6 kB / 0.7651 GB, free: 208 kB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008461/0.4272, allocations: 3.589 MB / 0.7686 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009741/0.4369, allocations: 4.954 MB / 0.7735 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002831/0.4398, allocations: 1.311 MB / 0.7748 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0029/0.4427, allocations: 1.523 MB / 0.7762 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of Backend: time 7.01e-07/0.4427, allocations: 0 / 0.7762 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01256/0.4552, allocations: 4.532 MB / 0.7807 GB, free: 216 kB / 0.6075 GB Notification: Performance of SimCode: time 0.3529/0.8081, allocations: 5.507 MB / 0.786 GB, free: 129 MB / 0.6075 GB Notification: Performance of Templates: time 0.09715/0.9053, allocations: 73.81 MB / 0.8581 GB, free: 72.15 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.sim & ./Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2 -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.PVVoltageSource2.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.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.644484258999]