Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00095/0.0009501, allocations: 199.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.173/1.173, allocations: 227.2 MB / 245 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009316/0.0009315, allocations: 99.83 kB / 297.3 MB, free: 5.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002044/0.0002044, allocations: 7.984 kB / 357.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.188, allocations: 51.49 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09947/0.2875, allocations: 94.48 MB / 0.4921 GB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.2877, allocations: 75.95 kB / 0.4922 GB, free: 12.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2637/0.5514, allocations: 61.45 MB / 0.5522 GB, free: 58.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5514, allocations: 0 / 0.5522 GB, free: 58.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.143e-05/0.5515, allocations: 28 kB / 0.5522 GB, free: 58.13 MB / 378.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.002659/0.5542, allocations: 2.087 MB / 0.5542 GB, free: 55.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.5542, allocations: 8.031 kB / 0.5542 GB, free: 55.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002999/0.5545, allocations: 233.4 kB / 0.5545 GB, free: 55.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.556, allocations: 1.266 MB / 0.5557 GB, free: 54.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.5561, allocations: 37.31 kB / 0.5557 GB, free: 54.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.207e-05/0.5562, allocations: 59.91 kB / 0.5558 GB, free: 54.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.5572, allocations: 0.7134 MB / 0.5565 GB, free: 53.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.5572, allocations: 0 / 0.5565 GB, free: 53.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.5573, allocations: 20 kB / 0.5565 GB, free: 53.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.5573, allocations: 23.94 kB / 0.5565 GB, free: 53.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.5583, allocations: 0.6103 MB / 0.5571 GB, free: 52.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002686/0.561, allocations: 2.591 MB / 0.5597 GB, free: 50.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009654/0.562, allocations: 0.6739 MB / 0.5603 GB, free: 49.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00702/0.569, allocations: 8.708 MB / 0.5688 GB, free: 39.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006407/0.5697, allocations: 401.9 kB / 0.5692 GB, free: 39.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.084e-06/0.5697, allocations: 4 kB / 0.5692 GB, free: 39.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=67): time 0.005204/0.5749, allocations: 2.196 MB / 0.5713 GB, free: 36.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.575, allocations: 97.53 kB / 0.5714 GB, free: 36.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.5761, allocations: 1.265 MB / 0.5727 GB, free: 35.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.5762, allocations: 37.7 kB / 0.5727 GB, free: 35.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004365/0.5766, allocations: 0.7977 MB / 0.5735 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.5767, allocations: 224.8 kB / 0.5737 GB, free: 34.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.5768, allocations: 16 kB / 0.5737 GB, free: 34.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.22e-05/0.5768, allocations: 334 kB / 0.574 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/0.5773, allocations: 277.8 kB / 0.5743 GB, free: 33.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.5779, allocations: 474.3 kB / 0.5748 GB, free: 33.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.5784, allocations: 334.9 kB / 0.5751 GB, free: 32.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5784, allocations: 0 / 0.5751 GB, free: 32.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001576/0.58, allocations: 1.182 MB / 0.5762 GB, free: 31.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.58, allocations: 8 kB / 0.5762 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.407e-05/0.5801, allocations: 72.7 kB / 0.5763 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009248/0.581, allocations: 0.6952 MB / 0.577 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.5815, allocations: 123.7 kB / 0.5771 GB, free: 30.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009229/0.5824, allocations: 1.12 MB / 0.5782 GB, free: 29.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005656/0.583, allocations: 99.3 kB / 0.5783 GB, free: 29.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.454e-05/0.583, allocations: 36 kB / 0.5783 GB, free: 29.47 MB / 378.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.0003434/0.5834, allocations: 295.9 kB / 0.5786 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.5835, allocations: 201.6 kB / 0.5788 GB, free: 28.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.5856, allocations: 1.169 MB / 0.5799 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.5856, allocations: 8 kB / 0.58 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5856, allocations: 4 kB / 0.58 GB, free: 27.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.5856, allocations: 3.984 kB / 0.58 GB, free: 27.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008018/0.5864, allocations: 1.014 MB / 0.581 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.808e-05/0.5865, allocations: 72.11 kB / 0.581 GB, free: 26.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.5868, allocations: 67.88 kB / 0.5811 GB, free: 26.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000818/0.5876, allocations: 0.6701 MB / 0.5817 GB, free: 25.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.5877, allocations: 27.98 kB / 0.5818 GB, free: 25.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008662/0.5886, allocations: 1.081 MB / 0.5828 GB, free: 24.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5886, allocations: 0 / 0.5828 GB, free: 24.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.5906, allocations: 1.452 MB / 0.5842 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.591, allocations: 294.6 kB / 0.5845 GB, free: 22.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.5911, allocations: 11.98 kB / 0.5845 GB, free: 22.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/0.5915, allocations: 47.97 kB / 0.5846 GB, free: 22.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.5917, allocations: 56.31 kB / 0.5846 GB, free: 22.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.5917, allocations: 19.98 kB / 0.5846 GB, free: 22.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000855/0.5926, allocations: 0.9839 MB / 0.5856 GB, free: 21.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5926, allocations: 0 / 0.5856 GB, free: 21.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008479/0.5934, allocations: 499.1 kB / 0.5861 GB, free: 21.35 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) * 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.0006845/0.5941, allocations: 0.5668 MB / 0.5866 GB, free: 20.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.5956, allocations: 0.8859 MB / 0.5875 GB, free: 19.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5957, allocations: 0 / 0.5875 GB, free: 19.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009026/0.5966, allocations: 0.537 MB / 0.588 GB, free: 19.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006087/0.5972, allocations: 199 kB / 0.5882 GB, free: 19.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003733/0.6009, allocations: 3.422 MB / 0.5916 GB, free: 15.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.6014, allocations: 1.256 MB / 0.5928 GB, free: 14.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004984/0.6019, allocations: 175.2 kB / 0.593 GB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.602, allocations: 83.44 kB / 0.593 GB, free: 14.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.602, allocations: 0 / 0.593 GB, free: 14.12 MB / 378.7 MB Notification: Performance of Templates: time 0.02248/0.6245, allocations: 16.55 MB / 0.6092 GB, free: 13.62 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)