Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") [: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.0021/0.0021, allocations: 179.7 kB / 7.455 MB, free: 2.484 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.053/1.053, allocations: 221.4 MB / 229.3 MB, free: 2.98 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.0008345/0.0008345, allocations: 106.4 kB / 280.1 MB, free: 1.273 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.287 MB / 336.2 MB, free: 9.258 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.929e-06/4.939e-06, allocations: 4 kB / 395.7 MB, free: 69.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06323/0.06325, allocations: 51.6 MB / 447.3 MB, free: 17.9 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1928/0.256, allocations: 82.18 MB / 0.5171 GB, free: 1.988 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001525/0.2562, allocations: 66.47 kB / 0.5171 GB, free: 1.957 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03207/0.2883, allocations: 12.1 MB / 0.529 GB, free: 7.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.2884, allocations: 11.88 kB / 0.529 GB, free: 7.875 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001068/0.2894, allocations: 0.6321 MB / 0.5296 GB, free: 7.215 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2895, allocations: 8.031 kB / 0.5296 GB, free: 7.207 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.017e-05/0.2896, allocations: 43.53 kB / 0.5296 GB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.29, allocations: 344.4 kB / 0.53 GB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.29, allocations: 8 kB / 0.53 GB, free: 6.828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.2901, allocations: 16 kB / 0.53 GB, free: 6.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005028/0.2906, allocations: 296.8 kB / 0.5303 GB, free: 6.641 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.291, allocations: 261.6 kB / 0.5305 GB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.291, allocations: 3.906 kB / 0.5305 GB, free: 6.434 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.291, allocations: 0 / 0.5305 GB, free: 6.434 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.291, allocations: 8 kB / 0.5305 GB, free: 6.426 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.2929, allocations: 1.352 MB / 0.5318 GB, free: 5.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.2932, allocations: 194.7 kB / 0.532 GB, free: 5.156 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.2935, allocations: 105.7 kB / 0.5321 GB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.2935, allocations: 0 / 0.5321 GB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.2935, allocations: 45.94 kB / 0.5322 GB, free: 5.035 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.2935, allocations: 0 / 0.5322 GB, free: 5.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.002884/0.2964, allocations: 0.5362 MB / 0.5327 GB, free: 4.566 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.2964, allocations: 59.39 kB / 0.5328 GB, free: 4.496 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.2968, allocations: 337 kB / 0.5331 GB, free: 4.242 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.2968, allocations: 25.7 kB / 0.5331 GB, free: 4.211 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.2969, allocations: 183.8 kB / 0.5333 GB, free: 4.047 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.297, allocations: 46.3 kB / 0.5333 GB, free: 4.008 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.297, allocations: 0 / 0.5333 GB, free: 4.008 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2971, allocations: 338.1 kB / 0.5336 GB, free: 3.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.2973, allocations: 104.8 kB / 0.5337 GB, free: 3.625 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.2974, allocations: 142.2 kB / 0.5339 GB, free: 3.527 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.2976, allocations: 113.8 kB / 0.534 GB, free: 3.465 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2976, allocations: 0 / 0.534 GB, free: 3.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.003213/0.3008, allocations: 0.7112 MB / 0.5347 GB, free: 2.859 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.3009, allocations: 4 kB / 0.5347 GB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3009, allocations: 3.906 kB / 0.5347 GB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002747/0.3036, allocations: 0.5634 MB / 0.5352 GB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.3039, allocations: 43.53 kB / 0.5353 GB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006291/0.3102, allocations: 3.981 MB / 0.5392 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.3106, allocations: 35.89 kB / 0.5392 GB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.3106, allocations: 19.88 kB / 0.5392 GB, free: 14.58 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: variableResistor.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real 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 (23): * Single equations (assignments): 21 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.3107, allocations: 108.9 kB / 0.5393 GB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.3108, allocations: 31.56 kB / 0.5394 GB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.997e-05/0.3109, allocations: 37.5 kB / 0.5394 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3109, allocations: 48 / 0.5394 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.3109, allocations: 4.172 kB / 0.5394 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3109, allocations: 11.91 kB / 0.5394 GB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/0.3142, allocations: 1.028 MB / 0.5404 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3142, allocations: 0 / 0.5404 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3144, allocations: 31.95 kB / 0.5404 GB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002315/0.3167, allocations: 487.1 kB / 0.5409 GB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.3167, allocations: 7.984 kB / 0.5409 GB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004394/0.3211, allocations: 2.221 MB / 0.5431 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3211, allocations: 0 / 0.5431 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002826/0.324, allocations: 0.657 MB / 0.5437 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.3241, allocations: 147.5 kB / 0.5439 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.3242, allocations: 4 kB / 0.5439 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.3245, allocations: 27.98 kB / 0.5439 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.3245, allocations: 7.984 kB / 0.5439 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.3246, allocations: 7.984 kB / 0.5439 GB, free: 10.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002444/0.3248, allocations: 269.8 kB / 0.5442 GB, free: 10.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004469/0.3253, allocations: 111.8 kB / 0.5443 GB, free: 10.01 MB / 362.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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001722/0.3254, allocations: 137 kB / 0.5444 GB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007105/0.3262, allocations: 471.9 kB / 0.5449 GB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.3262, allocations: 4.062 kB / 0.5449 GB, free: 9.461 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.3264, allocations: 200.5 kB / 0.5451 GB, free: 9.289 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3268, allocations: 60.23 kB / 0.5451 GB, free: 9.242 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.3279, allocations: 444.8 kB / 0.5455 GB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.3282, allocations: 0.814 MB / 0.5463 GB, free: 7.992 MB / 362.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3283, allocations: 0 / 0.5463 GB, free: 7.992 MB / 362.7 MB Notification: Performance of Templates: time 0.01063/0.3389, allocations: 7.511 MB / 0.5537 GB, free: 0.5234 MB / 362.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1)