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.004891/0.004891, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001271/0.001271, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1406/0.1406, allocations: 5.397 MB / 295.9 MB, free: 2.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 59.91 kB / 412.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2634, allocations: 50.61 MB / 463.4 MB, free: 21.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.004366/0.2678, allocations: 3.281 MB / 466.7 MB, free: 19.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.2697, allocations: 1.226 MB / 467.9 MB, free: 18.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.2699, allocations: 3.656 kB / 467.9 MB, free: 18.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005568/0.2704, allocations: 209 kB / 468.1 MB, free: 18.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.2708, allocations: 147.3 kB / 468.3 MB, free: 18.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.2711, allocations: 110.5 kB / 468.4 MB, free: 18.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005236/0.2716, allocations: 0.529 MB / 468.9 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.2718, allocations: 112.5 kB / 469 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.2721, allocations: 202.5 kB / 469.2 MB, free: 18.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.2724, allocations: 231.6 kB / 469.4 MB, free: 17.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.349e-05/0.2724, allocations: 50.16 kB / 469.5 MB, free: 17.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.2726, allocations: 61.19 kB / 469.5 MB, free: 17.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.418e-05/0.2727, allocations: 105 kB / 469.6 MB, free: 17.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.2728, allocations: 209.1 kB / 469.9 MB, free: 17.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005538/0.2734, allocations: 0.5046 MB / 470.4 MB, free: 17.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2734, allocations: 3.938 kB / 470.4 MB, free: 17.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2734, allocations: 0 / 470.4 MB, free: 17.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.2734, allocations: 0 / 470.4 MB, free: 17.47 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.001807/0.2752, allocations: 0.773 MB / 471.1 MB, free: 16.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.2753, allocations: 9.5 kB / 471.1 MB, free: 16.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.891e-05/0.2754, allocations: 44.27 kB / 471.2 MB, free: 16.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009795/0.2764, allocations: 465.5 kB / 471.6 MB, free: 16.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.2764, allocations: 21.5 kB / 471.7 MB, free: 16.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.2765, allocations: 21.94 kB / 471.7 MB, free: 16.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005664/0.277, allocations: 281.9 kB / 472 MB, free: 16.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2771, allocations: 0 / 472 MB, free: 16.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.2771, allocations: 5.594 kB / 472 MB, free: 16.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.2771, allocations: 10.47 kB / 472 MB, free: 16.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006055/0.2777, allocations: 238.3 kB / 472.2 MB, free: 16.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.2797, allocations: 1.251 MB / 473.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.2801, allocations: 150.4 kB / 473.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.2804, allocations: 101.9 kB / 473.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.2805, allocations: 4.5 kB / 473.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.2805, allocations: 36.09 kB / 473.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.2805, allocations: 0 / 473.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007826/0.2813, allocations: 244.9 kB / 474 MB, free: 15.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.2813, allocations: 61 kB / 474 MB, free: 15.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/0.2818, allocations: 374.6 kB / 474.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.2818, allocations: 27.23 kB / 474.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.2819, allocations: 210.2 kB / 474.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.2819, allocations: 26.52 kB / 474.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.973e-05/0.282, allocations: 54.44 kB / 474.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.978e-05/0.2821, allocations: 343.2 kB / 475.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.2824, allocations: 99.56 kB / 475.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.2827, allocations: 126.5 kB / 475.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.2832, allocations: 200.2 kB / 475.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2832, allocations: 3.938 kB / 475.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009736/0.2842, allocations: 348.5 kB / 475.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.2842, allocations: 10.44 kB / 475.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2842, allocations: 1.5 kB / 475.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004858/0.2847, allocations: 71.38 kB / 475.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.285, allocations: 58.11 kB / 476 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.2863, allocations: 1.574 MB / 477.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.2866, allocations: 34.48 kB / 477.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.2866, allocations: 11.33 kB / 477.6 MB, free: 12.39 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.0001299/0.2868, allocations: 144.3 kB / 477.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.2868, allocations: 30.78 kB / 477.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.649e-05/0.2869, allocations: 33.55 kB / 477.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2869, allocations: 1.188 kB / 477.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.2869, allocations: 0 / 477.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2869, allocations: 0.75 kB / 477.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008975/0.2878, allocations: 0.5942 MB / 478.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2879, allocations: 3.938 kB / 478.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.288, allocations: 33.23 kB / 478.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.288, allocations: 0 / 478.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.2881, allocations: 6.766 kB / 478.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2881, allocations: 1 kB / 478.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2881, allocations: 5.531 kB / 478.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004511/0.2885, allocations: 289.4 kB / 478.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.885e-05/0.2886, allocations: 123.1 kB / 478.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.2887, allocations: 4.562 kB / 478.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.2889, allocations: 19.12 kB / 478.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.289, allocations: 14.08 kB / 478.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.289, allocations: 3.469 kB / 478.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002714/0.2893, allocations: 257.7 kB / 479.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2893, allocations: 0 / 479.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003709/0.2897, allocations: 72.95 kB / 479.2 MB, free: 11.3 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.0001096/0.2898, allocations: 102.9 kB / 479.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007888/0.2906, allocations: 336.2 kB / 479.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2906, allocations: 0 / 479.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.2908, allocations: 75.5 kB / 479.7 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.2913, allocations: 72.52 kB / 479.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009482/0.2923, allocations: 0.5393 MB / 480.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.2925, allocations: 0.7715 MB / 481.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.2927, allocations: 41.67 kB / 481.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.265e-05/0.2927, allocations: 27.48 kB / 481.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2928, allocations: 1.25 kB / 481.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of Templates: time 0.007735/0.3005, allocations: 3.772 MB / 484.9 MB, free: 7.98 MB / 350.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)