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.001544/0.001544, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008411/0.0008412, allocations: 86.72 kB / 262.4 MB, free: 1.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.534e-05/1.536e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09062/0.09065, allocations: 47.58 MB / 363.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3607/0.4514, allocations: 90.89 MB / 454 MB, free: 4.984 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.4516, allocations: 68.59 kB / 454 MB, free: 4.953 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1123/0.5639, allocations: 54.47 MB / 0.4966 GB, free: 4.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.564, allocations: 3.938 kB / 0.4966 GB, free: 4.156 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.037e-05/0.564, allocations: 24.88 kB / 0.4966 GB, free: 4.133 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.003243/0.5673, allocations: 1.724 MB / 0.4983 GB, free: 2.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.5674, allocations: 12.03 kB / 0.4983 GB, free: 2.344 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.5676, allocations: 225.3 kB / 0.4985 GB, free: 2.121 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.5694, allocations: 1.259 MB / 0.4998 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.5695, allocations: 19.98 kB / 0.4998 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.985e-05/0.5696, allocations: 36 kB / 0.4998 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007078/0.5703, allocations: 442.5 kB / 0.5002 GB, free: 312 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000851/0.5711, allocations: 0.547 MB / 0.5008 GB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.5712, allocations: 0 / 0.5008 GB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-05/0.5712, allocations: 7.938 kB / 0.5008 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.5712, allocations: 20 kB / 0.5008 GB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003522/0.5748, allocations: 2.483 MB / 0.5032 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.5754, allocations: 0.501 MB / 0.5037 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005449/0.576, allocations: 471 kB / 0.5042 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01119/0.5872, allocations: 8.765 MB / 0.5127 GB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000542/0.5878, allocations: 301.2 kB / 0.513 GB, free: 1.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=67): time 3.096e-06/0.5878, allocations: 4 kB / 0.513 GB, free: 1.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=67): time 0.001998/0.5898, allocations: 0.9499 MB / 0.5139 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/0.5899, allocations: 89.53 kB / 0.514 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.5918, allocations: 1.152 MB / 0.5151 GB, free: 15.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.082e-05/0.5919, allocations: 37.58 kB / 0.5152 GB, free: 15.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006997/0.5926, allocations: 0.7898 MB / 0.516 GB, free: 14.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.5928, allocations: 220.7 kB / 0.5162 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.5928, allocations: 0 / 0.5162 GB, free: 14.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.593, allocations: 341.9 kB / 0.5165 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.5933, allocations: 179.1 kB / 0.5167 GB, free: 13.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.5937, allocations: 377.9 kB / 0.517 GB, free: 13.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000706/0.5944, allocations: 356 kB / 0.5174 GB, free: 13.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.5944, allocations: 4 kB / 0.5174 GB, free: 13.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001704/0.5961, allocations: 1.064 MB / 0.5184 GB, free: 12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.5962, allocations: 8 kB / 0.5184 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/0.5963, allocations: 71.98 kB / 0.5185 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.5975, allocations: 0.6642 MB / 0.5191 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/0.598, allocations: 127.8 kB / 0.5192 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.5996, allocations: 1.28 MB / 0.5205 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007649/0.6004, allocations: 91.23 kB / 0.5206 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.69e-05/0.6005, allocations: 32.06 kB / 0.5206 GB, free: 9.703 MB / 410.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.0002581/0.6008, allocations: 141.2 kB / 0.5208 GB, free: 9.559 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.601, allocations: 197.8 kB / 0.5209 GB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/0.6032, allocations: 1.099 MB / 0.522 GB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.6033, allocations: 8 kB / 0.522 GB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6033, allocations: 0 / 0.522 GB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.6033, allocations: 3.984 kB / 0.522 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.6045, allocations: 0.9233 MB / 0.5229 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.496e-05/0.6046, allocations: 67.98 kB / 0.523 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.605, allocations: 71.88 kB / 0.5231 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.606, allocations: 0.6665 MB / 0.5237 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.271e-05/0.606, allocations: 12 kB / 0.5237 GB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/0.6076, allocations: 1.26 MB / 0.525 GB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6076, allocations: 0 / 0.525 GB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.6096, allocations: 1.292 MB / 0.5262 GB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004481/0.61, allocations: 290.6 kB / 0.5265 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.6102, allocations: 8 kB / 0.5265 GB, free: 3.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/0.6107, allocations: 39.95 kB / 0.5265 GB, free: 3.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.6108, allocations: 48.36 kB / 0.5266 GB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/0.6109, allocations: 24 kB / 0.5266 GB, free: 3.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001171/0.612, allocations: 0.867 MB / 0.5275 GB, free: 2.543 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6121, allocations: 0 / 0.5275 GB, free: 2.543 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001109/0.6132, allocations: 459.1 kB / 0.5279 GB, free: 2.094 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.0009275/0.6141, allocations: 0.6157 MB / 0.5285 GB, free: 1.465 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.6154, allocations: 0.7015 MB / 0.5292 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6155, allocations: 0 / 0.5292 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008245/0.6163, allocations: 458 kB / 0.5296 GB, free: 300 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006189/0.6169, allocations: 179.1 kB / 0.5298 GB, free: 116 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2419/0.8588, allocations: 2.287 MB / 0.532 GB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/0.8601, allocations: 1.25 MB / 0.5332 GB, free: 107.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001146/0.8613, allocations: 179.7 kB / 0.5334 GB, free: 107.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.8616, allocations: 83.36 kB / 0.5335 GB, free: 107.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.8616, allocations: 0.8438 kB / 0.5335 GB, free: 107.9 MB / 410.7 MB Notification: Performance of Templates: time 0.04817/0.9098, allocations: 14.04 MB / 0.5472 GB, free: 106.9 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)