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.00523/0.00523, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.297/1.297, 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.0008888/0.0008888, allocations: 96.11 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02534/0.02534, allocations: 5.391 MB / 346.7 MB, free: 5.555 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003757, allocations: 9.594 kB / 412.1 MB, free: 90.16 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0829/0.08329, allocations: 51.62 MB / 463.8 MB, free: 44.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2986/0.382, allocations: 82.94 MB / 0.5339 GB, free: 19.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.3823, allocations: 68.69 kB / 0.5339 GB, free: 19.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03096/0.4133, allocations: 12.08 MB / 0.5457 GB, free: 18.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4133, allocations: 0 / 0.5457 GB, free: 18.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.4133, allocations: 7.562 kB / 0.5457 GB, free: 18.09 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.001125/0.4144, allocations: 0.6772 MB / 0.5464 GB, free: 17.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4145, allocations: 11.41 kB / 0.5464 GB, free: 17.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/0.4146, allocations: 38.62 kB / 0.5465 GB, free: 17.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.4149, allocations: 325.9 kB / 0.5468 GB, free: 17.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.415, allocations: 20.12 kB / 0.5468 GB, free: 17.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-05/0.415, allocations: 23.28 kB / 0.5468 GB, free: 17.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000652/0.4157, allocations: 345.5 kB / 0.5471 GB, free: 17.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4157, allocations: 7.953 kB / 0.5471 GB, free: 17.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.4157, allocations: 7.312 kB / 0.5472 GB, free: 17.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4158, allocations: 7.844 kB / 0.5472 GB, free: 17.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000838/0.4166, allocations: 409.4 kB / 0.5476 GB, free: 17.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.4185, allocations: 1.422 MB / 0.5489 GB, free: 16.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.4189, allocations: 234.9 kB / 0.5492 GB, free: 16.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.4189, allocations: 3.781 kB / 0.5492 GB, free: 16.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.419, allocations: 34.25 kB / 0.5492 GB, free: 16.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.419, allocations: 0 / 0.5492 GB, free: 16.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007869/0.4198, allocations: 372.4 kB / 0.5496 GB, free: 16.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.4198, allocations: 55.34 kB / 0.5496 GB, free: 16.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.4202, allocations: 374.1 kB / 0.55 GB, free: 16.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.4202, allocations: 27.14 kB / 0.55 GB, free: 16.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.4203, allocations: 206.9 kB / 0.5502 GB, free: 16.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.4204, allocations: 35.95 kB / 0.5502 GB, free: 16.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.4204, allocations: 4.438 kB / 0.5502 GB, free: 16.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.719e-05/0.4205, allocations: 346.2 kB / 0.5506 GB, free: 15.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.4208, allocations: 138.9 kB / 0.5507 GB, free: 15.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.4211, allocations: 173.5 kB / 0.5509 GB, free: 15.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.4214, allocations: 149.3 kB / 0.551 GB, free: 15.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4214, allocations: 0 / 0.551 GB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001027/0.4224, allocations: 453.8 kB / 0.5514 GB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4224, allocations: 11.77 kB / 0.5514 GB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4224, allocations: 0 / 0.5514 GB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005331/0.423, allocations: 84.42 kB / 0.5515 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/0.4234, allocations: 80.84 kB / 0.5516 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.4248, allocations: 1.559 MB / 0.5531 GB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003998/0.4252, allocations: 48.91 kB / 0.5532 GB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.4252, allocations: 16.42 kB / 0.5532 GB, free: 14.2 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.0001692/0.4254, allocations: 144.1 kB / 0.5533 GB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.4255, allocations: 35.3 kB / 0.5534 GB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.943e-05/0.4255, allocations: 34 kB / 0.5534 GB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4255, allocations: 0.5625 kB / 0.5534 GB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.4255, allocations: 0 / 0.5534 GB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4255, allocations: 0.8438 kB / 0.5534 GB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.4259, allocations: 373.7 kB / 0.5537 GB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4259, allocations: 4 kB / 0.5537 GB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.4262, allocations: 58.48 kB / 0.5538 GB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4262, allocations: 0.5625 kB / 0.5538 GB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.4262, allocations: 11.69 kB / 0.5538 GB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4262, allocations: 0 / 0.5538 GB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4262, allocations: 3.875 kB / 0.5538 GB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.4268, allocations: 373.2 kB / 0.5542 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.4269, allocations: 138.1 kB / 0.5543 GB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.427, allocations: 0 / 0.5543 GB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.4273, allocations: 31.95 kB / 0.5543 GB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.4273, allocations: 6.75 kB / 0.5543 GB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.4274, allocations: 4.5 kB / 0.5543 GB, free: 13.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002781/0.4276, allocations: 296.3 kB / 0.5546 GB, free: 13.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4277, allocations: 0 / 0.5546 GB, free: 13.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003725/0.428, allocations: 97.81 kB / 0.5547 GB, free: 13.48 MB / 362.7 MB 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 (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.0001714/0.4282, allocations: 126.2 kB / 0.5548 GB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008257/0.429, allocations: 434.6 kB / 0.5553 GB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4291, allocations: 3.906 kB / 0.5553 GB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.4293, allocations: 116.7 kB / 0.5554 GB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.4297, allocations: 69.86 kB / 0.5554 GB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.4308, allocations: 0.6714 MB / 0.5561 GB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007566/0.4315, allocations: 0.7811 MB / 0.5569 GB, free: 28.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001862/0.4317, allocations: 31.08 kB / 0.5569 GB, free: 28.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.4318, allocations: 35.36 kB / 0.5569 GB, free: 28.14 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4318, allocations: 0 / 0.5569 GB, free: 28.14 MB / 378.7 MB Notification: Performance of Templates: time 0.008227/0.4401, allocations: 4.458 MB / 0.5613 GB, free: 27.87 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 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1)