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.002434/0.002434, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.003695/0.003695, allocations: 207.9 kB / 23.01 MB, free: 4.992 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.62/1.62, allocations: 207.7 MB / 233.9 MB, free: 9.801 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.6455/0.6455, allocations: 118.1 MB / 404.2 MB, free: 14.32 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.measurements.UPu",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.measurements.UPu",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.00342/0.00342, allocations: 74.16 kB / 0.5732 GB, free: 40.2 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1858, allocations: 79.62 MB / 0.651 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4): time 0.01713/0.2029, allocations: 12 MB / 0.6627 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01534/0.2182, allocations: 6.264 MB / 0.6688 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005872/0.2241, allocations: 95.31 kB / 0.6689 GB, free: 4.734 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.004184/0.2283, allocations: 0.6346 MB / 0.6695 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007763/0.236, allocations: 1.293 MB / 0.6708 GB, free: 2.793 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.009838/0.2459, allocations: 2.79 MB / 0.6735 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01102/0.2569, allocations: 4.99 MB / 0.6784 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00511/0.262, allocations: 1.245 MB / 0.6796 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004798/0.2668, allocations: 1.825 MB / 0.6814 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004409/0.2712, allocations: 1.713 MB / 0.683 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002011/0.2732, allocations: 0.5586 MB / 0.6836 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003046/0.2763, allocations: 0.8201 MB / 0.6844 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002229/0.2785, allocations: 1.063 MB / 0.6854 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003991/0.2825, allocations: 1.64 MB / 0.687 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0138/0.2963, allocations: 6.702 MB / 0.6936 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.2963, allocations: 0 / 0.6936 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2963, allocations: 0 / 0.6936 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001904/0.2965, allocations: 0 / 0.6936 GB, free: 11.33 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 686 * Number of variables: 686 Notification: Performance of Generate backend data structure: time 0.01735/0.3139, allocations: 5.202 MB / 0.6987 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.3139, allocations: 20.02 kB / 0.6987 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006708/0.3206, allocations: 1.138 MB / 0.6998 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005413/0.326, allocations: 2.516 MB / 0.7022 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009193/0.3269, allocations: 0.8119 MB / 0.703 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001211/0.3282, allocations: 292.2 kB / 0.7033 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00923/0.3374, allocations: 3.948 MB / 0.7072 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.382e-05/0.3374, allocations: 11.94 kB / 0.7072 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003145/0.3378, allocations: 120 kB / 0.7073 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.504e-05/0.3378, allocations: 68 kB / 0.7074 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006825/0.3446, allocations: 2.978 MB / 0.7103 GB, free: 9.664 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.02015/0.3648, allocations: 10.57 MB / 0.7206 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007527/0.3723, allocations: 3.02 MB / 0.7235 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002942/0.3753, allocations: 1.267 MB / 0.7248 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/0.3755, allocations: 37.98 kB / 0.7248 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003651/0.3791, allocations: 1.817 MB / 0.7266 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=226): time 5.28e-06/0.3791, allocations: 0 / 0.7266 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of matching and sorting (n=226): time 0.01296/0.3921, allocations: 4.693 MB / 0.7312 GB, free: 4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003828/0.3925, allocations: 0.601 MB / 0.7318 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005537/0.398, allocations: 2.506 MB / 0.7342 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006618/0.3987, allocations: 81.69 kB / 0.7343 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00209/0.4008, allocations: 1.434 MB / 0.7357 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001535/0.4023, allocations: 0.8098 MB / 0.7365 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002393/0.4047, allocations: 0.6681 MB / 0.7371 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4048, allocations: 305.1 kB / 0.7374 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003809/0.4087, allocations: 1.608 MB / 0.739 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00464/0.4133, allocations: 2.626 MB / 0.7416 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02695/0.4402, allocations: 8.101 MB / 0.7495 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.95e-05/0.4403, allocations: 4 kB / 0.7495 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.01484/0.4551, allocations: 4.837 MB / 0.7542 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.651e-05/0.4552, allocations: 57.67 kB / 0.7543 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/0.4552, allocations: 8 kB / 0.7543 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008079/0.456, allocations: 473.4 kB / 0.7547 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004966/0.461, allocations: 0.7606 MB / 0.7555 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001349/0.4611, allocations: 31.94 kB / 0.7555 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005231/0.4664, allocations: 390 kB / 0.7559 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/0.4676, allocations: 128 kB / 0.756 GB, free: 9.844 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.007528/0.4751, allocations: 2.234 MB / 0.7582 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005599/0.4807, allocations: 2.571 MB / 0.7607 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02896/0.5097, allocations: 7.956 MB / 0.7684 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.907e-05/0.5097, allocations: 8 kB / 0.7684 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=460) (initialization_lambda0): time 0.01525/0.5249, allocations: 4.728 MB / 0.7731 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.5251, allocations: 57.67 kB / 0.7731 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.215e-05/0.5251, allocations: 12 kB / 0.7731 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008278/0.5259, allocations: 481.4 kB / 0.7736 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004073/0.53, allocations: 0.7411 MB / 0.7743 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.86e-05/0.5301, allocations: 35.91 kB / 0.7743 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003694/0.5338, allocations: 362.3 kB / 0.7747 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006601/0.5345, allocations: 124 kB / 0.7748 GB, free: 6.012 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.001806/0.5363, allocations: 0.5212 MB / 0.7753 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/0.5376, allocations: 318 kB / 0.7756 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/0.5482, allocations: 3.524 MB / 0.7791 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.93e-05/0.5482, allocations: 27.98 kB / 0.7791 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.323e-05/0.5482, allocations: 8 kB / 0.7791 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.073e-05/0.5483, allocations: 7.969 kB / 0.7791 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4698/1.018, allocations: 7.165 MB / 0.7861 GB, free: 123.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/1.018, allocations: 3.594 kB / 0.7861 GB, free: 123.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002766/1.021, allocations: 488.1 kB / 0.7866 GB, free: 123.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005919/1.021, allocations: 462.4 kB / 0.787 GB, free: 123.1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000249/1.022, allocations: 65.59 kB / 0.7871 GB, free: 123 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.717e-05/1.022, allocations: 12.31 kB / 0.7871 GB, free: 123 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/1.022, allocations: 8 kB / 0.7871 GB, free: 123 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/1.034, allocations: 5.643 MB / 0.7926 GB, free: 120.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002437/1.036, allocations: 0.6818 MB / 0.7933 GB, free: 120.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007339/1.037, allocations: 64.64 kB / 0.7933 GB, free: 120.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002229/1.039, allocations: 192.3 kB / 0.7935 GB, free: 120.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000534/1.04, allocations: 196.3 kB / 0.7937 GB, free: 120.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/1.04, allocations: 75.09 kB / 0.7938 GB, free: 120.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003136/1.043, allocations: 1.621 MB / 0.7954 GB, free: 119.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/1.043, allocations: 0 / 0.7954 GB, free: 119.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005831/1.049, allocations: 1.471 MB / 0.7968 GB, free: 119.4 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 25 (PV.wecc_regc.rateLimFirstOrderFreeze2.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.wecc_regc.firstOrder.y,PV.wecc_regc.vSourceRef.firstOrder.y,PV.wecc_regc.vSourceRef.firstOrder1.y,PV.wecc_regc.pIAntiWindupVariableLimits.integrator.y,PV.wecc_regc.pIAntiWindupVariableLimits1.integrator.y,PV.pll.integrator.y,PV.pll.limIntegrator.y,PV.wecc_repc.firstOrder.y,PV.wecc_repc.limPID.I.y,PV.wecc_repc.firstOrder1.y,PV.wecc_repc.firstOrder2.y,PV.wecc_repc.firstOrder3.y,PV.wecc_repc.limPIDFreeze.I.y,PV.wecc_repc.leadLag.x_scaled[1],PV.wecc_reec.firstOrder.y,PV.wecc_reec.firstOrder1.y,PV.wecc_reec.limPIDFreeze.I.y,PV.wecc_reec.varLimPIDFreeze.I.y,PV.wecc_reec.rateLimFirstOrderFreeze1.y,PV.wecc_reec.slewRateLimiter.y,PV.wecc_reec.rateLimFirstOrderFreeze.y,PV.wecc_reec.firstOrder2.y,PV.wecc_reec.firstOrder3.y) * Number of discrete variables: 29 ($whenCondition14,$whenCondition12,$whenCondition13,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,line.state,PV.line.running.value,PV.line.state,PV.wecc_regc.offDelay.u,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.and1.u[2],PV.wecc_regc.and1.y,PV.wecc_regc.and2.y,PV.source.running.value,PV.source.state,PV.wecc_repc.freeze,$whenCondition11,$whenCondition9,$whenCondition10,PV.injector.running.value,PV.injector.state) * Number of discrete states: 5 (PV.injector.running.value,PV.source.running.value,PV.line.running.value,line.running.value,PV.wecc_regc.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(12,41.7%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007238/1.05, allocations: 251 kB / 0.797 GB, free: 119.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01443/1.064, allocations: 5.778 MB / 0.8027 GB, free: 116.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.098e-05/1.064, allocations: 3.547 kB / 0.8027 GB, free: 116.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004099/1.068, allocations: 1.626 MB / 0.8043 GB, free: 116.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/1.072, allocations: 0.4979 MB / 0.8048 GB, free: 116.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/1.084, allocations: 6.439 MB / 0.811 GB, free: 112.9 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/1.086, allocations: 1.323 MB / 0.8123 GB, free: 112.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002404/1.088, allocations: 409.7 kB / 0.8127 GB, free: 112.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000656/1.089, allocations: 191.1 kB / 0.8129 GB, free: 112.5 MB / 0.6075 GB Notification: Performance of SimCode: time 2.024e-06/1.089, allocations: 0 / 0.8129 GB, free: 112.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.06362/1.152, allocations: 45.22 MB / 0.8571 GB, free: 68.5 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.sim & ./Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4 -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.49768079817295]