Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 175.1 kB / 18.04 MB, free: 3.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.256/1.256, allocations: 205.4 MB / 224.2 MB, free: 9.055 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008674/0.0008673, allocations: 86.36 kB / 272.5 MB, free: 8.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004623, allocations: 15.98 kB / 329.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2263, allocations: 47.58 MB / 377 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09647/0.3228, allocations: 91.5 MB / 468.5 MB, free: 5.051 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.3231, allocations: 83.95 kB / 468.6 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2557/0.5788, allocations: 56.86 MB / 0.5131 GB, free: 94.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5788, allocations: 0 / 0.5131 GB, free: 94.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.958e-05/0.5789, allocations: 27.53 kB / 0.5132 GB, free: 94.58 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.003308/0.5822, allocations: 2.058 MB / 0.5152 GB, free: 93.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.5823, allocations: 7.562 kB / 0.5152 GB, free: 93.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002846/0.5826, allocations: 228.4 kB / 0.5154 GB, free: 93.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.5844, allocations: 1.345 MB / 0.5167 GB, free: 92.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.5844, allocations: 44.16 kB / 0.5168 GB, free: 92.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.5845, allocations: 51.47 kB / 0.5168 GB, free: 92.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.5857, allocations: 0.7186 MB / 0.5175 GB, free: 92.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.5857, allocations: 0 / 0.5175 GB, free: 92.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.484e-05/0.5858, allocations: 23.5 kB / 0.5175 GB, free: 92.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.5858, allocations: 20.62 kB / 0.5176 GB, free: 92.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.587, allocations: 0.6137 MB / 0.5182 GB, free: 92.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003563/0.5906, allocations: 2.585 MB / 0.5207 GB, free: 90.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.5916, allocations: 0.6618 MB / 0.5213 GB, free: 90.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007444/0.5924, allocations: 0.5646 MB / 0.5219 GB, free: 90.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007972/0.6004, allocations: 8.661 MB / 0.5303 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007217/0.6011, allocations: 415 kB / 0.5307 GB, free: 82.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.955e-06/0.6011, allocations: 0 / 0.5307 GB, free: 82.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=67): time 0.005352/0.6065, allocations: 2.141 MB / 0.5328 GB, free: 81.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.6066, allocations: 91.83 kB / 0.5329 GB, free: 81.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/0.6084, allocations: 1.488 MB / 0.5344 GB, free: 79.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/0.6085, allocations: 37.7 kB / 0.5344 GB, free: 79.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004845/0.6089, allocations: 0.8015 MB / 0.5352 GB, free: 79.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.6091, allocations: 228.8 kB / 0.5354 GB, free: 78.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.6091, allocations: 12 kB / 0.5354 GB, free: 78.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.432e-05/0.6092, allocations: 341.9 kB / 0.5357 GB, free: 78.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005387/0.6098, allocations: 265.9 kB / 0.536 GB, free: 78.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006553/0.6104, allocations: 482.2 kB / 0.5364 GB, free: 77.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.6116, allocations: 0.7754 MB / 0.5372 GB, free: 76.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.6116, allocations: 0 / 0.5372 GB, free: 76.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001844/0.6135, allocations: 1.178 MB / 0.5384 GB, free: 75.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.6135, allocations: 8 kB / 0.5384 GB, free: 75.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.639e-05/0.6136, allocations: 72 kB / 0.5384 GB, free: 75.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009972/0.6146, allocations: 0.6881 MB / 0.5391 GB, free: 74.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/0.6151, allocations: 127.8 kB / 0.5392 GB, free: 74.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.6161, allocations: 1.128 MB / 0.5403 GB, free: 73.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007733/0.6169, allocations: 99.3 kB / 0.5404 GB, free: 73.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.608e-05/0.617, allocations: 42.19 kB / 0.5405 GB, free: 73.5 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.0005242/0.6175, allocations: 290.3 kB / 0.5407 GB, free: 73.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.6178, allocations: 197.7 kB / 0.5409 GB, free: 73.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.6201, allocations: 1.17 MB / 0.5421 GB, free: 71.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.6201, allocations: 8 kB / 0.5421 GB, free: 71.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6201, allocations: 0 / 0.5421 GB, free: 71.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.6201, allocations: 7.984 kB / 0.5421 GB, free: 71.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.6213, allocations: 0.999 MB / 0.5431 GB, free: 70.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-05/0.6214, allocations: 75.92 kB / 0.5431 GB, free: 70.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/0.6218, allocations: 71.94 kB / 0.5432 GB, free: 70.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008718/0.6227, allocations: 0.6702 MB / 0.5439 GB, free: 69.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/0.6228, allocations: 20 kB / 0.5439 GB, free: 69.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009524/0.6237, allocations: 1.092 MB / 0.5449 GB, free: 68.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6238, allocations: 128 / 0.5449 GB, free: 68.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.626, allocations: 1.444 MB / 0.5464 GB, free: 67.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004483/0.6265, allocations: 294.5 kB / 0.5466 GB, free: 67.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.6267, allocations: 19.98 kB / 0.5467 GB, free: 67.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/0.6272, allocations: 43.97 kB / 0.5467 GB, free: 66.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.6273, allocations: 52.3 kB / 0.5467 GB, free: 66.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/0.6274, allocations: 27.98 kB / 0.5468 GB, free: 66.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00106/0.6285, allocations: 0.9839 MB / 0.5477 GB, free: 65.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6285, allocations: 0 / 0.5477 GB, free: 65.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001048/0.6295, allocations: 491.1 kB / 0.5482 GB, free: 65.41 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.0009215/0.6304, allocations: 0.5537 MB / 0.5487 GB, free: 64.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.6322, allocations: 0.8896 MB / 0.5496 GB, free: 63.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.6323, allocations: 0 / 0.5496 GB, free: 63.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009978/0.6333, allocations: 0.5433 MB / 0.5501 GB, free: 63.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008724/0.6341, allocations: 179 kB / 0.5503 GB, free: 63.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/0.6389, allocations: 3.419 MB / 0.5537 GB, free: 59.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.6394, allocations: 1.221 MB / 0.5548 GB, free: 58.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005717/0.64, allocations: 174.5 kB / 0.555 GB, free: 58.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.6401, allocations: 79.44 kB / 0.5551 GB, free: 58.28 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6401, allocations: 4 kB / 0.5551 GB, free: 58.27 MB / 378.7 MB Notification: Performance of Templates: time 0.02625/0.6664, allocations: 17.35 MB / 0.572 GB, free: 40.95 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)