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.001373/0.001373, allocations: 197.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007503/0.0007503, allocations: 100.8 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002027/0.0002028, allocations: 7.984 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1843, allocations: 51.28 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/0.2867, allocations: 94.47 MB / 0.492 GB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.287, allocations: 75.95 kB / 0.4921 GB, free: 12.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.262/0.549, allocations: 60.72 MB / 0.5514 GB, free: 60.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5491, allocations: 0 / 0.5514 GB, free: 60.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.014e-05/0.5492, allocations: 24 kB / 0.5514 GB, free: 60.52 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.003196/0.5524, allocations: 2.06 MB / 0.5534 GB, free: 58.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.5524, allocations: 8.031 kB / 0.5534 GB, free: 58.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004116/0.5528, allocations: 238.3 kB / 0.5537 GB, free: 58.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.5545, allocations: 1.344 MB / 0.555 GB, free: 56.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.5546, allocations: 45.67 kB / 0.555 GB, free: 56.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.5547, allocations: 52.38 kB / 0.5551 GB, free: 56.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.5558, allocations: 0.7103 MB / 0.5558 GB, free: 55.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.5558, allocations: 0 / 0.5558 GB, free: 55.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/0.5558, allocations: 31.94 kB / 0.5558 GB, free: 55.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.5559, allocations: 19.98 kB / 0.5558 GB, free: 55.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.557, allocations: 0.6102 MB / 0.5564 GB, free: 55.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/0.5601, allocations: 2.599 MB / 0.559 GB, free: 52.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.5611, allocations: 0.6738 MB / 0.5596 GB, free: 51.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000737/0.5619, allocations: 0.5611 MB / 0.5602 GB, free: 51.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007761/0.5697, allocations: 8.67 MB / 0.5686 GB, free: 41.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007039/0.5704, allocations: 413.8 kB / 0.569 GB, free: 40.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.685e-06/0.5704, allocations: 0 / 0.569 GB, free: 40.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=67): time 0.005003/0.5754, allocations: 2.137 MB / 0.5711 GB, free: 38.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.5755, allocations: 93.47 kB / 0.5712 GB, free: 38.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/0.5776, allocations: 1.482 MB / 0.5726 GB, free: 37.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/0.5776, allocations: 37.7 kB / 0.5727 GB, free: 36.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005469/0.5782, allocations: 0.7977 MB / 0.5735 GB, free: 36.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.5783, allocations: 236.6 kB / 0.5737 GB, free: 35.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.5784, allocations: 16 kB / 0.5737 GB, free: 35.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.5785, allocations: 334 kB / 0.574 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/0.579, allocations: 277.8 kB / 0.5743 GB, free: 35.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005992/0.5796, allocations: 478.2 kB / 0.5747 GB, free: 34.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.5808, allocations: 0.7754 MB / 0.5755 GB, free: 33.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5808, allocations: 0 / 0.5755 GB, free: 33.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001882/0.5827, allocations: 1.171 MB / 0.5766 GB, free: 32.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5827, allocations: 8 kB / 0.5766 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.299e-05/0.5828, allocations: 75.98 kB / 0.5767 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009888/0.5838, allocations: 0.6958 MB / 0.5774 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.5843, allocations: 127.8 kB / 0.5775 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.5853, allocations: 1.112 MB / 0.5786 GB, free: 30.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007238/0.586, allocations: 99.3 kB / 0.5787 GB, free: 30.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-05/0.5861, allocations: 43.92 kB / 0.5787 GB, free: 30.56 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.0004373/0.5865, allocations: 295.2 kB / 0.579 GB, free: 30.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.5867, allocations: 201.6 kB / 0.5792 GB, free: 30.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.5889, allocations: 1.162 MB / 0.5803 GB, free: 28.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.5889, allocations: 8 kB / 0.5804 GB, free: 28.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5889, allocations: 7.984 kB / 0.5804 GB, free: 28.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.5889, allocations: 0 / 0.5804 GB, free: 28.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.59, allocations: 1.018 MB / 0.5814 GB, free: 27.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.214e-05/0.5901, allocations: 68 kB / 0.5814 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.5905, allocations: 63.94 kB / 0.5815 GB, free: 27.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008891/0.5914, allocations: 0.674 MB / 0.5821 GB, free: 26.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-05/0.5914, allocations: 27.98 kB / 0.5822 GB, free: 26.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000959/0.5924, allocations: 1.081 MB / 0.5832 GB, free: 25.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5924, allocations: 7.922 kB / 0.5832 GB, free: 25.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.5947, allocations: 1.452 MB / 0.5847 GB, free: 24.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003952/0.5951, allocations: 294.5 kB / 0.5849 GB, free: 24.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.5953, allocations: 12 kB / 0.5849 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005022/0.5958, allocations: 47.95 kB / 0.585 GB, free: 24.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.5959, allocations: 52.31 kB / 0.585 GB, free: 23.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.596, allocations: 27.98 kB / 0.5851 GB, free: 23.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001151/0.5971, allocations: 0.9838 MB / 0.586 GB, free: 22.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5972, allocations: 4 kB / 0.586 GB, free: 22.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001012/0.5982, allocations: 487.1 kB / 0.5865 GB, free: 22.44 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.0008518/0.599, allocations: 0.5562 MB / 0.587 GB, free: 21.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.6008, allocations: 0.9014 MB / 0.5879 GB, free: 20.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6008, allocations: 0 / 0.5879 GB, free: 20.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.6018, allocations: 0.5332 MB / 0.5884 GB, free: 20.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009739/0.6028, allocations: 208.5 kB / 0.5886 GB, free: 20.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004481/0.6073, allocations: 3.422 MB / 0.592 GB, free: 16.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.6078, allocations: 1.221 MB / 0.5932 GB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005908/0.6084, allocations: 179.2 kB / 0.5933 GB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.6086, allocations: 83.42 kB / 0.5934 GB, free: 15.24 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6086, allocations: 0 / 0.5934 GB, free: 15.24 MB / 378.7 MB Notification: Performance of Templates: time 0.02951/0.6381, allocations: 17.4 MB / 0.6104 GB, free: 13.88 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)