Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.003266/0.003266, allocations: 172.7 kB / 7.446 MB, free: 2.512 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.142/1.142, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001708/0.001708, allocations: 119.8 kB / 217.7 MB, free: 8.219 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.675e-06/7.705e-06, allocations: 0 / 261.7 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07785/0.07788, allocations: 38.76 MB / 300.5 MB, free: 3.902 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2594/0.3373, allocations: 82.2 MB / 382.7 MB, free: 2.57 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.3377, allocations: 73.16 kB / 382.8 MB, free: 2.535 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.1264/0.4641, allocations: 55.32 MB / 438.1 MB, free: 1.332 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001513/0.4643, allocations: 28 kB / 438.1 MB, free: 1.305 MB / 314.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.004618/0.4689, allocations: 1.772 MB / 439.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.469, allocations: 12.03 kB / 439.9 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006111/0.4696, allocations: 221.4 kB / 440.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002945/0.4726, allocations: 1.255 MB / 441.4 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/0.4727, allocations: 19.98 kB / 441.4 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.4729, allocations: 32 kB / 441.4 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001039/0.4739, allocations: 438.6 kB / 441.9 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.4751, allocations: 0.5509 MB / 442.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.4751, allocations: 0 / 442.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.506e-05/0.4752, allocations: 3.984 kB / 442.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.883e-05/0.4752, allocations: 23.91 kB / 442.4 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005155/0.4804, allocations: 2.498 MB / 444.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.4812, allocations: 452.6 kB / 445.4 MB, free: 9.785 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006978/0.4819, allocations: 450.3 kB / 445.8 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01337/0.4953, allocations: 8.722 MB / 454.5 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005461/0.4959, allocations: 297.7 kB / 454.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 3.607e-06/0.4959, allocations: 0 / 454.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.002232/0.4982, allocations: 0.9196 MB / 455.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.4983, allocations: 85.55 kB / 455.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.5005, allocations: 1.155 MB / 457 MB, free: 12.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.58e-05/0.5006, allocations: 37.64 kB / 457 MB, free: 12.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.501, allocations: 412.8 kB / 457.4 MB, free: 12.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.5013, allocations: 220.8 kB / 457.6 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.5013, allocations: 0 / 457.6 MB, free: 12.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5015, allocations: 337.9 kB / 458 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.5018, allocations: 182.8 kB / 458.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.5023, allocations: 379.9 kB / 458.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007179/0.503, allocations: 318.7 kB / 458.8 MB, free: 10.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.503, allocations: 8 kB / 458.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001963/0.505, allocations: 1.049 MB / 459.9 MB, free: 9.703 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.505, allocations: 11.91 kB / 459.9 MB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001326/0.5052, allocations: 71.98 kB / 460 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.5065, allocations: 0.6682 MB / 460.6 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/0.507, allocations: 127.9 kB / 460.8 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/0.5089, allocations: 1.28 MB / 462 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009417/0.5098, allocations: 95.23 kB / 462.1 MB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.028e-05/0.5099, allocations: 36 kB / 462.2 MB, free: 7.387 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: RS2.v:VARIABLE(unit = "V" ) "Voltage drop between 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.0002802/0.5102, allocations: 142.4 kB / 462.3 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003614/0.5106, allocations: 197.7 kB / 462.5 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002878/0.5135, allocations: 1.155 MB / 463.7 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.5135, allocations: 4 kB / 463.7 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5135, allocations: 4 kB / 463.7 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.5135, allocations: 3.984 kB / 463.7 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.5153, allocations: 0.9197 MB / 464.6 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001197/0.5154, allocations: 67.98 kB / 464.7 MB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/0.5158, allocations: 72.08 kB / 464.7 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/0.5171, allocations: 0.6662 MB / 465.4 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.793e-05/0.5172, allocations: 23.89 kB / 465.4 MB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.519, allocations: 1.256 MB / 466.7 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.519, allocations: 4 kB / 466.7 MB, free: 2.801 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002256/0.5213, allocations: 1.259 MB / 467.9 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006843/0.522, allocations: 294.5 kB / 468.2 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003715/0.5224, allocations: 11.92 kB / 468.2 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000711/0.5231, allocations: 43.97 kB / 468.3 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.5232, allocations: 48.36 kB / 468.3 MB, free: 1.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.043e-05/0.5233, allocations: 27.98 kB / 468.4 MB, free: 1.074 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001762/0.5251, allocations: 0.8709 MB / 469.2 MB, free: 188 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.1648/0.6899, allocations: 448.1 kB / 469.7 MB, free: 127.1 MB / 346.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.001183/0.6911, allocations: 0.6067 MB / 470.3 MB, free: 127 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.6926, allocations: 0.7089 MB / 471 MB, free: 126.9 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6927, allocations: 0 / 471 MB, free: 126.9 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008277/0.6935, allocations: 456.8 kB / 471.4 MB, free: 126.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008358/0.6943, allocations: 171.7 kB / 471.6 MB, free: 126.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/0.6994, allocations: 2.388 MB / 474 MB, free: 126.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008142/0.7003, allocations: 1.337 MB / 475.3 MB, free: 125.6 MB / 346.7 MB Notification: Performance of SimCode: time 1.823e-06/0.7003, allocations: 0 / 475.3 MB, free: 125.6 MB / 346.7 MB Notification: Performance of Templates: time 0.02839/0.7287, allocations: 14.86 MB / 490.2 MB, free: 124.6 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)