Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") translateModel(PhotoVoltaics.Examples.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 176.1 kB / 7.643 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.497/1.497, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0009507/0.0009507, allocations: 81.72 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02445/0.02445, allocations: 5.283 MB / 336.5 MB, free: 9.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.594e-05/1.629e-05, allocations: 1.469 kB / 396.3 MB, free: 51.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1072, allocations: 51.61 MB / 447.9 MB, free: 11.01 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.2175, allocations: 82.21 MB / 0.5177 GB, free: 8.691 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001763/0.2178, allocations: 67.97 kB / 0.5178 GB, free: 8.625 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2229/0.4407, allocations: 11.91 MB / 0.5294 GB, free: 81.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4407, allocations: 1.75 kB / 0.5294 GB, free: 81.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.533e-05/0.4408, allocations: 6.312 kB / 0.5294 GB, free: 81.95 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001266/0.4421, allocations: 0.6067 MB / 0.53 GB, free: 81.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.4421, allocations: 9.688 kB / 0.53 GB, free: 81.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.293e-05/0.4422, allocations: 42.7 kB / 0.53 GB, free: 81.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.4427, allocations: 331.9 kB / 0.5304 GB, free: 81.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.4427, allocations: 6.969 kB / 0.5304 GB, free: 81.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.4427, allocations: 14.59 kB / 0.5304 GB, free: 81.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005379/0.4433, allocations: 276.5 kB / 0.5306 GB, free: 81.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.4437, allocations: 249.5 kB / 0.5309 GB, free: 81.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.4437, allocations: 1.828 kB / 0.5309 GB, free: 81.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.4438, allocations: 3 kB / 0.5309 GB, free: 81.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.4438, allocations: 5.281 kB / 0.5309 GB, free: 81.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.4461, allocations: 1.363 MB / 0.5322 GB, free: 80.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.4464, allocations: 177.8 kB / 0.5324 GB, free: 80.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.4467, allocations: 103.5 kB / 0.5325 GB, free: 80.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.4467, allocations: 2.797 kB / 0.5325 GB, free: 80.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.4467, allocations: 36.62 kB / 0.5325 GB, free: 80.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.803e-06/0.4468, allocations: 0 / 0.5325 GB, free: 80.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003781/0.4471, allocations: 193.1 kB / 0.5327 GB, free: 80.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.4472, allocations: 52.5 kB / 0.5328 GB, free: 80.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005245/0.4477, allocations: 336.4 kB / 0.5331 GB, free: 80.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.4477, allocations: 25.7 kB / 0.5331 GB, free: 80.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.4479, allocations: 206.4 kB / 0.5333 GB, free: 80.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.4479, allocations: 37.31 kB / 0.5333 GB, free: 80.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.982e-05/0.4479, allocations: 4 kB / 0.5333 GB, free: 80.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.448, allocations: 341.8 kB / 0.5337 GB, free: 79.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.4482, allocations: 94.47 kB / 0.5338 GB, free: 79.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.4484, allocations: 133.1 kB / 0.5339 GB, free: 79.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.4486, allocations: 108.3 kB / 0.534 GB, free: 79.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4486, allocations: 5.156 kB / 0.534 GB, free: 79.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007717/0.4494, allocations: 348.5 kB / 0.5343 GB, free: 79.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.4494, allocations: 5.812 kB / 0.5343 GB, free: 79.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4494, allocations: 1.516 kB / 0.5343 GB, free: 79.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005028/0.4499, allocations: 88.97 kB / 0.5344 GB, free: 79.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.4503, allocations: 76.05 kB / 0.5345 GB, free: 79.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.4515, allocations: 1.484 MB / 0.5359 GB, free: 78.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.4519, allocations: 44.36 kB / 0.536 GB, free: 78.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.4519, allocations: 13.42 kB / 0.536 GB, free: 78.32 MB / 362.7 MB 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 (25): * Single equations (assignments): 24 * 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 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.913e-05/0.452, allocations: 107.5 kB / 0.5361 GB, free: 78.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.4521, allocations: 31.36 kB / 0.5361 GB, free: 78.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.4521, allocations: 33.03 kB / 0.5362 GB, free: 78.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.4521, allocations: 8.406 kB / 0.5362 GB, free: 78.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.4521, allocations: 4 kB / 0.5362 GB, free: 78.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4522, allocations: 4.719 kB / 0.5362 GB, free: 78.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007513/0.4529, allocations: 0.6163 MB / 0.5368 GB, free: 77.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.4529, allocations: 3.719 kB / 0.5368 GB, free: 77.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.4532, allocations: 60.55 kB / 0.5368 GB, free: 77.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4532, allocations: 1.094 kB / 0.5368 GB, free: 77.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.4532, allocations: 8.062 kB / 0.5368 GB, free: 77.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4532, allocations: 1.125 kB / 0.5368 GB, free: 77.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4533, allocations: 2.422 kB / 0.5368 GB, free: 77.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.4536, allocations: 293.3 kB / 0.5371 GB, free: 77.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.4538, allocations: 144.3 kB / 0.5373 GB, free: 77.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.4538, allocations: 7.875 kB / 0.5373 GB, free: 77.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.4541, allocations: 21.97 kB / 0.5373 GB, free: 77.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.4542, allocations: 7.328 kB / 0.5373 GB, free: 77.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.4542, allocations: 10.56 kB / 0.5373 GB, free: 77.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003189/0.4545, allocations: 258.9 kB / 0.5376 GB, free: 77.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4545, allocations: 0 / 0.5376 GB, free: 77.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004393/0.455, allocations: 85.5 kB / 0.5376 GB, free: 77.48 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 (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000188/0.4552, allocations: 130 kB / 0.5378 GB, free: 77.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005907/0.4558, allocations: 341.8 kB / 0.5381 GB, free: 77.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4558, allocations: 0 / 0.5381 GB, free: 77.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.4559, allocations: 69.36 kB / 0.5382 GB, free: 77.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.4563, allocations: 56.27 kB / 0.5382 GB, free: 77.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009442/0.4573, allocations: 380 kB / 0.5386 GB, free: 77.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.4576, allocations: 0.7766 MB / 0.5393 GB, free: 76.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001838/0.4578, allocations: 34.56 kB / 0.5394 GB, free: 76.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.643e-05/0.4579, allocations: 31.41 kB / 0.5394 GB, free: 76.38 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4579, allocations: 192 / 0.5394 GB, free: 76.38 MB / 362.7 MB Notification: Performance of Templates: time 0.006801/0.4647, allocations: 3.572 MB / 0.5429 GB, free: 76.19 MB / 362.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1)