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.001371/0.001371, allocations: 173 kB / 14.1 MB, free: 1.223 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.619/1.619, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.0008439/0.0008441, allocations: 90.64 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.899e-05/2.923e-05, allocations: 7.984 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08992/0.08996, allocations: 47.57 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3094/0.3994, allocations: 91.31 MB / 461.3 MB, free: 2.191 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.3997, allocations: 74.25 kB / 461.4 MB, free: 2.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1129/0.5126, allocations: 57.37 MB / 0.5066 GB, free: 9.965 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5126, allocations: 4.875 kB / 0.5066 GB, free: 9.961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.303e-05/0.5127, allocations: 27.98 kB / 0.5067 GB, free: 9.934 MB / 394.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.002955/0.5157, allocations: 1.728 MB / 0.5083 GB, free: 8.148 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.5157, allocations: 12.03 kB / 0.5084 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.516, allocations: 225.3 kB / 0.5086 GB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.518, allocations: 1.259 MB / 0.5098 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.5181, allocations: 41.31 kB / 0.5098 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.5182, allocations: 52 kB / 0.5099 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.5192, allocations: 0.6277 MB / 0.5105 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.5192, allocations: 0 / 0.5105 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.816e-05/0.5193, allocations: 24 kB / 0.5105 GB, free: 5.832 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.5193, allocations: 27.92 kB / 0.5105 GB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007535/0.5201, allocations: 473.1 kB / 0.511 GB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003805/0.5239, allocations: 2.586 MB / 0.5135 GB, free: 2.621 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007474/0.5246, allocations: 0.522 MB / 0.514 GB, free: 2.086 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006144/0.5253, allocations: 0.495 MB / 0.5145 GB, free: 1.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01002/0.5353, allocations: 8.763 MB / 0.5231 GB, free: 7.469 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005226/0.5359, allocations: 318.1 kB / 0.5234 GB, free: 7.141 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 2.715e-06/0.5359, allocations: 0 / 0.5234 GB, free: 7.141 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.001488/0.5374, allocations: 0.8719 MB / 0.5242 GB, free: 6.258 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.5374, allocations: 89.53 kB / 0.5243 GB, free: 6.152 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.5391, allocations: 1.254 MB / 0.5255 GB, free: 4.859 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/0.5392, allocations: 37.7 kB / 0.5256 GB, free: 4.816 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006948/0.5399, allocations: 0.7977 MB / 0.5264 GB, free: 4.012 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.5401, allocations: 236.7 kB / 0.5266 GB, free: 3.777 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.5401, allocations: 12 kB / 0.5266 GB, free: 3.766 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5403, allocations: 334 kB / 0.5269 GB, free: 3.434 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.5406, allocations: 193.8 kB / 0.5271 GB, free: 3.246 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.5411, allocations: 397.5 kB / 0.5275 GB, free: 2.777 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.5416, allocations: 261.6 kB / 0.5277 GB, free: 2.523 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5416, allocations: 0 / 0.5277 GB, free: 2.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001557/0.5431, allocations: 1.021 MB / 0.5287 GB, free: 1.488 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.5432, allocations: 8.781 kB / 0.5287 GB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/0.5433, allocations: 71.98 kB / 0.5288 GB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.5445, allocations: 0.703 MB / 0.5295 GB, free: 0.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.545, allocations: 123.8 kB / 0.5296 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2025/0.7475, allocations: 1.1 MB / 0.5307 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.7486, allocations: 98.8 kB / 0.5308 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/0.7487, allocations: 35.92 kB / 0.5308 GB, free: 105.6 MB / 410.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.0001642/0.7488, allocations: 149.8 kB / 0.5309 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.749, allocations: 201 kB / 0.5311 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.7513, allocations: 1.03 MB / 0.5321 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.7513, allocations: 6.562 kB / 0.5321 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7513, allocations: 0 / 0.5321 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.7513, allocations: 4.875 kB / 0.5322 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.7528, allocations: 1.004 MB / 0.5331 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.383e-05/0.7529, allocations: 69.84 kB / 0.5332 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/0.7533, allocations: 71.16 kB / 0.5333 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/0.7544, allocations: 0.6654 MB / 0.5339 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/0.7545, allocations: 24.25 kB / 0.5339 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.7557, allocations: 1.078 MB / 0.535 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.7557, allocations: 0 / 0.535 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.7578, allocations: 1.225 MB / 0.5362 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004896/0.7583, allocations: 295.6 kB / 0.5365 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.7585, allocations: 12.59 kB / 0.5365 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005039/0.759, allocations: 45.08 kB / 0.5365 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.7592, allocations: 57.81 kB / 0.5366 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.527e-05/0.7592, allocations: 31.92 kB / 0.5366 GB, free: 104.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001422/0.7606, allocations: 0.9626 MB / 0.5376 GB, free: 104 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7607, allocations: 0 / 0.5376 GB, free: 104 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001139/0.7618, allocations: 490.4 kB / 0.538 GB, free: 104 MB / 410.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.0009746/0.7628, allocations: 0.5508 MB / 0.5386 GB, free: 103.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.7642, allocations: 0.7405 MB / 0.5393 GB, free: 103.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.7642, allocations: 0 / 0.5393 GB, free: 103.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009259/0.7651, allocations: 475.9 kB / 0.5397 GB, free: 103.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.7658, allocations: 178.2 kB / 0.5399 GB, free: 103.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/0.7702, allocations: 2.336 MB / 0.5422 GB, free: 103.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007379/0.7709, allocations: 1.253 MB / 0.5434 GB, free: 102.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006616/0.7716, allocations: 179 kB / 0.5436 GB, free: 102.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.7717, allocations: 80.31 kB / 0.5437 GB, free: 102.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.774e-06/0.7718, allocations: 3.531 kB / 0.5437 GB, free: 102.4 MB / 410.7 MB Notification: Performance of Templates: time 0.02936/0.8011, allocations: 17.29 MB / 0.5605 GB, free: 101.2 MB / 410.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)