Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") translateModel(PhotoVoltaics.Examples.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") [: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.00195/0.00195, allocations: 179.2 kB / 7.455 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.101/1.101, allocations: 221.4 MB / 229.3 MB, free: 3.031 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.0008878/0.0008879, allocations: 96.77 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02312/0.02312, allocations: 5.299 MB / 336.2 MB, free: 9.227 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.972e-06/6.062e-06, allocations: 0 / 395.7 MB, free: 69.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08151/0.08153, allocations: 51.61 MB / 447.3 MB, free: 17.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.228/0.3096, allocations: 82.72 MB / 0.5176 GB, free: 1.293 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001798/0.3098, allocations: 68.22 kB / 0.5177 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03569/0.3455, allocations: 12.51 MB / 0.5299 GB, free: 6.852 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.771e-05/0.3456, allocations: 8 kB / 0.5299 GB, free: 6.844 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001258/0.3469, allocations: 0.662 MB / 0.5305 GB, free: 6.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3469, allocations: 8.031 kB / 0.5305 GB, free: 6.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.3471, allocations: 47.44 kB / 0.5306 GB, free: 6.105 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005554/0.3476, allocations: 360.3 kB / 0.5309 GB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3477, allocations: 8 kB / 0.5309 GB, free: 5.758 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-05/0.3477, allocations: 20 kB / 0.531 GB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000605/0.3483, allocations: 327.3 kB / 0.5313 GB, free: 5.543 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004638/0.3488, allocations: 297.2 kB / 0.5315 GB, free: 5.309 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3488, allocations: 3.938 kB / 0.5316 GB, free: 5.305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/0.3489, allocations: 0 / 0.5316 GB, free: 5.305 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.3489, allocations: 8 kB / 0.5316 GB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.3512, allocations: 1.436 MB / 0.533 GB, free: 4.094 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.3515, allocations: 241.7 kB / 0.5332 GB, free: 3.934 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.3518, allocations: 134.2 kB / 0.5333 GB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.3518, allocations: 192 / 0.5333 GB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3519, allocations: 38.12 kB / 0.5334 GB, free: 3.797 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.032e-06/0.3519, allocations: 0 / 0.5334 GB, free: 3.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.002986/0.3549, allocations: 0.5765 MB / 0.5339 GB, free: 3.301 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.3549, allocations: 55.34 kB / 0.534 GB, free: 3.234 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.3553, allocations: 358.1 kB / 0.5343 GB, free: 2.969 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.3554, allocations: 25.7 kB / 0.5343 GB, free: 2.938 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.393e-05/0.3555, allocations: 180.1 kB / 0.5345 GB, free: 2.773 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.3555, allocations: 69.38 kB / 0.5346 GB, free: 2.711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.3556, allocations: 0 / 0.5346 GB, free: 2.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3557, allocations: 344.9 kB / 0.5349 GB, free: 2.379 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.3559, allocations: 118.6 kB / 0.535 GB, free: 2.316 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.3561, allocations: 163.4 kB / 0.5352 GB, free: 2.199 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.3563, allocations: 121.9 kB / 0.5353 GB, free: 2.133 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3563, allocations: 3.938 kB / 0.5353 GB, free: 2.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003362/0.3597, allocations: 0.752 MB / 0.536 GB, free: 1.496 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3597, allocations: 4 kB / 0.536 GB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3598, allocations: 3.984 kB / 0.536 GB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002821/0.3626, allocations: 0.5631 MB / 0.5366 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.3629, allocations: 59.28 kB / 0.5366 GB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006655/0.3695, allocations: 3.969 MB / 0.5405 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/0.37, allocations: 51.77 kB / 0.5406 GB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.37, allocations: 19.53 kB / 0.5406 GB, free: 13.2 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 (30): * Single equations (assignments): 28 * 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.0001613/0.3702, allocations: 107.3 kB / 0.5407 GB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/0.3703, allocations: 39.52 kB / 0.5407 GB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.255e-05/0.3704, allocations: 36.53 kB / 0.5408 GB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3704, allocations: 0 / 0.5408 GB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.3704, allocations: 192 / 0.5408 GB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.3704, allocations: 12 kB / 0.5408 GB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/0.3739, allocations: 1.095 MB / 0.5418 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3739, allocations: 0 / 0.5418 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.374, allocations: 43.64 kB / 0.5419 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002247/0.3763, allocations: 485.4 kB / 0.5423 GB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.3763, allocations: 11.83 kB / 0.5424 GB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004493/0.3808, allocations: 2.23 MB / 0.5445 GB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3808, allocations: 0 / 0.5445 GB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002899/0.3837, allocations: 0.6936 MB / 0.5452 GB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.384, allocations: 151.8 kB / 0.5454 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.418e-05/0.384, allocations: 7.984 kB / 0.5454 GB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.3844, allocations: 27.98 kB / 0.5454 GB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.3844, allocations: 11.97 kB / 0.5454 GB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.3845, allocations: 11.8 kB / 0.5454 GB, free: 8.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002907/0.3848, allocations: 265.3 kB / 0.5457 GB, free: 8.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005504/0.3853, allocations: 131.7 kB / 0.5458 GB, free: 8.512 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 (17): * Single equations (assignments): 16 * 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.0002013/0.3855, allocations: 136.1 kB / 0.5459 GB, free: 8.367 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009543/0.3865, allocations: 0.4955 MB / 0.5464 GB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3865, allocations: 0 / 0.5464 GB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.3869, allocations: 227.6 kB / 0.5466 GB, free: 7.758 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/0.3874, allocations: 67.48 kB / 0.5467 GB, free: 7.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.3887, allocations: 464.4 kB / 0.5471 GB, free: 7.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/0.3892, allocations: 0.8377 MB / 0.5479 GB, free: 6.43 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3892, allocations: 3.938 kB / 0.548 GB, free: 6.426 MB / 362.7 MB Notification: Performance of Templates: time 0.01284/0.402, allocations: 7.929 MB / 0.5557 GB, free: 14.54 MB / 378.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1)