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.001243/0.001243, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009161/0.0009162, allocations: 96.06 kB / 286.7 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.657e-05/1.676e-05, allocations: 4 kB / 343.7 MB, free: 8.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 51.47 MB / 395.2 MB, free: 4.742 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3793/0.4883, allocations: 93.76 MB / 488.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.4886, allocations: 75.98 kB / 489 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1176/0.6062, allocations: 58.37 MB / 0.5345 GB, free: 10.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.6062, allocations: 0 / 0.5345 GB, free: 10.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.957e-05/0.6063, allocations: 28 kB / 0.5346 GB, free: 10.21 MB / 410.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.002764/0.609, allocations: 1.739 MB / 0.5363 GB, free: 8.422 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.6091, allocations: 8.031 kB / 0.5363 GB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003762/0.6095, allocations: 233.4 kB / 0.5365 GB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.6111, allocations: 1.247 MB / 0.5377 GB, free: 6.867 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.6112, allocations: 21.72 kB / 0.5377 GB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-05/0.6113, allocations: 39.91 kB / 0.5378 GB, free: 6.809 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007065/0.612, allocations: 439.4 kB / 0.5382 GB, free: 6.379 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000854/0.6128, allocations: 0.5509 MB / 0.5387 GB, free: 5.816 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.6129, allocations: 0 / 0.5387 GB, free: 5.816 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/0.6129, allocations: 3.953 kB / 0.5387 GB, free: 5.812 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.6129, allocations: 23.98 kB / 0.5387 GB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003371/0.6163, allocations: 2.48 MB / 0.5412 GB, free: 3.203 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006181/0.6169, allocations: 0.5086 MB / 0.5417 GB, free: 2.688 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005576/0.6175, allocations: 479 kB / 0.5421 GB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/0.6278, allocations: 8.776 MB / 0.5507 GB, free: 8.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004982/0.6283, allocations: 309.1 kB / 0.551 GB, free: 7.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 2.465e-06/0.6283, allocations: 0 / 0.551 GB, free: 7.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=67): time 0.001709/0.6301, allocations: 0.9563 MB / 0.5519 GB, free: 6.805 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.6301, allocations: 85.55 kB / 0.552 GB, free: 6.703 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.6315, allocations: 1.157 MB / 0.5531 GB, free: 5.516 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.6316, allocations: 29.69 kB / 0.5532 GB, free: 5.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006954/0.6323, allocations: 0.786 MB / 0.5539 GB, free: 4.684 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.6325, allocations: 220.8 kB / 0.5541 GB, free: 4.465 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.6325, allocations: 0 / 0.5541 GB, free: 4.465 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6327, allocations: 337.9 kB / 0.5545 GB, free: 4.129 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.633, allocations: 182.1 kB / 0.5546 GB, free: 3.949 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.6334, allocations: 373.8 kB / 0.555 GB, free: 3.504 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/0.634, allocations: 360 kB / 0.5553 GB, free: 3.152 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.634, allocations: 0 / 0.5553 GB, free: 3.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001605/0.6356, allocations: 1.064 MB / 0.5564 GB, free: 2.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.6357, allocations: 8 kB / 0.5564 GB, free: 2.062 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001065/0.6358, allocations: 75.98 kB / 0.5565 GB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.6369, allocations: 0.6719 MB / 0.5571 GB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.6374, allocations: 127.8 kB / 0.5572 GB, free: 1.191 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.639, allocations: 1.272 MB / 0.5585 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006915/0.6397, allocations: 91.12 kB / 0.5586 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.397e-05/0.6398, allocations: 44 kB / 0.5586 GB, free: 15.76 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: RS2.v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real Q2.vcs:VARIABLE(unit = "V" ) type: Real Q1.B.v:VARIABLE(flow=false unit = "V" ) "Potential at the pin" type: Real Q1.vcs:VARIABLE(unit = "V" ) type: Real Q2.Einternal:VARIABLE(unit = "V" ) type: Real 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.0001962/0.64, allocations: 125.2 kB / 0.5587 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.6402, allocations: 201.7 kB / 0.5589 GB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.6423, allocations: 1.098 MB / 0.56 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.6423, allocations: 4 kB / 0.56 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6423, allocations: 4.125 kB / 0.56 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.6423, allocations: 3.984 kB / 0.56 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.6434, allocations: 0.9117 MB / 0.5609 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.403e-05/0.6435, allocations: 71.98 kB / 0.561 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.6439, allocations: 71.94 kB / 0.561 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009986/0.6449, allocations: 0.6661 MB / 0.5617 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/0.645, allocations: 15.98 kB / 0.5617 GB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.6464, allocations: 1.259 MB / 0.5629 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.6464, allocations: 3.938 kB / 0.5629 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.6484, allocations: 1.285 MB / 0.5642 GB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/0.6488, allocations: 298.5 kB / 0.5645 GB, free: 9.621 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.649, allocations: 0 / 0.5645 GB, free: 9.621 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005084/0.6495, allocations: 45.45 kB / 0.5645 GB, free: 9.578 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.6497, allocations: 52.36 kB / 0.5646 GB, free: 9.527 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/0.6497, allocations: 20 kB / 0.5646 GB, free: 9.508 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001279/0.651, allocations: 0.8709 MB / 0.5654 GB, free: 8.617 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.651, allocations: 0 / 0.5654 GB, free: 8.617 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001097/0.6521, allocations: 463 kB / 0.5659 GB, free: 8.164 MB / 442.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.0009802/0.6531, allocations: 0.6114 MB / 0.5665 GB, free: 7.547 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.6544, allocations: 0.7013 MB / 0.5672 GB, free: 6.832 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6544, allocations: 0 / 0.5672 GB, free: 6.832 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000825/0.6553, allocations: 462 kB / 0.5676 GB, free: 6.367 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000802/0.6561, allocations: 200 kB / 0.5678 GB, free: 6.176 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/0.6601, allocations: 2.307 MB / 0.57 GB, free: 3.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006899/0.6608, allocations: 1.251 MB / 0.5713 GB, free: 2.559 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000591/0.6614, allocations: 183.2 kB / 0.5714 GB, free: 2.375 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.6616, allocations: 83.44 kB / 0.5715 GB, free: 2.293 MB / 442.7 MB Notification: Performance of SimCode: time 5.21e-07/0.6616, allocations: 0 / 0.5715 GB, free: 2.293 MB / 442.7 MB Notification: Performance of Templates: time 0.2424/0.904, allocations: 14.08 MB / 0.5853 GB, free: 94.06 MB / 442.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)