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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009251/0.000925, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009242/0.0009243, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1913/0.1913, allocations: 5.365 MB / 296.4 MB, free: 3.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003713, allocations: 8 kB / 361.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1373, allocations: 51.6 MB / 413.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.0041/0.1415, allocations: 2.689 MB / 416.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.1439, allocations: 1.139 MB / 417.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005043/0.1445, allocations: 4 kB / 417.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008665/0.1454, allocations: 175.1 kB / 417.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009521/0.1464, allocations: 143.6 kB / 417.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.1468, allocations: 63.91 kB / 417.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.148, allocations: 327.3 kB / 417.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002913/0.1483, allocations: 93.89 kB / 418 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.1486, allocations: 167.3 kB / 418.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.1488, allocations: 191.2 kB / 418.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.1489, allocations: 24 kB / 418.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.149, allocations: 31.98 kB / 418.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.914e-05/0.1491, allocations: 67.72 kB / 418.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.931e-05/0.1492, allocations: 89.52 kB / 418.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.1495, allocations: 375 kB / 418.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1495, allocations: 0 / 418.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1495, allocations: 0 / 418.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1496, allocations: 0 / 418.9 MB, free: 5.062 MB / 350.1 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.001712/0.1513, allocations: 0.7361 MB / 419.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.1513, allocations: 8.031 kB / 419.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.099e-05/0.1514, allocations: 39.53 kB / 419.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009037/0.1523, allocations: 454.9 kB / 420.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.1524, allocations: 20.44 kB / 420.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.1524, allocations: 27.94 kB / 420.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005574/0.153, allocations: 279.4 kB / 420.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.153, allocations: 7.938 kB / 420.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.1531, allocations: 15.95 kB / 420.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.1531, allocations: 4 kB / 420.5 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007519/0.1538, allocations: 256.9 kB / 420.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.1561, allocations: 1.335 MB / 422.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.1564, allocations: 166.5 kB / 422.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.1565, allocations: 11.98 kB / 422.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1565, allocations: 34.5 kB / 422.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1565, allocations: 0 / 422.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007454/0.1573, allocations: 289.1 kB / 422.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.1573, allocations: 51.56 kB / 422.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/0.1578, allocations: 369.5 kB / 423 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.1578, allocations: 25.7 kB / 423 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.158, allocations: 215.7 kB / 423.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.158, allocations: 27.64 kB / 423.3 MB, free: 484 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.158, allocations: 8 kB / 423.3 MB, free: 476 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1582, allocations: 338.8 kB / 423.6 MB, free: 128 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.1585, allocations: 107.9 kB / 423.7 MB, free: 20 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2305/0.389, allocations: 142.6 kB / 423.9 MB, free: 45.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.3893, allocations: 113.9 kB / 424 MB, free: 45.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3894, allocations: 2.031 kB / 424 MB, free: 45.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001084/0.3905, allocations: 374.1 kB / 424.3 MB, free: 45.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.3905, allocations: 6.625 kB / 424.3 MB, free: 45.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3905, allocations: 2.219 kB / 424.3 MB, free: 45.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004842/0.391, allocations: 76.62 kB / 424.4 MB, free: 45.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.3914, allocations: 57.12 kB / 424.5 MB, free: 45.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.3927, allocations: 1.467 MB / 425.9 MB, free: 44.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.3931, allocations: 43.38 kB / 426 MB, free: 44.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.3931, allocations: 5.984 kB / 426 MB, free: 44.34 MB / 350.1 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 (22): * 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: 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.0001739/0.3933, allocations: 149.7 kB / 426.1 MB, free: 44.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.3934, allocations: 31.94 kB / 426.2 MB, free: 44.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.3934, allocations: 32.11 kB / 426.2 MB, free: 44.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3934, allocations: 3.188 kB / 426.2 MB, free: 44.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.3934, allocations: 0.7969 kB / 426.2 MB, free: 44.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3934, allocations: 0.5625 kB / 426.2 MB, free: 44.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/0.3938, allocations: 331.2 kB / 426.5 MB, free: 44.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3938, allocations: 0.7031 kB / 426.5 MB, free: 44.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.394, allocations: 38.72 kB / 426.6 MB, free: 44.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.394, allocations: 3.422 kB / 426.6 MB, free: 44.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.394, allocations: 3.5 kB / 426.6 MB, free: 44.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.394, allocations: 3.5 kB / 426.6 MB, free: 44.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.394, allocations: 0 / 426.6 MB, free: 44.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.3945, allocations: 316.3 kB / 426.9 MB, free: 43.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.935e-05/0.3946, allocations: 129.8 kB / 427 MB, free: 43.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.3946, allocations: 4.016 kB / 427 MB, free: 43.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.3949, allocations: 20.14 kB / 427 MB, free: 43.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.3949, allocations: 10.05 kB / 427 MB, free: 43.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.3949, allocations: 0 / 427 MB, free: 43.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002241/0.3951, allocations: 260.2 kB / 427.3 MB, free: 43.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3952, allocations: 0.7656 kB / 427.3 MB, free: 43.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.3955, allocations: 70.5 kB / 427.4 MB, free: 43.7 MB / 350.1 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 (8): * Single equations (assignments): 8 * 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.0001126/0.3956, allocations: 93.05 kB / 427.5 MB, free: 43.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007802/0.3964, allocations: 368.9 kB / 427.8 MB, free: 43.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3964, allocations: 1.312 kB / 427.8 MB, free: 43.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.3966, allocations: 86.64 kB / 427.9 MB, free: 43.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.3971, allocations: 67.89 kB / 428 MB, free: 43.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009012/0.398, allocations: 0.6266 MB / 428.6 MB, free: 43.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.3982, allocations: 0.7757 MB / 429.4 MB, free: 42.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001797/0.3984, allocations: 52.09 kB / 429.4 MB, free: 42.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.3985, allocations: 27 kB / 429.4 MB, free: 42.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3985, allocations: 0 / 429.4 MB, free: 42.41 MB / 350.1 MB Notification: Performance of Templates: time 0.00652/0.405, allocations: 3.279 MB / 432.7 MB, free: 42.23 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: