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.006792/0.006792, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.002017/0.002017, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1324/0.1324, allocations: 5.383 MB / 295.9 MB, free: 2.816 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.88 kB / 412.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3339, allocations: 50.61 MB / 463.4 MB, free: 21.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.00516/0.3391, allocations: 3.283 MB / 466.7 MB, free: 19.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.3414, allocations: 1.226 MB / 467.9 MB, free: 18.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000331/0.3418, allocations: 4.156 kB / 467.9 MB, free: 18.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006987/0.3425, allocations: 209.4 kB / 468.1 MB, free: 18.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004397/0.343, allocations: 147.9 kB / 468.3 MB, free: 18.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.3433, allocations: 108.7 kB / 468.4 MB, free: 18.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000654/0.3439, allocations: 0.5299 MB / 468.9 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.3442, allocations: 115.2 kB / 469 MB, free: 17.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.3445, allocations: 203.5 kB / 469.2 MB, free: 17.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.3448, allocations: 231.5 kB / 469.4 MB, free: 17.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.359e-05/0.3449, allocations: 54.84 kB / 469.5 MB, free: 17.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.345, allocations: 56.56 kB / 469.5 MB, free: 17.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.311e-05/0.3451, allocations: 105.8 kB / 469.7 MB, free: 17.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.3454, allocations: 216.8 kB / 469.9 MB, free: 17.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006859/0.3461, allocations: 0.4946 MB / 470.4 MB, free: 17.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3461, allocations: 0 / 470.4 MB, free: 17.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.559e-06/0.3461, allocations: 2.125 kB / 470.4 MB, free: 17.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.3461, allocations: 0 / 470.4 MB, free: 17.17 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.002037/0.3481, allocations: 0.7755 MB / 471.1 MB, free: 16.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3482, allocations: 13.62 kB / 471.1 MB, free: 16.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.666e-05/0.3483, allocations: 39.72 kB / 471.2 MB, free: 16.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.3494, allocations: 465.7 kB / 471.6 MB, free: 16.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.3494, allocations: 18.19 kB / 471.7 MB, free: 16.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.3495, allocations: 21.38 kB / 471.7 MB, free: 16.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005958/0.3501, allocations: 277.8 kB / 472 MB, free: 16.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3501, allocations: 0 / 472 MB, free: 16.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.3501, allocations: 14.94 kB / 472 MB, free: 16.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.3502, allocations: 9.344 kB / 472 MB, free: 16.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005786/0.3507, allocations: 229.1 kB / 472.2 MB, free: 16.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.3529, allocations: 1.264 MB / 473.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.3533, allocations: 140.8 kB / 473.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.3536, allocations: 99.34 kB / 473.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.3536, allocations: 5.922 kB / 473.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.3536, allocations: 31.69 kB / 473.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.3536, allocations: 1.5 kB / 473.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007451/0.3544, allocations: 255 kB / 474 MB, free: 14.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.3544, allocations: 54.44 kB / 474 MB, free: 14.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.3548, allocations: 370.4 kB / 474.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.3549, allocations: 27.14 kB / 474.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.355, allocations: 212.9 kB / 474.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.3551, allocations: 26.72 kB / 474.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.3552, allocations: 48.92 kB / 474.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3553, allocations: 348.5 kB / 475 MB, free: 14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.3556, allocations: 95.25 kB / 475.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.3559, allocations: 130.9 kB / 475.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.3563, allocations: 199.6 kB / 475.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3564, allocations: 1.094 kB / 475.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001031/0.3574, allocations: 354.1 kB / 475.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3574, allocations: 11.59 kB / 475.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3574, allocations: 4.938 kB / 475.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004928/0.3579, allocations: 81.34 kB / 475.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.3583, allocations: 49.62 kB / 476 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.3596, allocations: 1.57 MB / 477.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/0.3599, allocations: 37.64 kB / 477.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.36, allocations: 11.39 kB / 477.6 MB, free: 12.09 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.000144/0.3601, allocations: 145 kB / 477.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.97e-05/0.3602, allocations: 30.3 kB / 477.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.79e-05/0.3603, allocations: 32.78 kB / 477.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3603, allocations: 1.344 kB / 477.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3603, allocations: 0.6094 kB / 477.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3603, allocations: 4.734 kB / 477.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009268/0.3612, allocations: 0.599 MB / 478.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3612, allocations: 48 / 478.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.3614, allocations: 31.14 kB / 478.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3614, allocations: 2.125 kB / 478.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.3614, allocations: 3.094 kB / 478.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3615, allocations: 4.031 kB / 478.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3615, allocations: 0 / 478.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.3619, allocations: 295.5 kB / 478.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.396e-05/0.362, allocations: 125.7 kB / 478.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.3621, allocations: 0.875 kB / 478.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.3623, allocations: 20.28 kB / 478.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.3624, allocations: 9.781 kB / 478.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.3624, allocations: 7.156 kB / 478.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002774/0.3627, allocations: 260.8 kB / 479.1 MB, free: 11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3627, allocations: 0 / 479.1 MB, free: 11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003646/0.363, allocations: 69.89 kB / 479.2 MB, free: 10.99 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.0001154/0.3632, allocations: 98.48 kB / 479.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007605/0.3639, allocations: 339.1 kB / 479.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3639, allocations: 5.312 kB / 479.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.3641, allocations: 71.48 kB / 479.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.3646, allocations: 67.06 kB / 479.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009308/0.3656, allocations: 0.5362 MB / 480.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.3658, allocations: 0.7733 MB / 481.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001612/0.3659, allocations: 40.12 kB / 481.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/0.366, allocations: 30.28 kB / 481.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.366, allocations: 5.094 kB / 481.1 MB, free: 9.609 MB / 350.1 MB Notification: Performance of Templates: time 0.007376/0.3734, allocations: 3.787 MB / 484.9 MB, free: 7.746 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)