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.001678/0.001678, allocations: 96.36 kB / 20.46 MB, free: 1.238 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.001925/0.001925, allocations: 222.3 kB / 23.77 MB, free: 4.156 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.556/1.556, allocations: 207.7 MB / 234.6 MB, free: 9.805 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.7239/0.7239, allocations: 114.3 MB / 401.2 MB, free: 17.11 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.002528/0.002528, allocations: 75.91 kB / 0.5683 GB, free: 42.28 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.172, allocations: 78.65 MB / 0.6451 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2): time 0.0179/0.1899, allocations: 11.28 MB / 0.6561 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.2041, allocations: 5.884 MB / 0.6619 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004123/0.2082, allocations: 91.31 kB / 0.662 GB, free: 11.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.003165/0.2114, allocations: 0.588 MB / 0.6625 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006429/0.2178, allocations: 1.164 MB / 0.6637 GB, free: 10.22 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.007547/0.2253, allocations: 2.654 MB / 0.6663 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008619/0.234, allocations: 4.575 MB / 0.6707 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003794/0.2378, allocations: 1.112 MB / 0.6718 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003656/0.2414, allocations: 1.685 MB / 0.6735 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003137/0.2445, allocations: 1.581 MB / 0.675 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001672/0.2462, allocations: 0.5039 MB / 0.6755 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.2485, allocations: 0.7498 MB / 0.6762 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001819/0.2503, allocations: 0.9811 MB / 0.6772 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003556/0.2538, allocations: 1.5 MB / 0.6787 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009277/0.2631, allocations: 6.087 MB / 0.6846 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.2631, allocations: 0 / 0.6846 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.367e-06/0.2631, allocations: 4 kB / 0.6846 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001783/0.2633, allocations: 0 / 0.6846 GB, free: 4.672 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.01829/0.2816, allocations: 4.87 MB / 0.6894 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.758e-05/0.2817, allocations: 8.031 kB / 0.6894 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006749/0.2884, allocations: 1.091 MB / 0.6904 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005848/0.2943, allocations: 2.303 MB / 0.6927 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008196/0.2951, allocations: 0.7879 MB / 0.6935 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008489/0.2959, allocations: 252.3 kB / 0.6937 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007644/0.3036, allocations: 3.588 MB / 0.6972 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.714e-05/0.3036, allocations: 7.938 kB / 0.6972 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000304/0.3039, allocations: 104 kB / 0.6973 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-05/0.304, allocations: 60 kB / 0.6974 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006499/0.3105, allocations: 2.715 MB / 0.7 GB, free: 4.332 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.01976/0.3302, allocations: 9.404 MB / 0.7092 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006986/0.3372, allocations: 2.738 MB / 0.7119 GB, free: 8.023 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002742/0.34, allocations: 1.167 MB / 0.713 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/0.3402, allocations: 33.98 kB / 0.7131 GB, free: 6.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003578/0.3438, allocations: 1.664 MB / 0.7147 GB, free: 5.117 MB / 0.545 GB Notification: Performance of pre-optimization done (n=208): time 5.38e-06/0.3438, allocations: 0 / 0.7147 GB, free: 5.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=208): time 0.01378/0.3576, allocations: 4.407 MB / 0.719 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004951/0.3581, allocations: 0.5759 MB / 0.7195 GB, free: 0 / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005337/0.3634, allocations: 2.352 MB / 0.7218 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009673/0.3644, allocations: 73.7 kB / 0.7219 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001708/0.3661, allocations: 1.316 MB / 0.7232 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001675/0.3678, allocations: 0.74 MB / 0.7239 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001444/0.3692, allocations: 0.6205 MB / 0.7245 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3694, allocations: 301.1 kB / 0.7248 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003363/0.3727, allocations: 1.501 MB / 0.7263 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004448/0.3772, allocations: 2.435 MB / 0.7287 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02704/0.4042, allocations: 7.639 MB / 0.7361 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.693e-05/0.4043, allocations: 11.92 kB / 0.7361 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.01203/0.4163, allocations: 4.543 MB / 0.7406 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.475e-05/0.4164, allocations: 57.67 kB / 0.7406 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/0.4164, allocations: 8 kB / 0.7406 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008468/0.4173, allocations: 473.2 kB / 0.7411 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003525/0.4208, allocations: 0.706 MB / 0.7418 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.037e-05/0.4208, allocations: 35.86 kB / 0.7418 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003033/0.4239, allocations: 350.3 kB / 0.7421 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000279/0.4241, allocations: 112 kB / 0.7422 GB, free: 8.168 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.004934/0.4291, allocations: 2.092 MB / 0.7443 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004121/0.4332, allocations: 2.384 MB / 0.7466 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.025/0.4582, allocations: 7.483 MB / 0.7539 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.705e-05/0.4582, allocations: 4 kB / 0.7539 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=427) (initialization_lambda0): time 0.01157/0.4698, allocations: 4.442 MB / 0.7583 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.64e-05/0.4699, allocations: 61.11 kB / 0.7583 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.4699, allocations: 12.06 kB / 0.7583 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007471/0.4707, allocations: 477.1 kB / 0.7588 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003499/0.4742, allocations: 0.6904 MB / 0.7595 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.015e-05/0.4742, allocations: 31.92 kB / 0.7595 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/0.4771, allocations: 338.5 kB / 0.7598 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002792/0.4774, allocations: 112 kB / 0.7599 GB, free: 5.543 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.001161/0.4786, allocations: 0.4964 MB / 0.7604 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007828/0.4794, allocations: 302 kB / 0.7607 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009019/0.4884, allocations: 3.318 MB / 0.7639 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/0.4884, allocations: 27.92 kB / 0.764 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/0.4884, allocations: 4 kB / 0.764 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-05/0.4885, allocations: 11.97 kB / 0.764 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/0.5043, allocations: 6.614 MB / 0.7704 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/0.5043, allocations: 4 kB / 0.7704 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002962/0.5072, allocations: 443.8 kB / 0.7709 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007402/0.508, allocations: 468.7 kB / 0.7713 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002265/0.5082, allocations: 51.98 kB / 0.7714 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.7e-05/0.5082, allocations: 15.98 kB / 0.7714 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.647e-06/0.5082, allocations: 7.938 kB / 0.7714 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/0.5206, allocations: 5.316 MB / 0.7766 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002005/0.5226, allocations: 0.638 MB / 0.7772 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004649/0.5231, allocations: 63.88 kB / 0.7773 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/0.525, allocations: 179.8 kB / 0.7774 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004979/0.5255, allocations: 193.5 kB / 0.7776 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/0.5257, allocations: 71.97 kB / 0.7777 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002739/0.5284, allocations: 1.515 MB / 0.7792 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5284, allocations: 0 / 0.7792 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003905/0.5324, allocations: 1.372 MB / 0.7805 GB, free: 284 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 23 (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.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 (207): * Single equations (assignments): 196 * 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.0006486/0.533, allocations: 233.5 kB / 0.7807 GB, free: 40 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.351/0.884, allocations: 5.408 MB / 0.786 GB, free: 131 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/0.884, allocations: 0 / 0.786 GB, free: 131 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00355/0.8875, allocations: 1.522 MB / 0.7875 GB, free: 130.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00303/0.8906, allocations: 469.2 kB / 0.7879 GB, free: 130.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.9038, allocations: 5.895 MB / 0.7937 GB, free: 127.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002369/0.9062, allocations: 1.224 MB / 0.7949 GB, free: 127.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002593/0.9088, allocations: 377.9 kB / 0.7953 GB, free: 127.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008148/0.9096, allocations: 176.5 kB / 0.7954 GB, free: 127.1 MB / 0.6075 GB Notification: Performance of SimCode: time 1.353e-06/0.9096, allocations: 3.594 kB / 0.7954 GB, free: 127.1 MB / 0.6075 GB Notification: Performance of Templates: time 0.06497/0.9746, allocations: 43.36 MB / 0.8378 GB, free: 93.68 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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: 7.998979031923227]