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.001373/0.001373, allocations: 169.1 kB / 12.72 MB, free: 2.594 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.358/1.358, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001557/0.001557, allocations: 107.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.607e-05/2.61e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0708/0.07084, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2953/0.3662, allocations: 82.94 MB / 390.6 MB, free: 9.582 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/0.3666, allocations: 74.33 kB / 390.6 MB, free: 9.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1289/0.4955, allocations: 58.04 MB / 448.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.057e-06/0.4956, allocations: 0 / 448.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.687e-05/0.4957, allocations: 31.94 kB / 448.7 MB, free: 5.137 MB / 330.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.003176/0.4988, allocations: 1.724 MB / 450.4 MB, free: 3.359 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4989, allocations: 8.031 kB / 450.4 MB, free: 3.352 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002856/0.4992, allocations: 225.7 kB / 450.7 MB, free: 3.129 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.5011, allocations: 1.255 MB / 451.9 MB, free: 1.805 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.5011, allocations: 41.31 kB / 452 MB, free: 1.762 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.831e-05/0.5012, allocations: 56 kB / 452 MB, free: 1.707 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.5023, allocations: 0.6276 MB / 452.6 MB, free: 1.066 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.5023, allocations: 0 / 452.6 MB, free: 1.066 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.823e-05/0.5024, allocations: 24 kB / 452.7 MB, free: 1.043 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.5024, allocations: 19.98 kB / 452.7 MB, free: 1.023 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007514/0.5031, allocations: 473.1 kB / 453.1 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003761/0.5069, allocations: 2.602 MB / 455.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006915/0.5076, allocations: 0.5147 MB / 456.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006169/0.5083, allocations: 498.9 kB / 456.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/0.5189, allocations: 8.771 MB / 465.5 MB, free: 2.684 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005364/0.5195, allocations: 314.1 kB / 465.8 MB, free: 2.363 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 2.705e-06/0.5195, allocations: 0 / 465.8 MB, free: 2.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.001518/0.521, allocations: 0.8836 MB / 466.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.5211, allocations: 89.53 kB / 466.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.5227, allocations: 1.247 MB / 468 MB, free: 80 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.533e-05/0.5227, allocations: 41.7 kB / 468.1 MB, free: 32 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1706/0.6934, allocations: 0.8019 MB / 468.9 MB, free: 86.06 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/0.6937, allocations: 224.7 kB / 469.1 MB, free: 85.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.6937, allocations: 13.47 kB / 469.1 MB, free: 85.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.6938, allocations: 333.5 kB / 469.4 MB, free: 85.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/0.6942, allocations: 196.9 kB / 469.6 MB, free: 85.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.6947, allocations: 398.5 kB / 470 MB, free: 85.42 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004166/0.6951, allocations: 250.6 kB / 470.3 MB, free: 85.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.6951, allocations: 4.531 kB / 470.3 MB, free: 85.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00179/0.6969, allocations: 1.023 MB / 471.3 MB, free: 85.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.6969, allocations: 12.97 kB / 471.3 MB, free: 85.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001049/0.697, allocations: 72.58 kB / 471.4 MB, free: 85.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.6986, allocations: 0.6972 MB / 472.1 MB, free: 85.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/0.6992, allocations: 125.1 kB / 472.2 MB, free: 85.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.7006, allocations: 1.105 MB / 473.3 MB, free: 84.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008884/0.7015, allocations: 99.38 kB / 473.4 MB, free: 84.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.7015, allocations: 40.16 kB / 473.4 MB, free: 84.67 MB / 346.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 () * 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.0001491/0.7017, allocations: 151.9 kB / 473.6 MB, free: 84.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.7019, allocations: 202.4 kB / 473.8 MB, free: 84.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.704, allocations: 1.023 MB / 474.8 MB, free: 84.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.704, allocations: 5.281 kB / 474.8 MB, free: 84.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.704, allocations: 6.422 kB / 474.8 MB, free: 84.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.7041, allocations: 1.734 kB / 474.8 MB, free: 84.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.7054, allocations: 1.004 MB / 475.8 MB, free: 84.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.085e-05/0.7055, allocations: 71.08 kB / 475.9 MB, free: 84.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.7059, allocations: 72.62 kB / 476 MB, free: 84.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.7072, allocations: 0.6667 MB / 476.6 MB, free: 84.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.026e-05/0.7073, allocations: 20.17 kB / 476.7 MB, free: 84.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.7087, allocations: 1.082 MB / 477.7 MB, free: 83.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7088, allocations: 0 / 477.7 MB, free: 83.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.7106, allocations: 1.215 MB / 479 MB, free: 83.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005527/0.7112, allocations: 297.6 kB / 479.2 MB, free: 83.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.7113, allocations: 14.02 kB / 479.3 MB, free: 83.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000503/0.7118, allocations: 55.94 kB / 479.3 MB, free: 83.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.712, allocations: 50.91 kB / 479.4 MB, free: 83.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/0.7121, allocations: 25.03 kB / 479.4 MB, free: 83.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001381/0.7135, allocations: 0.9653 MB / 480.4 MB, free: 83 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7135, allocations: 0 / 480.4 MB, free: 83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001254/0.7147, allocations: 490.3 kB / 480.8 MB, free: 82.99 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.0009404/0.7157, allocations: 0.548 MB / 481.4 MB, free: 82.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.717, allocations: 0.747 MB / 482.1 MB, free: 82.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.717, allocations: 0 / 482.1 MB, free: 82.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008447/0.7179, allocations: 481 kB / 482.6 MB, free: 82.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000628/0.7185, allocations: 177.4 kB / 482.8 MB, free: 82.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/0.7225, allocations: 2.34 MB / 485.1 MB, free: 82.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.7231, allocations: 1.259 MB / 486.4 MB, free: 81.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005367/0.7236, allocations: 179 kB / 486.5 MB, free: 81.39 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.7238, allocations: 77.69 kB / 486.6 MB, free: 81.39 MB / 346.7 MB Notification: Performance of SimCode: time 5.81e-07/0.7238, allocations: 0 / 486.6 MB, free: 81.39 MB / 346.7 MB Notification: Performance of Templates: time 0.02414/0.7479, allocations: 17.29 MB / 0.4921 GB, free: 80.16 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)