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.00133/0.00133, allocations: 100.3 kB / 20.5 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.0015/0.0015, allocations: 214.5 kB / 23.8 MB, free: 4.535 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.695/1.695, allocations: 207.7 MB / 234.6 MB, free: 9.809 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.6574/0.6574, allocations: 113.7 MB / 400.6 MB, free: 17.45 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: "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource2",fmuType="cs",version="2.0",platforms={"static"}) [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.002515/0.002515, allocations: 72.98 kB / 0.567 GB, free: 42.77 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1853, allocations: 78.52 MB / 0.6437 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2): time 0.01808/0.2034, allocations: 11.24 MB / 0.6546 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.2172, allocations: 5.841 MB / 0.6603 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004149/0.2214, allocations: 91.38 kB / 0.6604 GB, free: 13.57 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.003124/0.2245, allocations: 0.5836 MB / 0.661 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006091/0.2306, allocations: 1.149 MB / 0.6621 GB, free: 11.82 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.007321/0.2379, allocations: 2.664 MB / 0.6647 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008137/0.246, allocations: 4.548 MB / 0.6692 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003538/0.2496, allocations: 1.19 MB / 0.6703 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00346/0.253, allocations: 1.677 MB / 0.672 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003174/0.2562, allocations: 1.761 MB / 0.6737 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001653/0.2579, allocations: 0.5 MB / 0.6742 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.2602, allocations: 0.7732 MB / 0.6749 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001691/0.2619, allocations: 0.9694 MB / 0.6759 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003324/0.2653, allocations: 1.485 MB / 0.6773 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.2765, allocations: 6.068 MB / 0.6833 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.2765, allocations: 0 / 0.6833 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.965e-06/0.2765, allocations: 0 / 0.6833 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002506/0.2767, allocations: 0 / 0.6833 GB, free: 6.074 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.01777/0.2945, allocations: 4.882 MB / 0.688 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.2946, allocations: 12.03 kB / 0.688 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.94e-05/0.2947, allocations: 68.95 kB / 0.6881 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001211/0.2959, allocations: 345.9 kB / 0.6884 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006717/0.3026, allocations: 1.091 MB / 0.6895 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006122/0.3087, allocations: 2.284 MB / 0.6917 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008303/0.3096, allocations: 0.7879 MB / 0.6925 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/0.3106, allocations: 260.1 kB / 0.6927 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009515/0.3201, allocations: 3.609 MB / 0.6963 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.338e-05/0.3202, allocations: 7.938 kB / 0.6963 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006095/0.3208, allocations: 112 kB / 0.6964 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.761e-05/0.3208, allocations: 60 kB / 0.6964 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006865/0.3277, allocations: 2.756 MB / 0.6991 GB, free: 5.23 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.02055/0.3483, allocations: 9.754 MB / 0.7087 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007359/0.3556, allocations: 2.755 MB / 0.7113 GB, free: 8.535 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00291/0.3585, allocations: 1.196 MB / 0.7125 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.3588, allocations: 41.92 kB / 0.7126 GB, free: 7.289 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003819/0.3626, allocations: 1.756 MB / 0.7143 GB, free: 5.469 MB / 0.545 GB Notification: Performance of pre-optimization done (n=208): time 8.226e-06/0.3626, allocations: 4 kB / 0.7143 GB, free: 5.465 MB / 0.545 GB Notification: Performance of matching and sorting (n=208): time 0.01355/0.3761, allocations: 4.545 MB / 0.7187 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003753/0.3765, allocations: 0.5932 MB / 0.7193 GB, free: 172 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00679/0.3833, allocations: 2.658 MB / 0.7219 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007296/0.384, allocations: 77.69 kB / 0.722 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001868/0.3859, allocations: 1.294 MB / 0.7232 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001552/0.3875, allocations: 0.7517 MB / 0.724 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002431/0.3899, allocations: 0.6441 MB / 0.7246 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.39, allocations: 305.1 kB / 0.7249 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003283/0.3933, allocations: 1.551 MB / 0.7264 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003991/0.3973, allocations: 2.485 MB / 0.7288 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02494/0.4222, allocations: 7.806 MB / 0.7364 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-05/0.4223, allocations: 0 / 0.7364 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=440) (initialization): time 0.01289/0.4352, allocations: 4.686 MB / 0.741 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.4353, allocations: 88.97 kB / 0.7411 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/0.4353, allocations: 12 kB / 0.7411 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007842/0.4361, allocations: 472.6 kB / 0.7416 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003641/0.4397, allocations: 0.7216 MB / 0.7423 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.76e-05/0.4398, allocations: 35.91 kB / 0.7423 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003163/0.443, allocations: 401.8 kB / 0.7427 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004992/0.4435, allocations: 124 kB / 0.7428 GB, free: 7.457 MB / 0.5762 GB Warning: Assuming fixed start value for the following 27 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.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.a_end * PV.wecc_repc.leadLag.x_start[1] 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 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005179/0.4486, allocations: 2.131 MB / 0.7449 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004255/0.4529, allocations: 2.43 MB / 0.7473 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02492/0.4778, allocations: 7.65 MB / 0.7547 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.361e-05/0.4778, allocations: 3.938 kB / 0.7547 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=440) (initialization_lambda0): time 0.01213/0.49, allocations: 4.592 MB / 0.7592 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.4901, allocations: 86.66 kB / 0.7593 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.4901, allocations: 8 kB / 0.7593 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007738/0.4909, allocations: 477.3 kB / 0.7598 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003484/0.4944, allocations: 0.7021 MB / 0.7605 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-05/0.4944, allocations: 31.92 kB / 0.7605 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/0.4976, allocations: 338.5 kB / 0.7608 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004291/0.498, allocations: 120 kB / 0.7609 GB, free: 4.336 MB / 0.5919 GB Warning: Assuming fixed start value for the following 27 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.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.a_end * PV.wecc_repc.leadLag.x_start[1] 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.injector.running.value,PV.injector.running.value,$whenCondition8,$whenCondition7,$whenCondition9,$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.source.running.value,PV.wecc_regc.QInj0PuPos.k,PV.wecc_regc.and1.u[1],PV.wecc_regc.QInj0PuPos.y,PV.wecc_regc.Qinj0PuNeg.k,PV.wecc_regc.and2.u[2],PV.wecc_regc.Qinj0PuNeg.y,PV.wecc_reec.frtOn,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.line.running.value,line.running.value,$whenCondition14,$whenCondition13,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition11,$whenCondition10,$whenCondition12,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 (411): * Single equations (assignments): 408 * Array equations: 0 * Algorithm blocks: 2 * 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.001334/0.4993, allocations: 0.538 MB / 0.7614 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/0.5004, allocations: 325.9 kB / 0.7618 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009169/0.5095, allocations: 3.419 MB / 0.7651 GB, free: 28 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/0.5096, allocations: 20 kB / 0.7651 GB, free: 8 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.498e-05/0.5096, allocations: 8 kB / 0.7651 GB, free: 0 / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.597e-05/0.5096, allocations: 16.02 kB / 0.7651 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01605/0.5257, allocations: 7.079 MB / 0.772 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/0.5257, allocations: 4 kB / 0.7721 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002767/0.5285, allocations: 451.6 kB / 0.7725 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000709/0.5292, allocations: 456.7 kB / 0.7729 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/0.5294, allocations: 59.98 kB / 0.773 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.543e-05/0.5295, allocations: 19.92 kB / 0.773 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.5295, allocations: 7.938 kB / 0.773 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/0.5418, allocations: 5.459 MB / 0.7783 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/0.5438, allocations: 0.6808 MB / 0.779 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007803/0.5446, allocations: 60 kB / 0.7791 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002364/0.547, allocations: 179.8 kB / 0.7792 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005844/0.5475, allocations: 193.5 kB / 0.7794 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002344/0.5478, allocations: 63.98 kB / 0.7795 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.3951/0.9429, allocations: 1.739 MB / 0.7812 GB, free: 131.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9429, allocations: 0.7812 kB / 0.7812 GB, free: 131.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00491/0.9478, allocations: 1.312 MB / 0.7825 GB, free: 131.1 MB / 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 ($whenCondition12,$whenCondition10,$whenCondition11,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition13,$whenCondition14,line.running.value,line.state,PV.line.running.value,PV.line.state,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,PV.wecc_reec.frtOn,$whenCondition9,$whenCondition7,$whenCondition8,PV.injector.running.value,PV.injector.state) * Number of discrete states: 8 (PV.injector.running.value,PV.source.running.value,PV.line.running.value,line.running.value,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,$whenCondition14,$whenCondition13) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * 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.01146/0.9593, allocations: 6.156 MB / 0.7885 GB, free: 129.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01307/0.9723, allocations: 5.678 MB / 0.794 GB, free: 127 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/0.9723, allocations: 1.188 kB / 0.794 GB, free: 127 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00401/0.9764, allocations: 1.613 MB / 0.7956 GB, free: 126.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003417/0.9798, allocations: 474.9 kB / 0.796 GB, free: 126.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06322/1.043, allocations: 28.09 MB / 0.8235 GB, free: 107 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001913/1.045, allocations: 1.219 MB / 0.8247 GB, free: 106 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003288/1.048, allocations: 395.8 kB / 0.825 GB, free: 105.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002144/1.05, allocations: 1.292 MB / 0.8263 GB, free: 104.3 MB / 0.6075 GB Notification: Performance of SimCode: time 2.665e-06/1.05, allocations: 0.5469 kB / 0.8263 GB, free: 104.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1172/1.168, allocations: 72.45 MB / 0.897 GB, free: 32.36 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.36/19.53, allocations: 12.05 kB / 0.8971 GB, free: 32.34 MB / 0.6075 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource2_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource2.fmu > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe 2>&1) [Timeout 52.5] 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 656] Reference file matches [Calling sys.exit(0), Time elapsed: 30.70589363493491]