Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.conf.json 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/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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) Running command: translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006226/0.006226, allocations: 170.5 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 223.2 MB / 239 MB, free: 1.797 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009331/0.0009331, allocations: 98.33 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02425/0.02425, allocations: 5.403 MB / 346.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004042, allocations: 10.98 kB / 412.1 MB, free: 90.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08328/0.0837, allocations: 51.62 MB / 463.8 MB, free: 44.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2917/0.3754, allocations: 85.08 MB / 0.536 GB, free: 19.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.3756, allocations: 70.47 kB / 0.536 GB, free: 19.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.621/1.997, allocations: 477.6 MB / 1.002 GB, free: 45.28 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.325e-06/1.997, allocations: 4 kB / 1.002 GB, free: 45.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.002214/1.999, allocations: 236 kB / 1.003 GB, free: 45.04 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.07041/2.069, allocations: 20.67 MB / 1.023 GB, free: 24.24 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/2.069, allocations: 12.03 kB / 1.023 GB, free: 24.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008674/2.078, allocations: 1.447 MB / 1.024 GB, free: 22.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02879/2.107, allocations: 11.5 MB / 1.035 GB, free: 11.18 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006478/2.108, allocations: 0.6295 MB / 1.036 GB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007383/2.115, allocations: 0.8164 MB / 1.037 GB, free: 9.73 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5144/2.63, allocations: 22.7 MB / 1.059 GB, free: 51.86 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004086/2.63, allocations: 19.53 kB / 1.059 GB, free: 51.86 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005726/2.636, allocations: 349.7 kB / 1.059 GB, free: 51.86 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/2.636, allocations: 215.9 kB / 1.06 GB, free: 51.86 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07829/2.714, allocations: 39.05 MB / 1.098 GB, free: 51.76 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1638/2.878, allocations: 75.85 MB / 1.172 GB, free: 17.54 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0417/2.92, allocations: 28.95 MB / 1.2 GB, free: 13.54 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004483/2.92, allocations: 80.44 kB / 1.2 GB, free: 13.46 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.621e-05/2.92, allocations: 95.19 kB / 1.2 GB, free: 13.36 MB / 474.8 MB Notification: Performance of pre-optimization done (n=592): time 8.195e-06/2.92, allocations: 0 / 1.2 GB, free: 13.36 MB / 474.8 MB Notification: Performance of matching and sorting (n=592): time 0.5041/3.425, allocations: 82.81 MB / 1.281 GB, free: 77.82 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.743e-05/3.425, allocations: 112 kB / 1.281 GB, free: 77.75 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04052/3.465, allocations: 18.34 MB / 1.299 GB, free: 77.2 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.003882/3.469, allocations: 132.8 kB / 1.299 GB, free: 77.17 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008455/3.478, allocations: 5.884 MB / 1.305 GB, free: 76.46 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005274/3.483, allocations: 2.05 MB / 1.307 GB, free: 75.44 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004661/3.488, allocations: 199.1 kB / 1.307 GB, free: 75.44 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0008553/3.488, allocations: 0.7149 MB / 1.308 GB, free: 75.11 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02523/3.514, allocations: 14.36 MB / 1.322 GB, free: 74.7 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02756/3.541, allocations: 15.56 MB / 1.337 GB, free: 68.82 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02734/3.569, allocations: 15.13 MB / 1.352 GB, free: 60.89 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.117e-05/3.569, allocations: 8 kB / 1.352 GB, free: 60.89 MB / 490.8 MB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.5409/4.11, allocations: 90.17 MB / 1.44 GB, free: 66.38 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.783e-05/4.11, allocations: 11.88 kB / 1.44 GB, free: 66.38 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.665e-05/4.11, allocations: 24.06 kB / 1.44 GB, free: 66.38 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2132/4.323, allocations: 84.19 MB / 1.522 GB, free: 49.82 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009976/4.333, allocations: 1.963 MB / 1.524 GB, free: 47.98 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179/5.512, allocations: 340.7 MB / 1.857 GB, free: 61.79 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0305/5.543, allocations: 4.662 MB / 1.861 GB, free: 61.36 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006015/5.549, allocations: 0.5445 MB / 1.862 GB, free: 61.29 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (936): * Single equations (assignments): 887 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 48 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 48 {2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {47 248} Notification: Performance of prepare postOptimizeDAE: time 0.01602/5.565, allocations: 4.568 MB / 1.866 GB, free: 59.5 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006975/5.572, allocations: 1.196 MB / 1.868 GB, free: 58.86 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2254/5.797, allocations: 74.18 MB / 1.94 GB, free: 11.69 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.827e-05/5.797, allocations: 56 kB / 1.94 GB, free: 11.63 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/5.797, allocations: 2.25 kB / 1.94 GB, free: 11.63 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002438/5.798, allocations: 27.89 kB / 1.94 GB, free: 11.61 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.538/6.336, allocations: 97.73 MB / 2.036 GB, free: 63.49 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.428e-05/6.336, allocations: 4.75 kB / 2.036 GB, free: 63.49 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002505/6.338, allocations: 0.5229 MB / 2.036 GB, free: 63.48 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1773/6.516, allocations: 69.11 MB / 2.104 GB, free: 31.61 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00336/6.519, allocations: 279.2 kB / 2.104 GB, free: 31.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161/7.68, allocations: 242.3 MB / 2.34 GB, free: 71.98 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/7.68, allocations: 3.438 kB / 2.34 GB, free: 71.98 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2194/7.899, allocations: 73.06 MB / 2.412 GB, free: 66.87 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01579/7.915, allocations: 4.664 MB / 2.416 GB, free: 66.05 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007542/7.923, allocations: 93.09 kB / 2.416 GB, free: 66.05 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01917/7.942, allocations: 2.65 MB / 2.419 GB, free: 65.61 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001766/7.944, allocations: 438.6 kB / 2.419 GB, free: 65.61 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003128/7.947, allocations: 316.2 kB / 2.42 GB, free: 65.61 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.02727/7.974, allocations: 13.69 MB / 2.433 GB, free: 61.99 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5.71e-07/7.974, allocations: 0 / 2.433 GB, free: 61.99 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.03447/8.009, allocations: 5.687 MB / 2.439 GB, free: 57.51 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (298): * Single equations (assignments): 297 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {51 247} Notification: Performance of Backend phase and start with SimCode phase: time 0.003475/8.012, allocations: 248.6 kB / 2.439 GB, free: 57.3 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.1317/8.144, allocations: 54.94 MB / 2.493 GB, free: 2.309 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/8.144, allocations: 0 / 2.493 GB, free: 2.309 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.3687/8.513, allocations: 31.26 MB / 2.523 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01954/8.532, allocations: 2.97 MB / 2.526 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08108/8.613, allocations: 38.81 MB / 2.564 GB, free: 76.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01176/8.625, allocations: 8.988 MB / 2.573 GB, free: 75.47 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01249/8.638, allocations: 3.692 MB / 2.576 GB, free: 74.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004057/8.642, allocations: 0.6467 MB / 2.577 GB, free: 74.92 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/8.642, allocations: 0 / 2.577 GB, free: 74.92 MB / 0.5105 GB Notification: Performance of Templates: time 1.193/9.835, allocations: 439.4 MB / 3.006 GB, free: 52.22 MB / 0.5262 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1)