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.002127/0.002127, allocations: 96.36 kB / 20.46 MB, free: 1.367 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.002583/0.002583, allocations: 219.4 kB / 23.77 MB, free: 4.52 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.74/1.74, allocations: 207.7 MB / 234.6 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.7206/0.7206, allocations: 115.8 MB / 402.6 MB, free: 16.04 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.003047/0.003047, allocations: 67.56 kB / 0.5704 GB, free: 41.43 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2038, allocations: 79.02 MB / 0.6476 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4): time 0.01839/0.2222, allocations: 11.98 MB / 0.6593 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01542/0.2376, allocations: 6.275 MB / 0.6654 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00486/0.2424, allocations: 91.38 kB / 0.6655 GB, free: 8.613 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.003475/0.2459, allocations: 0.6299 MB / 0.6661 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006983/0.2529, allocations: 1.3 MB / 0.6674 GB, free: 6.672 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.007653/0.2606, allocations: 2.784 MB / 0.6701 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008865/0.2694, allocations: 4.99 MB / 0.675 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00405/0.2735, allocations: 1.253 MB / 0.6762 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003972/0.2774, allocations: 1.821 MB / 0.678 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003583/0.281, allocations: 1.713 MB / 0.6797 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00191/0.2829, allocations: 0.5586 MB / 0.6802 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/0.2856, allocations: 0.824 MB / 0.681 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002132/0.2877, allocations: 1.063 MB / 0.682 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00396/0.2917, allocations: 1.632 MB / 0.6836 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00919/0.3009, allocations: 6.702 MB / 0.6902 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3009, allocations: 0 / 0.6902 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3009, allocations: 0 / 0.6902 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001145/0.301, allocations: 0 / 0.6902 GB, free: 15.22 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.01519/0.3162, allocations: 5.206 MB / 0.6953 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.3163, allocations: 15.89 kB / 0.6953 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005981/0.3222, allocations: 1.138 MB / 0.6964 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00485/0.3271, allocations: 2.524 MB / 0.6989 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007863/0.3279, allocations: 0.808 MB / 0.6997 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004854/0.3284, allocations: 280.3 kB / 0.6999 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007417/0.3358, allocations: 3.96 MB / 0.7038 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.662e-05/0.3358, allocations: 11.88 kB / 0.7038 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002836/0.3361, allocations: 120 kB / 0.7039 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-05/0.3362, allocations: 68 kB / 0.704 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006833/0.343, allocations: 2.975 MB / 0.7069 GB, free: 13.55 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.02065/0.3637, allocations: 10.56 MB / 0.7172 GB, free: 2.789 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007477/0.3711, allocations: 3.024 MB / 0.7201 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00303/0.3742, allocations: 1.265 MB / 0.7214 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001942/0.3744, allocations: 37.98 kB / 0.7214 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003676/0.378, allocations: 1.817 MB / 0.7232 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=226): time 4.98e-06/0.3781, allocations: 0 / 0.7232 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=226): time 0.01328/0.3913, allocations: 4.689 MB / 0.7278 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005114/0.3918, allocations: 0.6011 MB / 0.7284 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004551/0.3964, allocations: 2.514 MB / 0.7308 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002638/0.3967, allocations: 77.7 kB / 0.7309 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001944/0.3986, allocations: 1.438 MB / 0.7323 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001127/0.3997, allocations: 0.8175 MB / 0.7331 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.401, allocations: 0.6681 MB / 0.7337 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4011, allocations: 301.1 kB / 0.734 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003586/0.4047, allocations: 1.609 MB / 0.7356 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004578/0.4093, allocations: 2.614 MB / 0.7382 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0248/0.4341, allocations: 8.105 MB / 0.7461 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-05/0.4341, allocations: 4 kB / 0.7461 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.01217/0.4463, allocations: 4.838 MB / 0.7508 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.061e-05/0.4464, allocations: 57.72 kB / 0.7509 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-05/0.4464, allocations: 8 kB / 0.7509 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008512/0.4472, allocations: 476.6 kB / 0.7513 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003659/0.4509, allocations: 0.7567 MB / 0.7521 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.444e-05/0.451, allocations: 35.92 kB / 0.7521 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003342/0.4543, allocations: 390 kB / 0.7525 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004433/0.4548, allocations: 124 kB / 0.7526 GB, free: 13.73 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.005836/0.4606, allocations: 2.245 MB / 0.7548 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004801/0.4654, allocations: 2.571 MB / 0.7573 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02697/0.4924, allocations: 7.949 MB / 0.765 GB, free: 484 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.162e-05/0.4924, allocations: 4 kB / 0.765 GB, free: 480 kB / 0.5919 GB Notification: Performance of matching and sorting (n=460) (initialization_lambda0): time 0.01422/0.5066, allocations: 4.74 MB / 0.7697 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-05/0.5067, allocations: 61.67 kB / 0.7697 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.5068, allocations: 12 kB / 0.7697 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008017/0.5076, allocations: 472.6 kB / 0.7702 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003887/0.5114, allocations: 0.7372 MB / 0.7709 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.616e-05/0.5115, allocations: 31.92 kB / 0.7709 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004128/0.5157, allocations: 370.3 kB / 0.7713 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007882/0.5164, allocations: 124 kB / 0.7714 GB, free: 9.891 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.001898/0.5183, allocations: 0.514 MB / 0.7719 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/0.5197, allocations: 322 kB / 0.7722 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/0.5304, allocations: 3.524 MB / 0.7757 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.186e-05/0.5304, allocations: 24 kB / 0.7757 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-05/0.5304, allocations: 4 kB / 0.7757 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.138e-05/0.5305, allocations: 11.95 kB / 0.7757 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4571/0.9876, allocations: 7.17 MB / 0.7827 GB, free: 127.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/0.9876, allocations: 3.719 kB / 0.7827 GB, free: 127.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003176/0.9908, allocations: 485.9 kB / 0.7832 GB, free: 127.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006253/0.9914, allocations: 470.2 kB / 0.7836 GB, free: 127.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002688/0.9917, allocations: 60.25 kB / 0.7837 GB, free: 127.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-05/0.9917, allocations: 13.38 kB / 0.7837 GB, free: 127.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.9917, allocations: 3.438 kB / 0.7837 GB, free: 127.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/1.003, allocations: 5.651 MB / 0.7892 GB, free: 125.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002115/1.006, allocations: 0.6764 MB / 0.7899 GB, free: 125.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004453/1.006, allocations: 63.56 kB / 0.7899 GB, free: 125.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002005/1.008, allocations: 193.2 kB / 0.7901 GB, free: 125.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004979/1.009, allocations: 198.4 kB / 0.7903 GB, free: 125.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001979/1.009, allocations: 81.59 kB / 0.7904 GB, free: 125.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003037/1.012, allocations: 1.612 MB / 0.792 GB, free: 124.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/1.012, allocations: 0 / 0.792 GB, free: 124.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005341/1.017, allocations: 1.475 MB / 0.7934 GB, free: 124.3 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.0007397/1.018, allocations: 245 kB / 0.7936 GB, free: 124.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01443/1.032, allocations: 5.82 MB / 0.7993 GB, free: 121.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/1.032, allocations: 2.281 kB / 0.7993 GB, free: 121.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003942/1.036, allocations: 1.637 MB / 0.8009 GB, free: 121.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/1.039, allocations: 0.5035 MB / 0.8014 GB, free: 121 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/1.051, allocations: 6.501 MB / 0.8078 GB, free: 117.8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/1.052, allocations: 1.32 MB / 0.8091 GB, free: 117.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/1.054, allocations: 213.3 kB / 0.8093 GB, free: 117.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.503e-06/1.054, allocations: 0 / 0.8093 GB, free: 117.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.07097/1.125, allocations: 63.11 MB / 0.8709 GB, free: 57.12 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.sim & ./Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4 -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,PV.measurements.PPuSnRef,PV.measurements.QPuSnRef,PV.measurements.UPu Variables in the result:PV.measurements.PPuSnRef,PV.measurements.QPuSnRef,PV.measurements.UPu,time [Calling sys.exit(0), Time elapsed: 14.863880852703005]