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.001119/0.001119, allocations: 110.8 kB / 16.37 MB, free: 6.012 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.001066/0.001066, allocations: 191.4 kB / 17.31 MB, free: 5.613 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02616/0.02616, allocations: 5.403 MB / 296.6 MB, free: 9.484 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.91 kB / 362.4 MB, free: 7.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.187, allocations: 50.62 MB / 413 MB, free: 29.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.003334/0.1903, allocations: 3.269 MB / 416.3 MB, free: 26.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.1916, allocations: 1.244 MB / 417.5 MB, free: 24.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.1917, allocations: 4 kB / 417.5 MB, free: 24.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000422/0.1922, allocations: 206.8 kB / 417.7 MB, free: 24.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.1924, allocations: 134.9 kB / 417.9 MB, free: 24.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.1926, allocations: 107.9 kB / 418 MB, free: 24.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.1929, allocations: 0.5254 MB / 418.5 MB, free: 23.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.1931, allocations: 124 kB / 418.6 MB, free: 23.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.1933, allocations: 191.3 kB / 418.8 MB, free: 23.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.1935, allocations: 239 kB / 419 MB, free: 23.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.916e-05/0.1935, allocations: 52 kB / 419.1 MB, free: 23.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.1936, allocations: 56 kB / 419.1 MB, free: 23.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.1937, allocations: 103.6 kB / 419.2 MB, free: 23.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.1938, allocations: 222.9 kB / 419.4 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.1941, allocations: 0.4944 MB / 419.9 MB, free: 22.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1941, allocations: 4 kB / 419.9 MB, free: 22.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1941, allocations: 0 / 419.9 MB, free: 22.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.1941, allocations: 0 / 419.9 MB, free: 22.33 MB / 302.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.001565/0.1957, allocations: 0.779 MB / 420.7 MB, free: 21.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.1958, allocations: 11.97 kB / 420.7 MB, free: 21.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.43e-05/0.1958, allocations: 40.47 kB / 420.8 MB, free: 21.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008413/0.1967, allocations: 472 kB / 421.2 MB, free: 20.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1967, allocations: 20.56 kB / 421.3 MB, free: 20.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.1967, allocations: 16 kB / 421.3 MB, free: 20.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.1972, allocations: 283.4 kB / 421.5 MB, free: 20.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1972, allocations: 0 / 421.5 MB, free: 20.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.1972, allocations: 4 kB / 421.6 MB, free: 20.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1972, allocations: 8 kB / 421.6 MB, free: 20.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/0.1977, allocations: 232.9 kB / 421.8 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.1993, allocations: 1.258 MB / 423 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.1997, allocations: 146.5 kB / 423.2 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.1999, allocations: 100.8 kB / 423.3 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.2, allocations: 0 / 423.3 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.2, allocations: 34.5 kB / 423.3 MB, free: 18.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.2, allocations: 4 kB / 423.3 MB, free: 18.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006447/0.2006, allocations: 245.2 kB / 423.6 MB, free: 18.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.2007, allocations: 51.41 kB / 423.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.201, allocations: 365.7 kB / 424 MB, free: 18.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.201, allocations: 29.7 kB / 424 MB, free: 18.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.173e-05/0.2011, allocations: 219.8 kB / 424.2 MB, free: 17.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.2011, allocations: 31.55 kB / 424.2 MB, free: 17.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.912e-05/0.2012, allocations: 45.69 kB / 424.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.2013, allocations: 346.7 kB / 424.6 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.2015, allocations: 95.94 kB / 424.7 MB, free: 17.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.2017, allocations: 132.8 kB / 424.9 MB, free: 17.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.2021, allocations: 200.4 kB / 425 MB, free: 16.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.2021, allocations: 0 / 425 MB, free: 16.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008019/0.2029, allocations: 356.4 kB / 425.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2029, allocations: 4 kB / 425.4 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2029, allocations: 0 / 425.4 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/0.2034, allocations: 76.78 kB / 425.5 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.2037, allocations: 55.95 kB / 425.5 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.2048, allocations: 1.57 MB / 427.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.2051, allocations: 39.67 kB / 427.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.2051, allocations: 11.92 kB / 427.2 MB, free: 14.68 MB / 302.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.000106/0.2052, allocations: 153.8 kB / 427.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.2053, allocations: 27.62 kB / 427.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.2053, allocations: 27 kB / 427.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2053, allocations: 4 kB / 427.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.2053, allocations: 4 kB / 427.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2053, allocations: 0 / 427.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006919/0.206, allocations: 0.5928 MB / 428 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.206, allocations: 3.984 kB / 428 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.2062, allocations: 27.97 kB / 428 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2062, allocations: 0 / 428 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.2062, allocations: 4 kB / 428 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2062, allocations: 0 / 428 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2063, allocations: 0 / 428 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.2066, allocations: 304.2 kB / 428.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.2067, allocations: 116.7 kB / 428.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.2068, allocations: 7.984 kB / 428.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.207, allocations: 19.98 kB / 428.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.207, allocations: 7.938 kB / 428.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.2071, allocations: 7.984 kB / 428.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.2073, allocations: 259.2 kB / 428.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2073, allocations: 0 / 428.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003185/0.2076, allocations: 71.84 kB / 428.8 MB, free: 12.96 MB / 302.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 9.949e-05/0.2077, allocations: 99.72 kB / 428.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006369/0.2083, allocations: 355.2 kB / 429.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2083, allocations: 0 / 429.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.2085, allocations: 68.2 kB / 429.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.209, allocations: 69.47 kB / 429.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007783/0.2098, allocations: 0.5352 MB / 429.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.2099, allocations: 0.7717 MB / 430.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.2101, allocations: 38.95 kB / 430.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.2102, allocations: 27.42 kB / 430.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2102, allocations: 4 kB / 430.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of Templates: time 0.006226/0.2164, allocations: 3.647 MB / 434.4 MB, free: 7.336 MB / 302.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 -s cvode -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1)