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.001571/0.001572, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.51/1.51, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.001023/0.001023, allocations: 103.5 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02442/0.02442, allocations: 5.292 MB / 341.8 MB, free: 4.805 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.614e-05, allocations: 8 kB / 403.7 MB, free: 62.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 51.6 MB / 455.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4896/0.599, allocations: 82.88 MB / 0.5256 GB, free: 8.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00018/0.5992, allocations: 66.66 kB / 0.5256 GB, free: 8.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03309/0.6323, allocations: 12.1 MB / 0.5375 GB, free: 13.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6324, allocations: 0 / 0.5375 GB, free: 13.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.061e-05/0.6324, allocations: 4 kB / 0.5375 GB, free: 13.67 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.001123/0.6335, allocations: 0.6036 MB / 0.5381 GB, free: 13.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.6336, allocations: 12.03 kB / 0.5381 GB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.886e-05/0.6337, allocations: 43.44 kB / 0.5381 GB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.6342, allocations: 325.7 kB / 0.5384 GB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.6342, allocations: 23.75 kB / 0.5384 GB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.6343, allocations: 19.12 kB / 0.5385 GB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/0.6347, allocations: 275.7 kB / 0.5387 GB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.6347, allocations: 11.95 kB / 0.5387 GB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.6348, allocations: 11.55 kB / 0.5387 GB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.6348, allocations: 4 kB / 0.5388 GB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005365/0.6353, allocations: 292.4 kB / 0.539 GB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/0.6376, allocations: 1.424 MB / 0.5404 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.6379, allocations: 175.4 kB / 0.5406 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.6381, allocations: 106 kB / 0.5407 GB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.6381, allocations: 0 / 0.5407 GB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.6382, allocations: 41.94 kB / 0.5407 GB, free: 10.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.6382, allocations: 3.938 kB / 0.5407 GB, free: 10.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004292/0.6386, allocations: 191.3 kB / 0.5409 GB, free: 10.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.6387, allocations: 55.41 kB / 0.541 GB, free: 10.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004364/0.6391, allocations: 369.4 kB / 0.5413 GB, free: 10.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.6392, allocations: 29.36 kB / 0.5413 GB, free: 10.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.6393, allocations: 201.5 kB / 0.5415 GB, free: 10.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.6394, allocations: 43.14 kB / 0.5416 GB, free: 10.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.6394, allocations: 7.312 kB / 0.5416 GB, free: 10.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.6395, allocations: 344.7 kB / 0.5419 GB, free: 9.734 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.6397, allocations: 101.2 kB / 0.542 GB, free: 9.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.6399, allocations: 129.3 kB / 0.5421 GB, free: 9.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.6401, allocations: 114 kB / 0.5422 GB, free: 9.523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.6401, allocations: 0 / 0.5422 GB, free: 9.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008362/0.641, allocations: 370.7 kB / 0.5426 GB, free: 9.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.641, allocations: 7.953 kB / 0.5426 GB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.641, allocations: 0 / 0.5426 GB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005085/0.6415, allocations: 91.72 kB / 0.5427 GB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.6419, allocations: 78.98 kB / 0.5428 GB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.6436, allocations: 1.545 MB / 0.5443 GB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/0.644, allocations: 47.19 kB / 0.5443 GB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.6441, allocations: 11.98 kB / 0.5443 GB, free: 7.438 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 0.0001026/0.6442, allocations: 115 kB / 0.5444 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.6442, allocations: 31.58 kB / 0.5445 GB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.062e-05/0.6443, allocations: 32.19 kB / 0.5445 GB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-06/0.6443, allocations: 4 kB / 0.5445 GB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.6443, allocations: 0 / 0.5445 GB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.6443, allocations: 7.984 kB / 0.5445 GB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008573/0.6452, allocations: 0.6736 MB / 0.5452 GB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.6452, allocations: 0 / 0.5452 GB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.6455, allocations: 51.56 kB / 0.5452 GB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.6455, allocations: 8.016 kB / 0.5452 GB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.6455, allocations: 7.984 kB / 0.5452 GB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.6455, allocations: 0 / 0.5452 GB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6455, allocations: 0 / 0.5452 GB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.6459, allocations: 316.6 kB / 0.5455 GB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.646, allocations: 136.7 kB / 0.5457 GB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.6461, allocations: 3.438 kB / 0.5457 GB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.6464, allocations: 27.97 kB / 0.5457 GB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.6464, allocations: 7.25 kB / 0.5457 GB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.6464, allocations: 7.984 kB / 0.5457 GB, free: 6.164 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003017/0.6467, allocations: 283.5 kB / 0.546 GB, free: 5.957 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6467, allocations: 0 / 0.546 GB, free: 5.957 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000373/0.6471, allocations: 91.03 kB / 0.5461 GB, free: 5.875 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.0002227/0.6474, allocations: 135.1 kB / 0.5462 GB, free: 5.734 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006684/0.648, allocations: 357.7 kB / 0.5465 GB, free: 5.453 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.648, allocations: 0 / 0.5465 GB, free: 5.453 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.6482, allocations: 75.53 kB / 0.5466 GB, free: 5.406 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.6486, allocations: 72.58 kB / 0.5467 GB, free: 5.352 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008372/0.6495, allocations: 377.6 kB / 0.547 GB, free: 5.004 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.6498, allocations: 0.7875 MB / 0.5478 GB, free: 4.191 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.65, allocations: 38.95 kB / 0.5479 GB, free: 4.152 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.6501, allocations: 27.41 kB / 0.5479 GB, free: 4.125 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6501, allocations: 0 / 0.5479 GB, free: 4.125 MB / 362.7 MB Notification: Performance of Templates: time 0.008605/0.6587, allocations: 4.592 MB / 0.5524 GB, free: 15.6 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)