Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [: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.1+maint.om/package.mo): time 0.006372/0.006372, allocations: 182.2 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.248/1.248, allocations: 170.6 MB / 178.4 MB, free: 15.38 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001603/0.001603, allocations: 107.9 kB / 217.7 MB, free: 8.148 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.843e-06/6.863e-06, allocations: 4 kB / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09331/0.09333, allocations: 38.75 MB / 300.5 MB, free: 3.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2819/0.3753, allocations: 81.15 MB / 381.7 MB, free: 3.543 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.3756, allocations: 71.66 kB / 381.7 MB, free: 3.508 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.09428/0.4699, allocations: 41.58 MB / 423.3 MB, free: 156 kB / 298.7 MB Notification: Performance of Transformations before backend: time 7.648e-05/0.47, allocations: 16 kB / 423.3 MB, free: 140 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00306/0.4731, allocations: 1.118 MB / 424.4 MB, free: 14.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.4731, allocations: 8.031 kB / 424.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003185/0.4735, allocations: 114.6 kB / 424.6 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.4751, allocations: 0.7197 MB / 425.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.4752, allocations: 11.94 kB / 425.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.222e-05/0.4753, allocations: 16 kB / 425.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000508/0.4758, allocations: 213.3 kB / 425.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.4763, allocations: 252.7 kB / 425.8 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.4763, allocations: 3.906 kB / 425.8 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.4763, allocations: 0 / 425.8 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.4764, allocations: 12 kB / 425.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.4788, allocations: 1.331 MB / 427.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.4793, allocations: 230.9 kB / 427.3 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.4796, allocations: 208.6 kB / 427.5 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005979/0.4856, allocations: 4.211 MB / 431.7 MB, free: 6.852 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.4859, allocations: 156.2 kB / 431.9 MB, free: 6.688 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 2.675e-06/0.4859, allocations: 4 kB / 431.9 MB, free: 6.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001107/0.487, allocations: 406.5 kB / 432.3 MB, free: 6.273 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.4871, allocations: 59.59 kB / 432.4 MB, free: 6.203 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.4881, allocations: 0.6453 MB / 433 MB, free: 5.543 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.4882, allocations: 25.7 kB / 433 MB, free: 5.512 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.4884, allocations: 260.3 kB / 433.3 MB, free: 5.254 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.39e-05/0.4885, allocations: 94.66 kB / 433.4 MB, free: 5.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/0.4885, allocations: 0 / 433.4 MB, free: 5.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4887, allocations: 322 kB / 433.7 MB, free: 4.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.4888, allocations: 80.77 kB / 433.8 MB, free: 4.762 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.4891, allocations: 191.8 kB / 434 MB, free: 4.527 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.4895, allocations: 147.8 kB / 434.1 MB, free: 4.383 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.4895, allocations: 7.906 kB / 434.1 MB, free: 4.375 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009773/0.4905, allocations: 489.7 kB / 434.6 MB, free: 3.883 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4905, allocations: 7.906 kB / 434.6 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.77e-05/0.4906, allocations: 32 kB / 434.6 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002553/0.4908, allocations: 61.53 kB / 434.7 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.4912, allocations: 84.25 kB / 434.8 MB, free: 3.695 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.4934, allocations: 2.537 MB / 437.3 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006353/0.4941, allocations: 43.78 kB / 437.3 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/0.4942, allocations: 20 kB / 437.4 MB, free: 0.8633 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.4944, allocations: 120.8 kB / 437.5 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.4945, allocations: 102.8 kB / 437.6 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.4961, allocations: 0.5144 MB / 438.1 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4961, allocations: 0 / 438.1 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4961, allocations: 4 kB / 438.1 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.4961, allocations: 4 kB / 438.1 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009595/0.4971, allocations: 0.5149 MB / 438.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.576e-05/0.4972, allocations: 31.98 kB / 438.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.4975, allocations: 51.95 kB / 438.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001655/0.4976, allocations: 49.69 kB / 438.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.4977, allocations: 12 kB / 438.8 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.4998, allocations: 2.528 MB / 441.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.4998, allocations: 7.969 kB / 441.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001084/0.5009, allocations: 0.5494 MB / 441.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.5012, allocations: 195.9 kB / 442 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.5014, allocations: 0 / 442 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.5017, allocations: 15.98 kB / 442.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/0.5018, allocations: 23.97 kB / 442.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.5019, allocations: 15.89 kB / 442.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.000817/0.5027, allocations: 0.4996 MB / 442.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009795/0.5037, allocations: 263.5 kB / 442.9 MB, free: 11.03 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001378/0.5051, allocations: 0.4941 MB / 443.3 MB, free: 10.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.5062, allocations: 0.4892 MB / 443.8 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.892e-05/0.5062, allocations: 8 kB / 443.8 MB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006287/0.5069, allocations: 386.6 kB / 444.2 MB, free: 9.602 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/0.5075, allocations: 88.39 kB / 444.3 MB, free: 9.512 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.5106, allocations: 1.047 MB / 445.4 MB, free: 8.434 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/0.5117, allocations: 1.024 MB / 446.4 MB, free: 7.383 MB / 330.7 MB Notification: Performance of SimCode: time 1.323e-06/0.5117, allocations: 0 / 446.4 MB, free: 7.383 MB / 330.7 MB Notification: Performance of Templates: time 0.02032/0.532, allocations: 7.914 MB / 454.3 MB, free: 15.46 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)