Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8453/0.8453, allocations: 143.4 MB / 158.3 MB, free: 5.758 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 183.5 kB / 191.5 MB, free: 5.742 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.2 MB / 447.7 MB, free: 6.531 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009417/0.0009417, allocations: 96.31 kB / 0.5188 GB, free: 2.883 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001771/0.001771, allocations: 266.2 kB / 0.6005 GB, free: 48.96 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005226/0.0005227, allocations: 12 kB / 0.6929 GB, free: 2.305 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4711/0.4716, allocations: 82.78 MB / 0.7737 GB, free: 26.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1827/0.6544, allocations: 123.9 MB / 0.8947 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/0.6548, allocations: 87.83 kB / 0.8948 GB, free: 14.04 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Interfaces/RadiationPort.mo:2:1-11:18:writable] Warning: Connector .BuildingSystems.Interfaces.RadiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.5444/1.199, allocations: 20.43 MB / 0.9147 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.034e-06/1.199, allocations: 0 / 0.9147 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.717e-05/1.199, allocations: 14.84 kB / 0.9148 GB, free: 122.7 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002483/1.202, allocations: 0.9459 MB / 0.9157 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.202, allocations: 9.766 kB / 0.9157 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/1.205, allocations: 489.9 kB / 0.9162 GB, free: 122 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009443/1.206, allocations: 451.7 kB / 0.9166 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/1.206, allocations: 119.9 kB / 0.9167 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/1.206, allocations: 46.97 kB / 0.9168 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/1.208, allocations: 0.7899 MB / 0.9175 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/1.208, allocations: 0 / 0.9175 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.441e-05/1.208, allocations: 19.62 kB / 0.9175 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/1.208, allocations: 14.69 kB / 0.9176 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/1.21, allocations: 0.9322 MB / 0.9185 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004844/1.215, allocations: 2.215 MB / 0.9206 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003695/1.219, allocations: 1.119 MB / 0.9217 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001662/1.221, allocations: 1.767 MB / 0.9234 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/1.222, allocations: 0.5502 MB / 0.924 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=58): time 4.208e-06/1.222, allocations: 0 / 0.924 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=58): time 0.01465/1.237, allocations: 2.319 MB / 0.9263 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/1.237, allocations: 136.8 kB / 0.9264 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006196/1.237, allocations: 420.1 kB / 0.9268 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002275/1.238, allocations: 37.58 kB / 0.9268 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/1.238, allocations: 249.3 kB / 0.9271 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/1.238, allocations: 193.2 kB / 0.9272 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/1.238, allocations: 8 kB / 0.9272 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.655e-05/1.238, allocations: 369.1 kB / 0.9276 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009665/1.239, allocations: 416.5 kB / 0.928 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009435/1.24, allocations: 0.517 MB / 0.9285 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009173/1.241, allocations: 425.1 kB / 0.9289 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.241, allocations: 0 / 0.9289 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.008103/1.249, allocations: 1.533 MB / 0.9304 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/1.249, allocations: 13.08 kB / 0.9304 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/1.249, allocations: 3.25 kB / 0.9304 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007874/1.257, allocations: 0.7285 MB / 0.9311 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/1.258, allocations: 184.8 kB / 0.9313 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006105/1.264, allocations: 2.635 MB / 0.9339 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/1.266, allocations: 151.1 kB / 0.934 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-05/1.266, allocations: 35.17 kB / 0.9341 GB, free: 113.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {3} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004115/1.266, allocations: 196.5 kB / 0.9342 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/1.267, allocations: 56.3 kB / 0.9343 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004274/1.271, allocations: 1.405 MB / 0.9357 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.271, allocations: 7.594 kB / 0.9357 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.271, allocations: 3.953 kB / 0.9357 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.271, allocations: 3.703 kB / 0.9357 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/1.272, allocations: 0.8132 MB / 0.9365 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.272, allocations: 0 / 0.9365 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008318/1.273, allocations: 180 kB / 0.9367 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002168/1.275, allocations: 341.4 kB / 0.937 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.377e-05/1.275, allocations: 20.05 kB / 0.937 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003214/1.278, allocations: 2.133 MB / 0.9391 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.278, allocations: 3.938 kB / 0.9391 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/1.282, allocations: 1.268 MB / 0.9403 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005162/1.283, allocations: 244.1 kB / 0.9406 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.483e-05/1.283, allocations: 12 kB / 0.9406 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007031/1.284, allocations: 95.88 kB / 0.9407 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/1.284, allocations: 52.56 kB / 0.9407 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.149e-05/1.284, allocations: 23.98 kB / 0.9407 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004146/1.284, allocations: 327.1 kB / 0.941 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.21e-07/1.284, allocations: 4 kB / 0.941 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00115/1.285, allocations: 295.4 kB / 0.9413 GB, free: 108.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001331/1.287, allocations: 0.5594 MB / 0.9419 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003495/1.29, allocations: 1.172 MB / 0.943 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.29, allocations: 4.188 kB / 0.943 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/1.292, allocations: 0.6855 MB / 0.9437 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/1.292, allocations: 58.06 kB / 0.9437 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/1.295, allocations: 1.627 MB / 0.9453 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/1.295, allocations: 0.8931 MB / 0.9462 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006883/1.296, allocations: 148.1 kB / 0.9463 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/1.296, allocations: 63.39 kB / 0.9464 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of SimCode: time 9.01e-07/1.296, allocations: 0 / 0.9464 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.01624/1.312, allocations: 11.25 MB / 0.9574 GB, free: 92.17 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe 2>&1)