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.001495/0.001495, allocations: 104.3 kB / 19.72 MB, free: 1.895 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.001847/0.001847, allocations: 211.2 kB / 23.01 MB, free: 4.996 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.508/1.508, allocations: 207.7 MB / 233.9 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.6912/0.6912, allocations: 114.3 MB / 400.4 MB, free: 17.17 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource2",fmuType="me",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.002957/0.002957, allocations: 71.55 kB / 0.567 GB, free: 42.71 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.158, allocations: 78.64 MB / 0.6438 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2): time 0.0158/0.1738, allocations: 11.28 MB / 0.6548 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.1865, allocations: 5.888 MB / 0.6605 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003529/0.19, allocations: 83.44 kB / 0.6606 GB, free: 12.59 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.002904/0.1929, allocations: 0.5838 MB / 0.6612 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005627/0.1986, allocations: 1.163 MB / 0.6623 GB, free: 10.84 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.006856/0.2054, allocations: 2.654 MB / 0.6649 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00769/0.2131, allocations: 4.591 MB / 0.6694 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00392/0.217, allocations: 1.182 MB / 0.6706 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003632/0.2207, allocations: 1.689 MB / 0.6722 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003096/0.2238, allocations: 1.781 MB / 0.674 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001823/0.2256, allocations: 0.5039 MB / 0.6744 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.2281, allocations: 0.7654 MB / 0.6752 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001958/0.2301, allocations: 0.9772 MB / 0.6761 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002493/0.2325, allocations: 1.492 MB / 0.6776 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009153/0.2417, allocations: 6.087 MB / 0.6835 GB, free: 5 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.2417, allocations: 0 / 0.6835 GB, free: 5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.885e-06/0.2417, allocations: 0 / 0.6835 GB, free: 5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001977/0.2419, allocations: 0 / 0.6835 GB, free: 5 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.0169/0.2588, allocations: 4.874 MB / 0.6883 GB, free: 40 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.765e-05/0.2589, allocations: 8.031 kB / 0.6883 GB, free: 32 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008676/0.2597, allocations: 353.9 kB / 0.6887 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006618/0.2664, allocations: 1.091 MB / 0.6897 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006248/0.2726, allocations: 2.303 MB / 0.692 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007264/0.2733, allocations: 0.7879 MB / 0.6927 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008717/0.2742, allocations: 248.3 kB / 0.693 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007258/0.2815, allocations: 3.591 MB / 0.6965 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.333e-05/0.2815, allocations: 3.938 kB / 0.6965 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002921/0.2818, allocations: 108 kB / 0.6966 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-05/0.2819, allocations: 60 kB / 0.6966 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006273/0.2881, allocations: 2.715 MB / 0.6993 GB, free: 4.301 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.0194/0.3075, allocations: 9.774 MB / 0.7088 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006728/0.3143, allocations: 2.749 MB / 0.7115 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002684/0.3169, allocations: 1.163 MB / 0.7127 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/0.3172, allocations: 37.98 kB / 0.7127 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00335/0.3205, allocations: 1.648 MB / 0.7143 GB, free: 4.707 MB / 0.545 GB Notification: Performance of pre-optimization done (n=208): time 4.86e-06/0.3205, allocations: 0 / 0.7143 GB, free: 4.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=208): time 0.01269/0.3332, allocations: 4.443 MB / 0.7186 GB, free: 264 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003473/0.3336, allocations: 0.568 MB / 0.7192 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004961/0.3385, allocations: 2.705 MB / 0.7218 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006811/0.3392, allocations: 77.69 kB / 0.7219 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001456/0.3407, allocations: 1.298 MB / 0.7232 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/0.342, allocations: 0.7517 MB / 0.7239 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001297/0.3433, allocations: 0.6561 MB / 0.7246 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3434, allocations: 317 kB / 0.7249 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00334/0.3468, allocations: 1.534 MB / 0.7264 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004086/0.3509, allocations: 2.468 MB / 0.7288 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02594/0.3768, allocations: 7.731 MB / 0.7363 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.918e-05/0.3768, allocations: 4 kB / 0.7363 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=445) (initialization): time 0.01189/0.3887, allocations: 4.664 MB / 0.7409 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.3888, allocations: 57.67 kB / 0.7409 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/0.3889, allocations: 8 kB / 0.7409 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007424/0.3896, allocations: 473 kB / 0.7414 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003873/0.3935, allocations: 0.7255 MB / 0.7421 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.99e-05/0.3935, allocations: 31.92 kB / 0.7421 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003116/0.3966, allocations: 409.8 kB / 0.7425 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003616/0.397, allocations: 124 kB / 0.7426 GB, free: 6.988 MB / 0.5762 GB Warning: Assuming fixed start value for the following 30 variables: PV.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.injector.running.value:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) type: Boolean PV.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean PV.line.running.value:DISCRETE(flow=false start = PV.line.Running0 fixed = true ) type: Boolean PV.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean PV.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real PV.wecc_regc.vSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.vSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.source.running.value:DISCRETE(flow=false start = PV.source.Running0 fixed = true ) type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.X0[1] * PV.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004706/0.4017, allocations: 2.121 MB / 0.7447 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003929/0.4056, allocations: 2.417 MB / 0.7471 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02459/0.4302, allocations: 7.594 MB / 0.7545 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.71e-05/0.4303, allocations: 4 kB / 0.7545 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=445) (initialization_lambda0): time 0.01157/0.4418, allocations: 4.566 MB / 0.759 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.444e-05/0.4419, allocations: 53.67 kB / 0.759 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.601e-05/0.442, allocations: 15.94 kB / 0.759 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006856/0.4426, allocations: 469 kB / 0.7595 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003696/0.4463, allocations: 0.7099 MB / 0.7602 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.908e-05/0.4464, allocations: 35.92 kB / 0.7602 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/0.4498, allocations: 342.4 kB / 0.7605 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005893/0.4504, allocations: 120 kB / 0.7606 GB, free: 4.043 MB / 0.5919 GB Warning: Assuming fixed start value for the following 30 variables: PV.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.injector.running.value:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) type: Boolean PV.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean PV.line.running.value:DISCRETE(flow=false start = PV.line.Running0 fixed = true ) type: Boolean PV.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean PV.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real PV.wecc_regc.vSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.vSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.source.running.value:DISCRETE(flow=false start = PV.source.Running0 fixed = true ) type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.X0[1] * PV.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 59 ($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.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,$PRE.PV.wecc_regc.offDelay.u,PV.wecc_repc.freeze,PV.source.running.value,PV.wecc_regc.and2.y,PV.wecc_regc.and1.y,PV.wecc_regc.and1.u[2],PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.u,PV.line.running.value,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition13,$whenCondition12,$whenCondition14,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPID.I.local_reset,PV.pll.limIntegrator.local_reset,PV.pll.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (419): * Single equations (assignments): 417 * 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.001446/0.4518, allocations: 0.5104 MB / 0.7611 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/0.4529, allocations: 325.9 kB / 0.7614 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009421/0.4623, allocations: 3.344 MB / 0.7647 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/0.4623, allocations: 24 kB / 0.7647 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-05/0.4623, allocations: 7.938 kB / 0.7647 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.799e-05/0.4624, allocations: 7.969 kB / 0.7647 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/0.4795, allocations: 6.87 MB / 0.7715 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.4795, allocations: 4 kB / 0.7715 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003103/0.4826, allocations: 451.6 kB / 0.7719 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007341/0.4833, allocations: 456.7 kB / 0.7723 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000442/0.4838, allocations: 63.97 kB / 0.7724 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.2e-05/0.4838, allocations: 15.88 kB / 0.7724 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.4838, allocations: 4 kB / 0.7724 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/0.4971, allocations: 5.349 MB / 0.7776 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002357/0.4994, allocations: 0.6886 MB / 0.7783 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008819/0.5003, allocations: 59.98 kB / 0.7784 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002466/0.5028, allocations: 179.8 kB / 0.7785 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004909/0.5033, allocations: 189.5 kB / 0.7787 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002289/0.5035, allocations: 71.97 kB / 0.7788 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.3884/0.8919, allocations: 1.746 MB / 0.7805 GB, free: 129.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8919, allocations: 0 / 0.7805 GB, free: 129.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005985/0.8979, allocations: 1.319 MB / 0.7818 GB, free: 129.9 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 ($whenCondition14,$whenCondition12,$whenCondition13,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,line.state,PV.line.running.value,PV.line.state,PV.wecc_regc.offDelay.u,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.and1.u[2],PV.wecc_regc.and1.y,PV.wecc_regc.and2.y,PV.source.running.value,PV.source.state,PV.wecc_repc.freeze,$whenCondition11,$whenCondition9,$whenCondition10,PV.injector.running.value,PV.injector.state) * Number of discrete states: 5 (PV.injector.running.value,PV.source.running.value,PV.line.running.value,line.running.value,PV.wecc_regc.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(12,41.7%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01194/0.9098, allocations: 6.029 MB / 0.7877 GB, free: 128.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01438/0.9242, allocations: 5.505 MB / 0.793 GB, free: 126.1 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.677e-05/0.9242, allocations: 2.969 kB / 0.793 GB, free: 126.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004167/0.9284, allocations: 1.523 MB / 0.7945 GB, free: 125.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/0.9319, allocations: 488.1 kB / 0.795 GB, free: 125.4 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05356/0.9855, allocations: 27.97 MB / 0.8223 GB, free: 106.9 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.9865, allocations: 1.226 MB / 0.8235 GB, free: 106 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002027/0.9886, allocations: 410.8 kB / 0.8239 GB, free: 105.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/0.99, allocations: 1.294 MB / 0.8252 GB, free: 104.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.583e-06/0.9901, allocations: 0 / 0.8252 GB, free: 104.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/1.093, allocations: 73.64 MB / 0.8971 GB, free: 31.17 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.36/17.45, allocations: 11.95 kB / 0.8971 GB, free: 31.16 MB / 0.6075 GB " [Timeout remaining time 642] (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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 25.334277997986646]