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.007637/0.007637, allocations: 97.38 kB / 15.73 MB, free: 6.066 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.001486/0.001486, allocations: 195.5 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02823/0.02823, allocations: 5.397 MB / 295.9 MB, free: 9.449 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.89 kB / 412.8 MB, free: 22.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1165, allocations: 50.63 MB / 463.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.00539/0.1219, allocations: 3.276 MB / 466.7 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.1239, allocations: 1.215 MB / 467.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.1241, allocations: 4 kB / 467.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004881/0.1246, allocations: 222.7 kB / 468.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.1249, allocations: 142.9 kB / 468.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.1251, allocations: 103.9 kB / 468.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005288/0.1257, allocations: 0.5253 MB / 468.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.1259, allocations: 116 kB / 469 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.1261, allocations: 195.3 kB / 469.2 MB, free: 14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.1264, allocations: 239.1 kB / 469.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.043e-05/0.1265, allocations: 56 kB / 469.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1266, allocations: 55.98 kB / 469.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.936e-05/0.1267, allocations: 107.6 kB / 469.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.1269, allocations: 211 kB / 469.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005295/0.1275, allocations: 0.4981 MB / 470.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1275, allocations: 3.938 kB / 470.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1275, allocations: 4 kB / 470.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.1275, allocations: 3.938 kB / 470.4 MB, free: 12.83 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.001788/0.1293, allocations: 0.7904 MB / 471.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.1294, allocations: 8.031 kB / 471.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.557e-05/0.1295, allocations: 40.7 kB / 471.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.1307, allocations: 476.4 kB / 471.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.1307, allocations: 16.56 kB / 471.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.1308, allocations: 20 kB / 471.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000587/0.1314, allocations: 283.4 kB / 472 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1314, allocations: 0 / 472 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.1314, allocations: 8 kB / 472 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.1314, allocations: 8 kB / 472 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005938/0.132, allocations: 224.9 kB / 472.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/0.1344, allocations: 1.273 MB / 473.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.1348, allocations: 138.5 kB / 473.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.1351, allocations: 104.8 kB / 473.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.1352, allocations: 0 / 473.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1352, allocations: 42.5 kB / 473.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.1352, allocations: 0 / 473.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007683/0.136, allocations: 249.3 kB / 474 MB, free: 8.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.136, allocations: 55.41 kB / 474.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.1365, allocations: 365.7 kB / 474.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1365, allocations: 25.7 kB / 474.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.1367, allocations: 224.2 kB / 474.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.1367, allocations: 27.78 kB / 474.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.1369, allocations: 53.64 kB / 474.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003149/0.1372, allocations: 342.8 kB / 475.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.1374, allocations: 95.92 kB / 475.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.1377, allocations: 127.3 kB / 475.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005461/0.1383, allocations: 199.3 kB / 475.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1383, allocations: 0 / 475.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009327/0.1392, allocations: 352.5 kB / 475.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.1393, allocations: 8 kB / 475.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1393, allocations: 0 / 475.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004788/0.1398, allocations: 80.88 kB / 475.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.1401, allocations: 51.89 kB / 476 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.1417, allocations: 1.578 MB / 477.6 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.142, allocations: 31.91 kB / 477.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.142, allocations: 11.98 kB / 477.6 MB, free: 5.145 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.1422, allocations: 149.7 kB / 477.8 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/0.1423, allocations: 35.77 kB / 477.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.058e-05/0.1424, allocations: 27 kB / 477.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1424, allocations: 0 / 477.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1424, allocations: 8 kB / 477.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1424, allocations: 0 / 477.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.1435, allocations: 0.5927 MB / 478.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1435, allocations: 4 kB / 478.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.1437, allocations: 35.98 kB / 478.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1437, allocations: 0 / 478.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.1437, allocations: 0 / 478.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1438, allocations: 4 kB / 478.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.1438, allocations: 7.938 kB / 478.5 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.1443, allocations: 292 kB / 478.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.1444, allocations: 120.9 kB / 478.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.1444, allocations: 3.984 kB / 478.9 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.1447, allocations: 19.98 kB / 478.9 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.1447, allocations: 7.938 kB / 478.9 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.1447, allocations: 3.984 kB / 478.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002916/0.145, allocations: 263.2 kB / 479.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.145, allocations: 4 kB / 479.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003624/0.1454, allocations: 67.89 kB / 479.2 MB, free: 3.414 MB / 350.1 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001516/0.1456, allocations: 99.7 kB / 479.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008281/0.1464, allocations: 347.4 kB / 479.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1464, allocations: 0 / 479.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.1466, allocations: 75.89 kB / 479.7 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.1471, allocations: 82.17 kB / 479.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.1482, allocations: 0.5347 MB / 480.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.1486, allocations: 0.7678 MB / 481.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001664/0.1488, allocations: 46.94 kB / 481.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.1489, allocations: 23.44 kB / 481.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1489, allocations: 0 / 481.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of Templates: time 0.008455/0.1574, allocations: 3.676 MB / 484.9 MB, free: 13.75 MB / 366.1 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)