Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz") [: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 3.2.2+maint.om/package.mo): time 0.001819/0.001819, allocations: 196.1 kB / 8.138 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.122/1.122, allocations: 194.2 MB / 202.8 MB, free: 8.656 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001766/0.001766, allocations: 115.7 kB / 247.7 MB, free: 6.438 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.396e-06/8.506e-06, allocations: 0 / 297.6 MB, free: 8.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.09598, allocations: 44.49 MB / 342 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2168/0.3129, allocations: 81.31 MB / 423.4 MB, free: 13.97 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001539/0.313, allocations: 70.09 kB / 423.4 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.09317/0.4062, allocations: 35.75 MB / 459.2 MB, free: 1.938 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.375e-05/0.4063, allocations: 12 kB / 459.2 MB, free: 1.926 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00203/0.4083, allocations: 1.194 MB / 460.4 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.4084, allocations: 8.031 kB / 460.4 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.4087, allocations: 130.4 kB / 460.5 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.4098, allocations: 0.7189 MB / 461.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.4099, allocations: 8 kB / 461.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.4099, allocations: 23.89 kB / 461.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000407/0.4104, allocations: 193.1 kB / 461.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.4108, allocations: 266.5 kB / 461.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.4108, allocations: 3.984 kB / 461.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.4109, allocations: 0 / 461.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.4109, allocations: 8 kB / 461.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.413, allocations: 1.128 MB / 462.9 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.4134, allocations: 213.2 kB / 463.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004306/0.4139, allocations: 273.2 kB / 463.3 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001485/0.4154, allocations: 1.274 MB / 464.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.4154, allocations: 38.47 kB / 464.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=38): time 2.404e-06/0.4154, allocations: 0 / 464.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.002687/0.4181, allocations: 1.158 MB / 465.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.4182, allocations: 114.8 kB / 465.9 MB, free: 10.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.4192, allocations: 0.7089 MB / 466.6 MB, free: 9.965 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.827e-05/0.4193, allocations: 29.7 kB / 466.6 MB, free: 9.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.4195, allocations: 193.6 kB / 466.8 MB, free: 9.738 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.4196, allocations: 126 kB / 467 MB, free: 9.613 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.4196, allocations: 4 kB / 467 MB, free: 9.609 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.4198, allocations: 321.9 kB / 467.3 MB, free: 9.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.4199, allocations: 100.3 kB / 467.4 MB, free: 9.188 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.4202, allocations: 134.8 kB / 467.5 MB, free: 9.047 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.4206, allocations: 139.7 kB / 467.6 MB, free: 8.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4206, allocations: 0 / 467.6 MB, free: 8.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001075/0.4217, allocations: 474 kB / 468.1 MB, free: 8.434 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4217, allocations: 9.078 kB / 468.1 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.441e-05/0.4217, allocations: 12 kB / 468.1 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002955/0.422, allocations: 69.72 kB / 468.2 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.4223, allocations: 39.91 kB / 468.2 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.4249, allocations: 2.867 MB / 471.1 MB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004048/0.4253, allocations: 8.062 kB / 471.1 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-05/0.4254, allocations: 24.17 kB / 471.1 MB, free: 5.172 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.4256, allocations: 142.5 kB / 471.3 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.4258, allocations: 130.5 kB / 471.4 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/0.4277, allocations: 0.6786 MB / 472.1 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.4277, allocations: 4 kB / 472.1 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4277, allocations: 0 / 472.1 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4277, allocations: 7.906 kB / 472.1 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009509/0.4287, allocations: 0.5601 MB / 472.6 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.007e-05/0.4287, allocations: 15.98 kB / 472.7 MB, free: 3.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.429, allocations: 35.92 kB / 472.7 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002193/0.4292, allocations: 69.67 kB / 472.8 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.4292, allocations: 12 kB / 472.8 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/0.4317, allocations: 2.866 MB / 475.6 MB, free: 360 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4317, allocations: 0 / 475.6 MB, free: 360 kB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001369/0.4331, allocations: 0.7761 MB / 476.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004591/0.4335, allocations: 283.4 kB / 476.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.4337, allocations: 4 kB / 476.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.4341, allocations: 8 kB / 476.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/0.4342, allocations: 27.89 kB / 476.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/0.4342, allocations: 20.06 kB / 476.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0007755/0.435, allocations: 0.5477 MB / 477.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001007/0.436, allocations: 239.7 kB / 477.5 MB, free: 14.42 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D3.n.v,D2.pin) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000821/0.4368, allocations: 411.7 kB / 477.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009435/0.4378, allocations: 0.638 MB / 478.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4378, allocations: 4.062 kB / 478.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006039/0.4384, allocations: 0.5273 MB / 479.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.4389, allocations: 91.61 kB / 479.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.4411, allocations: 1.044 MB / 480.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007524/0.4419, allocations: 1.063 MB / 481.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4419, allocations: 0 / 481.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of Templates: time 0.01747/0.4593, allocations: 8.19 MB / 489.5 MB, free: 2.309 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1)