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.0008693/0.0008694, allocations: 174.7 kB / 16.12 MB, free: 5.699 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.406/1.406, allocations: 223.3 MB / 240.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 107.2 kB / 291.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02771/0.02771, allocations: 5.391 MB / 347.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004776, allocations: 8 kB / 413.5 MB, free: 57.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1068, allocations: 51.61 MB / 465.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3747/0.4816, allocations: 82.97 MB / 0.5352 GB, free: 5.586 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.482, allocations: 72.09 kB / 0.5353 GB, free: 5.551 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03974/0.5218, allocations: 12.07 MB / 0.5471 GB, free: 11.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.596e-06/0.5219, allocations: 0 / 0.5471 GB, free: 11.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.824e-05/0.5219, allocations: 4 kB / 0.5471 GB, free: 11.11 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.001594/0.5235, allocations: 0.679 MB / 0.5477 GB, free: 10.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.5236, allocations: 16.81 kB / 0.5477 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.5237, allocations: 36.47 kB / 0.5478 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.5243, allocations: 343 kB / 0.5481 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/0.5244, allocations: 24.12 kB / 0.5481 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/0.5244, allocations: 16.31 kB / 0.5481 GB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009255/0.5254, allocations: 342.8 kB / 0.5485 GB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.5254, allocations: 4.125 kB / 0.5485 GB, free: 9.719 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.5254, allocations: 15 kB / 0.5485 GB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.5255, allocations: 8 kB / 0.5485 GB, free: 9.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009492/0.5264, allocations: 413.5 kB / 0.5489 GB, free: 9.414 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.5292, allocations: 1.426 MB / 0.5503 GB, free: 8.184 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/0.5297, allocations: 234.7 kB / 0.5505 GB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.5301, allocations: 145.9 kB / 0.5506 GB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.5302, allocations: 0 / 0.5506 GB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.5302, allocations: 41.69 kB / 0.5507 GB, free: 7.852 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.515e-06/0.5302, allocations: 0 / 0.5507 GB, free: 7.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009202/0.5311, allocations: 358.3 kB / 0.551 GB, free: 7.574 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.5312, allocations: 59.34 kB / 0.5511 GB, free: 7.504 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004913/0.5317, allocations: 409.5 kB / 0.5515 GB, free: 7.195 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.5317, allocations: 29.08 kB / 0.5515 GB, free: 7.164 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.5319, allocations: 208.2 kB / 0.5517 GB, free: 7.004 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.5319, allocations: 42.22 kB / 0.5517 GB, free: 6.969 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-05/0.532, allocations: 3.562 kB / 0.5517 GB, free: 6.969 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5321, allocations: 344.6 kB / 0.5521 GB, free: 6.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.5324, allocations: 138.2 kB / 0.5522 GB, free: 6.547 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.5328, allocations: 174 kB / 0.5524 GB, free: 6.414 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/0.5333, allocations: 278.2 kB / 0.5526 GB, free: 6.215 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5334, allocations: 7.938 kB / 0.5526 GB, free: 6.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001155/0.5345, allocations: 443.4 kB / 0.5531 GB, free: 5.875 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.5346, allocations: 8 kB / 0.5531 GB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5346, allocations: 4.094 kB / 0.5531 GB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005134/0.5351, allocations: 84.33 kB / 0.5532 GB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.5355, allocations: 79.86 kB / 0.5532 GB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.5372, allocations: 1.548 MB / 0.5547 GB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.5376, allocations: 46.89 kB / 0.5548 GB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.5377, allocations: 15.73 kB / 0.5548 GB, free: 4.059 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 () * Number of clocked 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 0.0001899/0.5379, allocations: 143.6 kB / 0.5549 GB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-05/0.5379, allocations: 31.62 kB / 0.555 GB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.907e-05/0.538, allocations: 33.75 kB / 0.555 GB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.538, allocations: 0 / 0.555 GB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.538, allocations: 0 / 0.555 GB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.538, allocations: 0 / 0.555 GB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.5392, allocations: 0.7546 MB / 0.5557 GB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5393, allocations: 4.078 kB / 0.5557 GB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.5395, allocations: 55.92 kB / 0.5558 GB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5395, allocations: 0 / 0.5558 GB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.5395, allocations: 15.48 kB / 0.5558 GB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.5396, allocations: 0 / 0.5558 GB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5396, allocations: 3.938 kB / 0.5558 GB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005938/0.5402, allocations: 374.5 kB / 0.5562 GB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.5403, allocations: 136.7 kB / 0.5563 GB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.5404, allocations: 7.938 kB / 0.5563 GB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.5407, allocations: 23.61 kB / 0.5563 GB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.5407, allocations: 3.984 kB / 0.5563 GB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.5408, allocations: 11.98 kB / 0.5564 GB, free: 2.641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003463/0.5411, allocations: 293.7 kB / 0.5566 GB, free: 2.422 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5411, allocations: 0 / 0.5566 GB, free: 2.422 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004513/0.5416, allocations: 91.41 kB / 0.5567 GB, free: 2.34 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 () * Number of clocked 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.0002611/0.5418, allocations: 127.2 kB / 0.5568 GB, free: 2.207 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009267/0.5428, allocations: 432.3 kB / 0.5573 GB, free: 1.852 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.5428, allocations: 96 / 0.5573 GB, free: 1.852 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.5432, allocations: 120.2 kB / 0.5574 GB, free: 1.762 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.5437, allocations: 63.48 kB / 0.5574 GB, free: 1.715 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.5451, allocations: 0.6862 MB / 0.5581 GB, free: 1.047 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.5454, allocations: 0.768 MB / 0.5588 GB, free: 260 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002087/0.5457, allocations: 38.95 kB / 0.5589 GB, free: 220 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.486e-05/0.5458, allocations: 27.41 kB / 0.5589 GB, free: 192 kB / 362.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5458, allocations: 0 / 0.5589 GB, free: 192 kB / 362.7 MB Notification: Performance of Templates: time 0.009886/0.5557, allocations: 4.539 MB / 0.5633 GB, free: 11.71 MB / 378.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 -abortSlowSimulation -alarm=480 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1)