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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006086/0.006086, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 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.8 MB / 186.6 MB, free: 1.121 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.001594/0.001594, allocations: 115.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003125, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1904, allocations: 38.77 MB / 312.9 MB, free: 38.8 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09655/0.287, allocations: 83.03 MB / 395.9 MB, free: 7.465 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.2873, allocations: 75.95 kB / 396 MB, free: 7.391 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2618/0.5491, allocations: 58.2 MB / 454.2 MB, free: 68.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5492, allocations: 0 / 454.2 MB, free: 68.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.328e-05/0.5492, allocations: 28 kB / 454.2 MB, free: 68.59 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.00303/0.5523, allocations: 2.079 MB / 456.3 MB, free: 66.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.5523, allocations: 15.97 kB / 456.3 MB, free: 66.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.5525, allocations: 229.7 kB / 456.5 MB, free: 66.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.5541, allocations: 1.255 MB / 457.8 MB, free: 64.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.5542, allocations: 41.31 kB / 457.8 MB, free: 64.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.803e-05/0.5543, allocations: 59.91 kB / 457.9 MB, free: 64.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.5554, allocations: 0.7056 MB / 458.6 MB, free: 64.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.5554, allocations: 0 / 458.6 MB, free: 64.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/0.5555, allocations: 24 kB / 458.6 MB, free: 64.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.5555, allocations: 23.98 kB / 458.6 MB, free: 64.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.5566, allocations: 0.6102 MB / 459.3 MB, free: 63.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003092/0.5597, allocations: 2.6 MB / 461.9 MB, free: 60.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.5608, allocations: 0.666 MB / 462.5 MB, free: 60 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007726/0.5685, allocations: 8.677 MB / 471.2 MB, free: 49.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007006/0.5692, allocations: 398 kB / 471.6 MB, free: 49.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 2.786e-06/0.5693, allocations: 4 kB / 471.6 MB, free: 49.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.005389/0.5747, allocations: 2.212 MB / 473.8 MB, free: 47.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.5747, allocations: 89.52 kB / 473.9 MB, free: 47.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.5761, allocations: 1.273 MB / 475.2 MB, free: 45.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.5761, allocations: 37.7 kB / 475.2 MB, free: 45.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004582/0.5766, allocations: 0.7977 MB / 476 MB, free: 45.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.5767, allocations: 224.8 kB / 476.2 MB, free: 44.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.5767, allocations: 16 kB / 476.2 MB, free: 44.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.662e-05/0.5768, allocations: 338 kB / 476.6 MB, free: 44.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.5773, allocations: 277.8 kB / 476.8 MB, free: 44.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.5779, allocations: 474.2 kB / 477.3 MB, free: 43.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005463/0.5784, allocations: 330.9 kB / 477.6 MB, free: 43.35 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.5784, allocations: 0 / 477.6 MB, free: 43.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001703/0.5802, allocations: 1.171 MB / 478.8 MB, free: 42.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.5802, allocations: 10.19 kB / 478.8 MB, free: 42.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.287e-05/0.5803, allocations: 80.03 kB / 478.9 MB, free: 42.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009754/0.5813, allocations: 0.6991 MB / 479.6 MB, free: 41.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.5817, allocations: 119.8 kB / 479.7 MB, free: 41.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009995/0.5827, allocations: 1.116 MB / 480.8 MB, free: 40.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000702/0.5834, allocations: 99.3 kB / 480.9 MB, free: 40.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/0.5835, allocations: 40 kB / 480.9 MB, free: 39.98 MB / 314.7 MB 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 () * Number of clocked 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.00054/0.584, allocations: 285.9 kB / 481.2 MB, free: 39.69 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.5843, allocations: 201.6 kB / 481.4 MB, free: 39.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.5865, allocations: 1.185 MB / 482.6 MB, free: 38.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.5865, allocations: 8 kB / 482.6 MB, free: 38.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.5865, allocations: 4.062 kB / 482.6 MB, free: 38.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.5865, allocations: 7.984 kB / 482.6 MB, free: 38.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.5879, allocations: 1.011 MB / 483.6 MB, free: 37.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.891e-05/0.588, allocations: 67.98 kB / 483.7 MB, free: 37.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.5883, allocations: 67.94 kB / 483.8 MB, free: 37.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009319/0.5893, allocations: 0.6702 MB / 484.4 MB, free: 36.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/0.5893, allocations: 19.98 kB / 484.5 MB, free: 36.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.5904, allocations: 1.085 MB / 485.5 MB, free: 35.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5904, allocations: 0 / 485.5 MB, free: 35.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.5928, allocations: 1.444 MB / 487 MB, free: 33.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005396/0.5933, allocations: 290.6 kB / 487.3 MB, free: 33.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.5936, allocations: 19.98 kB / 487.3 MB, free: 33.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005602/0.5941, allocations: 43.97 kB / 487.3 MB, free: 33.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.5943, allocations: 48.36 kB / 487.4 MB, free: 33.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.5943, allocations: 31.92 kB / 487.4 MB, free: 33.35 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001304/0.5956, allocations: 0.9841 MB / 488.4 MB, free: 32.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5956, allocations: 0 / 488.4 MB, free: 32.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001311/0.597, allocations: 491.1 kB / 488.9 MB, free: 31.87 MB / 314.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) * Number of clocked states: 0 () * 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.001095/0.5981, allocations: 0.5529 MB / 489.4 MB, free: 31.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00209/0.6002, allocations: 0.8896 MB / 490.3 MB, free: 30.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.6002, allocations: 0 / 490.3 MB, free: 30.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.6013, allocations: 0.5487 MB / 490.9 MB, free: 29.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009013/0.6022, allocations: 183 kB / 491 MB, free: 29.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005537/0.6077, allocations: 3.411 MB / 494.5 MB, free: 26.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.6084, allocations: 1.26 MB / 495.7 MB, free: 24.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006225/0.609, allocations: 175.2 kB / 495.9 MB, free: 24.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.6092, allocations: 87.42 kB / 496 MB, free: 24.67 MB / 314.7 MB Notification: Performance of SimCode: time 1.352e-06/0.6092, allocations: 0 / 496 MB, free: 24.67 MB / 314.7 MB Notification: Performance of Templates: time 0.02805/0.6373, allocations: 16.51 MB / 0.5005 GB, free: 8.184 MB / 314.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)