Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [: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.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 183.2 kB / 8.481 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.175/1.175, allocations: 205.2 MB / 214.1 MB, free: 5.438 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008795/0.0008795, allocations: 75.36 kB / 262.1 MB, free: 5.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.661e-06/5.681e-06, allocations: 0 / 315 MB, free: 41.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06762/0.06764, allocations: 47.57 MB / 362.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2168/0.2845, allocations: 90.59 MB / 453.1 MB, free: 8.605 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.2848, allocations: 73.55 kB / 453.2 MB, free: 8.594 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1051/0.3899, allocations: 54.66 MB / 0.496 GB, free: 3.078 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.045e-05/0.3899, allocations: 24 kB / 0.496 GB, free: 3.055 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.00263/0.3926, allocations: 1.767 MB / 0.4977 GB, free: 1.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.3926, allocations: 8.031 kB / 0.4977 GB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.3929, allocations: 225.4 kB / 0.4979 GB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/0.3946, allocations: 1.255 MB / 0.4992 GB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.3946, allocations: 24 kB / 0.4992 GB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.673e-05/0.3947, allocations: 36 kB / 0.4992 GB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007256/0.3955, allocations: 442.5 kB / 0.4996 GB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008265/0.3963, allocations: 0.5508 MB / 0.5002 GB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3963, allocations: 0 / 0.5002 GB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.035e-05/0.3964, allocations: 4 kB / 0.5002 GB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.3964, allocations: 19.98 kB / 0.5002 GB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.3996, allocations: 2.49 MB / 0.5026 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/0.4002, allocations: 457.2 kB / 0.5031 GB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005315/0.4008, allocations: 458.2 kB / 0.5035 GB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009136/0.4099, allocations: 8.716 MB / 0.512 GB, free: 1.102 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004284/0.4104, allocations: 293.8 kB / 0.5123 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of pre-optimization done (n=67): time 2.274e-06/0.4104, allocations: 0 / 0.5123 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of matching and sorting (n=67): time 0.00156/0.4119, allocations: 0.9231 MB / 0.5132 GB, free: 15.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.412, allocations: 81.55 kB / 0.5133 GB, free: 15.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.4134, allocations: 1.155 MB / 0.5144 GB, free: 14.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.791e-05/0.4134, allocations: 33.7 kB / 0.5144 GB, free: 14.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.4137, allocations: 412.8 kB / 0.5148 GB, free: 14.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.4139, allocations: 217.3 kB / 0.515 GB, free: 13.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.4139, allocations: 0 / 0.515 GB, free: 13.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.414, allocations: 346.8 kB / 0.5154 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.4143, allocations: 181.8 kB / 0.5155 GB, free: 13.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.4147, allocations: 375.9 kB / 0.5159 GB, free: 12.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/0.4153, allocations: 318.7 kB / 0.5162 GB, free: 12.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.4154, allocations: 4 kB / 0.5162 GB, free: 12.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001621/0.417, allocations: 1.046 MB / 0.5172 GB, free: 11.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.417, allocations: 7.938 kB / 0.5172 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001192/0.4171, allocations: 71.98 kB / 0.5173 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.4183, allocations: 0.6719 MB / 0.518 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.4188, allocations: 131.8 kB / 0.5181 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.4204, allocations: 1.292 MB / 0.5193 GB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007553/0.4212, allocations: 95.19 kB / 0.5194 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.689e-05/0.4213, allocations: 35.98 kB / 0.5195 GB, free: 9.234 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: RS2.v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real Q2.vcs:VARIABLE(unit = "V" ) type: Real Q1.B.v:VARIABLE(flow=false unit = "V" ) "Potential at the pin" type: Real Q1.vcs:VARIABLE(unit = "V" ) type: Real Q2.Einternal:VARIABLE(unit = "V" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {5 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.4215, allocations: 133.3 kB / 0.5196 GB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.4217, allocations: 201.6 kB / 0.5198 GB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.4242, allocations: 1.151 MB / 0.5209 GB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.4242, allocations: 4 kB / 0.5209 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.4242, allocations: 4 kB / 0.5209 GB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.4242, allocations: 0 / 0.5209 GB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.4253, allocations: 0.9113 MB / 0.5218 GB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000107/0.4254, allocations: 68.05 kB / 0.5219 GB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.4259, allocations: 83.88 kB / 0.522 GB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/0.4269, allocations: 0.6625 MB / 0.5226 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.427, allocations: 19.98 kB / 0.5226 GB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.4285, allocations: 1.264 MB / 0.5239 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.4285, allocations: 7.906 kB / 0.5239 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001888/0.4304, allocations: 1.267 MB / 0.5251 GB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004168/0.4308, allocations: 298.4 kB / 0.5254 GB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.431, allocations: 8 kB / 0.5254 GB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005347/0.4316, allocations: 43.95 kB / 0.5254 GB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.4317, allocations: 44.38 kB / 0.5255 GB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.4318, allocations: 23.98 kB / 0.5255 GB, free: 2.938 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001039/0.4328, allocations: 0.8748 MB / 0.5264 GB, free: 2.043 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000945/0.4338, allocations: 451.1 kB / 0.5268 GB, free: 1.602 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {5 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009081/0.4347, allocations: 0.6075 MB / 0.5274 GB, free: 1.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.436, allocations: 0.6981 MB / 0.5281 GB, free: 336 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.436, allocations: 128 / 0.5281 GB, free: 336 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000873/0.4369, allocations: 461 kB / 0.5285 GB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.4375, allocations: 166.9 kB / 0.5287 GB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004598/0.4421, allocations: 2.387 MB / 0.531 GB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008329/0.4429, allocations: 1.337 MB / 0.5323 GB, free: 11.91 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4429, allocations: 4 kB / 0.5323 GB, free: 11.9 MB / 394.7 MB Notification: Performance of Templates: time 0.02801/0.471, allocations: 14.87 MB / 0.5468 GB, free: 13.12 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)