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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 178.8 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.031/1.031, allocations: 221.4 MB / 229.3 MB, free: 2.996 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 89.97 kB / 280.1 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02241/0.02241, allocations: 5.295 MB / 336.2 MB, free: 9.262 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.778e-06/4.799e-06, allocations: 0 / 395.7 MB, free: 69.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06768/0.0677, allocations: 51.61 MB / 447.3 MB, free: 17.9 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2046/0.2723, allocations: 82.14 MB / 0.517 GB, free: 1.836 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001432/0.2725, allocations: 69.09 kB / 0.5171 GB, free: 1.805 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03232/0.3048, allocations: 11.72 MB / 0.5285 GB, free: 8.066 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.3049, allocations: 4 kB / 0.5285 GB, free: 8.062 MB / 346.7 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.001113/0.306, allocations: 0.6135 MB / 0.5291 GB, free: 7.426 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3061, allocations: 8.031 kB / 0.5291 GB, free: 7.418 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.604e-05/0.3062, allocations: 43.44 kB / 0.5292 GB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.3066, allocations: 329 kB / 0.5295 GB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3066, allocations: 8 kB / 0.5295 GB, free: 7.055 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.3067, allocations: 12 kB / 0.5295 GB, free: 7.043 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004799/0.3072, allocations: 279.7 kB / 0.5298 GB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.3075, allocations: 250.7 kB / 0.53 GB, free: 6.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3075, allocations: 0 / 0.53 GB, free: 6.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.3076, allocations: 4 kB / 0.53 GB, free: 6.676 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3076, allocations: 4 kB / 0.53 GB, free: 6.672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.3095, allocations: 1.359 MB / 0.5314 GB, free: 5.504 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.3098, allocations: 164.9 kB / 0.5315 GB, free: 5.395 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.31, allocations: 104.2 kB / 0.5316 GB, free: 5.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.3101, allocations: 4 kB / 0.5316 GB, free: 5.316 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.3101, allocations: 37.73 kB / 0.5317 GB, free: 5.273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.3101, allocations: 0 / 0.5317 GB, free: 5.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003566/0.3105, allocations: 185.6 kB / 0.5318 GB, free: 5.133 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.3105, allocations: 51.41 kB / 0.5319 GB, free: 5.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.3108, allocations: 335.8 kB / 0.5322 GB, free: 4.816 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.3109, allocations: 29.7 kB / 0.5322 GB, free: 4.781 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.66e-05/0.311, allocations: 173.2 kB / 0.5324 GB, free: 4.625 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.311, allocations: 42.7 kB / 0.5324 GB, free: 4.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/0.311, allocations: 0 / 0.5324 GB, free: 4.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.3111, allocations: 337.8 kB / 0.5328 GB, free: 4.262 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.3113, allocations: 102.2 kB / 0.5329 GB, free: 4.207 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.3115, allocations: 136.3 kB / 0.533 GB, free: 4.109 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3116, allocations: 98.34 kB / 0.5331 GB, free: 4.059 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3116, allocations: 0 / 0.5331 GB, free: 4.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007829/0.3124, allocations: 356.3 kB / 0.5334 GB, free: 3.793 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3124, allocations: 8 kB / 0.5334 GB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3124, allocations: 0 / 0.5334 GB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004891/0.3129, allocations: 83.97 kB / 0.5335 GB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.3134, allocations: 79.73 kB / 0.5336 GB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.3148, allocations: 1.49 MB / 0.535 GB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.3152, allocations: 35.86 kB / 0.5351 GB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.3152, allocations: 15.91 kB / 0.5351 GB, free: 2.047 MB / 346.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * 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 8.805e-05/0.3153, allocations: 116.9 kB / 0.5352 GB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.3154, allocations: 27.62 kB / 0.5352 GB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.555e-05/0.3155, allocations: 33.69 kB / 0.5353 GB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3155, allocations: 4 kB / 0.5353 GB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.3155, allocations: 0 / 0.5353 GB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3155, allocations: 0 / 0.5353 GB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007315/0.3162, allocations: 0.6335 MB / 0.5359 GB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3162, allocations: 0 / 0.5359 GB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.3165, allocations: 55.88 kB / 0.5359 GB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3165, allocations: 3.906 kB / 0.5359 GB, free: 1.277 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.3166, allocations: 8.016 kB / 0.5359 GB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3166, allocations: 0 / 0.5359 GB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3166, allocations: 4 kB / 0.536 GB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003105/0.3169, allocations: 299 kB / 0.5362 GB, free: 1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.317, allocations: 137.8 kB / 0.5364 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.3171, allocations: 3.906 kB / 0.5364 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.3174, allocations: 27.97 kB / 0.5364 GB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.3174, allocations: 11.92 kB / 0.5364 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.3174, allocations: 7.984 kB / 0.5364 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002514/0.3177, allocations: 261.1 kB / 0.5367 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003366/0.318, allocations: 87.72 kB / 0.5368 GB, free: 0.5469 MB / 346.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001729/0.3182, allocations: 127.2 kB / 0.5369 GB, free: 424 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005453/0.3188, allocations: 327.3 kB / 0.5372 GB, free: 164 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3188, allocations: 0 / 0.5372 GB, free: 164 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.3189, allocations: 73.91 kB / 0.5373 GB, free: 116 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.3193, allocations: 54.19 kB / 0.5373 GB, free: 76 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009777/0.3203, allocations: 404.8 kB / 0.5377 GB, free: 15.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.3207, allocations: 0.8237 MB / 0.5385 GB, free: 14.84 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3207, allocations: 0 / 0.5385 GB, free: 14.84 MB / 362.7 MB Notification: Performance of Templates: time 0.007407/0.3281, allocations: 4.127 MB / 0.5425 GB, free: 10.77 MB / 362.7 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)