Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 221.5 MB / 229.6 MB, free: 7.512 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.0008743/0.0008741, allocations: 99.17 kB / 280.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03071/0.03071, allocations: 5.289 MB / 336.5 MB, free: 9.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.732e-05/1.729e-05, allocations: 0 / 396.3 MB, free: 51.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1244, allocations: 51.61 MB / 447.9 MB, free: 11.03 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.2729, allocations: 82.26 MB / 0.5177 GB, free: 8.652 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000341/0.2733, allocations: 67.97 kB / 0.5178 GB, free: 8.586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3594/0.6328, allocations: 12.27 MB / 0.5298 GB, free: 81.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6328, allocations: 0 / 0.5298 GB, free: 81.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.871e-05/0.6328, allocations: 7.75 kB / 0.5298 GB, free: 81.69 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001648/0.6345, allocations: 0.6264 MB / 0.5304 GB, free: 81.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.6346, allocations: 10.31 kB / 0.5304 GB, free: 81.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.6347, allocations: 43.53 kB / 0.5305 GB, free: 81.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000666/0.6354, allocations: 342.3 kB / 0.5308 GB, free: 81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.6354, allocations: 7.094 kB / 0.5308 GB, free: 81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.741e-05/0.6355, allocations: 12.53 kB / 0.5308 GB, free: 81 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008739/0.6364, allocations: 302.2 kB / 0.5311 GB, free: 80.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006917/0.6371, allocations: 258.6 kB / 0.5313 GB, free: 80.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.6371, allocations: 1.688 kB / 0.5314 GB, free: 80.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.6372, allocations: 0.9688 kB / 0.5314 GB, free: 80.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.6372, allocations: 9 kB / 0.5314 GB, free: 80.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/0.6405, allocations: 1.373 MB / 0.5327 GB, free: 80.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006314/0.6411, allocations: 288.3 kB / 0.533 GB, free: 80.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/0.6415, allocations: 108.7 kB / 0.5331 GB, free: 80.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.6415, allocations: 3.938 kB / 0.5331 GB, free: 80.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.6416, allocations: 37.2 kB / 0.5331 GB, free: 80.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.536e-06/0.6416, allocations: 3.938 kB / 0.5331 GB, free: 80.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.003644/0.6452, allocations: 0.5325 MB / 0.5336 GB, free: 80.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.6453, allocations: 53.97 kB / 0.5337 GB, free: 79.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005232/0.6458, allocations: 340.8 kB / 0.534 GB, free: 79.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.6459, allocations: 25.7 kB / 0.534 GB, free: 79.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.646, allocations: 218.3 kB / 0.5343 GB, free: 79.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.646, allocations: 47.27 kB / 0.5343 GB, free: 79.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/0.646, allocations: 1 kB / 0.5343 GB, free: 79.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.6461, allocations: 344.7 kB / 0.5346 GB, free: 79.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.6463, allocations: 103.3 kB / 0.5347 GB, free: 79.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.6465, allocations: 136.2 kB / 0.5349 GB, free: 79.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.6467, allocations: 111.8 kB / 0.535 GB, free: 79.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.6467, allocations: 1.25 kB / 0.535 GB, free: 79.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.003095/0.6498, allocations: 0.6971 MB / 0.5356 GB, free: 79.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.6498, allocations: 5.5 kB / 0.5356 GB, free: 79.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.6499, allocations: 1.312 kB / 0.5357 GB, free: 79.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002711/0.6526, allocations: 0.5446 MB / 0.5362 GB, free: 79.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.6528, allocations: 53.34 kB / 0.5362 GB, free: 79.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005985/0.6588, allocations: 3.99 MB / 0.5401 GB, free: 76.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004342/0.6593, allocations: 39.62 kB / 0.5402 GB, free: 76.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.6593, allocations: 9.688 kB / 0.5402 GB, free: 76.58 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: variableResistor.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.6595, allocations: 114.5 kB / 0.5403 GB, free: 76.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.051e-05/0.6596, allocations: 33.28 kB / 0.5403 GB, free: 76.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.04e-05/0.6597, allocations: 40.8 kB / 0.5404 GB, free: 76.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.6597, allocations: 1.812 kB / 0.5404 GB, free: 76.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.6597, allocations: 0 / 0.5404 GB, free: 76.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6597, allocations: 1.156 kB / 0.5404 GB, free: 76.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00305/0.6628, allocations: 1.018 MB / 0.5414 GB, free: 76.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6628, allocations: 0 / 0.5414 GB, free: 76.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.767e-05/0.6629, allocations: 26.22 kB / 0.5414 GB, free: 76.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002012/0.6649, allocations: 471.4 kB / 0.5418 GB, free: 75.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.6649, allocations: 10.59 kB / 0.5418 GB, free: 75.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003871/0.6688, allocations: 2.248 MB / 0.544 GB, free: 74.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6688, allocations: 3.594 kB / 0.544 GB, free: 74.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.6714, allocations: 0.6425 MB / 0.5447 GB, free: 74.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.6715, allocations: 142.2 kB / 0.5448 GB, free: 73.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.6716, allocations: 0 / 0.5448 GB, free: 73.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.6719, allocations: 29.5 kB / 0.5448 GB, free: 73.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.672, allocations: 14.33 kB / 0.5448 GB, free: 73.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.672, allocations: 7.766 kB / 0.5448 GB, free: 73.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002995/0.6723, allocations: 260.7 kB / 0.5451 GB, free: 73.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6723, allocations: 3.938 kB / 0.5451 GB, free: 73.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005929/0.6729, allocations: 120.6 kB / 0.5452 GB, free: 73.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000199/0.6731, allocations: 130.9 kB / 0.5453 GB, free: 73.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007714/0.6739, allocations: 495.8 kB / 0.5458 GB, free: 73.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6739, allocations: 3.969 kB / 0.5458 GB, free: 73.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.6741, allocations: 205.8 kB / 0.546 GB, free: 73.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.6746, allocations: 64.16 kB / 0.5461 GB, free: 73.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008216/0.6754, allocations: 399.7 kB / 0.5465 GB, free: 72.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.6756, allocations: 0.7863 MB / 0.5472 GB, free: 72.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.6757, allocations: 30.02 kB / 0.5473 GB, free: 72.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.6758, allocations: 26.91 kB / 0.5473 GB, free: 72.22 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6758, allocations: 0 / 0.5473 GB, free: 72.22 MB / 362.7 MB Notification: Performance of Templates: time 0.01008/0.6859, allocations: 7.48 MB / 0.5546 GB, free: 66.55 MB / 362.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1)