Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 181.7 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008931/0.0008931, allocations: 94.48 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003506, allocations: 7.938 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2194, allocations: 50.39 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.3245, allocations: 93.68 MB / 495.2 MB, free: 2.785 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.3248, allocations: 76.66 kB / 495.2 MB, free: 2.711 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2667/0.5915, allocations: 61.21 MB / 0.5434 GB, free: 69.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5915, allocations: 0 / 0.5434 GB, free: 69.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.274e-05/0.5916, allocations: 28 kB / 0.5434 GB, free: 69.05 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.00293/0.5945, allocations: 2.079 MB / 0.5455 GB, free: 66.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.5946, allocations: 15.97 kB / 0.5455 GB, free: 66.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.5948, allocations: 225.4 kB / 0.5457 GB, free: 66.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.5963, allocations: 1.263 MB / 0.5469 GB, free: 65.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.5963, allocations: 37.31 kB / 0.547 GB, free: 65.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-05/0.5964, allocations: 59.91 kB / 0.547 GB, free: 65.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.5975, allocations: 0.7056 MB / 0.5477 GB, free: 64.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5975, allocations: 0 / 0.5477 GB, free: 64.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/0.5975, allocations: 27.98 kB / 0.5477 GB, free: 64.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.5976, allocations: 20 kB / 0.5478 GB, free: 64.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.5986, allocations: 0.6141 MB / 0.5484 GB, free: 63.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.6014, allocations: 2.585 MB / 0.5509 GB, free: 61.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009773/0.6024, allocations: 0.669 MB / 0.5515 GB, free: 60.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00735/0.6098, allocations: 8.689 MB / 0.56 GB, free: 50.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006702/0.6105, allocations: 402 kB / 0.5604 GB, free: 50.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.264e-06/0.6105, allocations: 7.938 kB / 0.5604 GB, free: 50.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=67): time 0.005381/0.6159, allocations: 2.208 MB / 0.5626 GB, free: 47.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.6159, allocations: 85.55 kB / 0.5627 GB, free: 47.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.6172, allocations: 1.276 MB / 0.5639 GB, free: 46.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.6172, allocations: 33.7 kB / 0.5639 GB, free: 46.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004597/0.6177, allocations: 0.8016 MB / 0.5647 GB, free: 45.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.6178, allocations: 220.8 kB / 0.5649 GB, free: 45.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.6178, allocations: 16 kB / 0.5649 GB, free: 45.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.222e-05/0.6179, allocations: 330 kB / 0.5653 GB, free: 44.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004989/0.6184, allocations: 281.8 kB / 0.5655 GB, free: 44.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/0.619, allocations: 474.2 kB / 0.566 GB, free: 44.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005391/0.6195, allocations: 327 kB / 0.5663 GB, free: 43.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.6195, allocations: 4 kB / 0.5663 GB, free: 43.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001676/0.6212, allocations: 1.179 MB / 0.5674 GB, free: 42.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.6212, allocations: 8 kB / 0.5675 GB, free: 42.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.632e-05/0.6213, allocations: 80.05 kB / 0.5675 GB, free: 42.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009667/0.6223, allocations: 0.6835 MB / 0.5682 GB, free: 41.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/0.6228, allocations: 127.8 kB / 0.5683 GB, free: 41.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009781/0.6238, allocations: 1.116 MB / 0.5694 GB, free: 40.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006368/0.6244, allocations: 99.31 kB / 0.5695 GB, free: 40.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.6245, allocations: 39.98 kB / 0.5695 GB, free: 40.44 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.000396/0.6249, allocations: 290.2 kB / 0.5698 GB, free: 40.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.625, allocations: 197.7 kB / 0.57 GB, free: 39.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/0.6271, allocations: 1.197 MB / 0.5712 GB, free: 38.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.6272, allocations: 4 kB / 0.5712 GB, free: 38.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6272, allocations: 3.938 kB / 0.5712 GB, free: 38.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.6272, allocations: 4 kB / 0.5712 GB, free: 38.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008506/0.628, allocations: 0.9951 MB / 0.5722 GB, free: 37.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.079e-05/0.6281, allocations: 67.98 kB / 0.5722 GB, free: 37.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.6285, allocations: 71.94 kB / 0.5723 GB, free: 37.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008658/0.6293, allocations: 0.6818 MB / 0.573 GB, free: 36.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/0.6294, allocations: 16 kB / 0.573 GB, free: 36.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009232/0.6303, allocations: 1.085 MB / 0.574 GB, free: 35.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6303, allocations: 0 / 0.574 GB, free: 35.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.6325, allocations: 1.444 MB / 0.5754 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/0.6329, allocations: 298.5 kB / 0.5757 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.633, allocations: 16 kB / 0.5757 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/0.6335, allocations: 44.2 kB / 0.5758 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.6336, allocations: 52.41 kB / 0.5758 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.6337, allocations: 35.97 kB / 0.5759 GB, free: 33.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009664/0.6347, allocations: 0.98 MB / 0.5768 GB, free: 32.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6347, allocations: 4 kB / 0.5768 GB, free: 32.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008595/0.6355, allocations: 491.1 kB / 0.5773 GB, free: 32.32 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.0006654/0.6362, allocations: 0.5431 MB / 0.5778 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.6378, allocations: 0.8896 MB / 0.5787 GB, free: 30.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6378, allocations: 4 kB / 0.5787 GB, free: 30.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009481/0.6388, allocations: 0.537 MB / 0.5792 GB, free: 30.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000623/0.6394, allocations: 215.3 kB / 0.5794 GB, free: 30.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.6433, allocations: 3.415 MB / 0.5828 GB, free: 26.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.6437, allocations: 1.26 MB / 0.584 GB, free: 25.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005006/0.6442, allocations: 179.2 kB / 0.5842 GB, free: 25.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.6444, allocations: 83.38 kB / 0.5842 GB, free: 25.11 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6444, allocations: 4 kB / 0.5843 GB, free: 25.1 MB / 378.7 MB Notification: Performance of Templates: time 0.0222/0.6666, allocations: 16.53 MB / 0.6004 GB, free: 8.633 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)