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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001026/0.001026, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 206.1 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002018/0.0002018, allocations: 7.984 kB / 307.7 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09347/0.09368, allocations: 51.52 MB / 359.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007078/0.1008, allocations: 7.83 MB / 367.1 MB, free: 5.441 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1741/0.275, allocations: 11.4 MB / 378.5 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008972/0.2759, allocations: 20.19 kB / 378.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.2779, allocations: 0.7729 MB / 379.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003553/0.2815, allocations: 0.9995 MB / 380.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.2832, allocations: 0.5076 MB / 380.8 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003464/0.2867, allocations: 2.628 MB / 383.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004248/0.2872, allocations: 326.9 kB / 383.7 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006498/0.2878, allocations: 0.5007 MB / 384.2 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005504/0.2884, allocations: 0.5927 MB / 384.8 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.366e-05/0.2885, allocations: 37.09 kB / 384.9 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.2902, allocations: 0.7644 MB / 385.6 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.2904, allocations: 179.2 kB / 385.8 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005501/0.291, allocations: 0.7586 MB / 386.6 MB, free: 6.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.2932, allocations: 2.037 MB / 388.6 MB, free: 5.871 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2932, allocations: 4 kB / 388.6 MB, free: 5.867 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2932, allocations: 0 / 388.6 MB, free: 5.867 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.8e-05/0.2932, allocations: 1.125 kB / 388.6 MB, free: 5.867 MB / 302.1 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.002868/0.2961, allocations: 1.979 MB / 390.6 MB, free: 4.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2961, allocations: 8.562 kB / 390.6 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003651/0.2965, allocations: 234.4 kB / 390.8 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.298, allocations: 1.308 MB / 392.1 MB, free: 3.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.2981, allocations: 45.2 kB / 392.2 MB, free: 3.711 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.2982, allocations: 61.09 kB / 392.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.2995, allocations: 0.7176 MB / 393 MB, free: 3.363 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.2995, allocations: 1.25 kB / 393 MB, free: 3.363 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.918e-05/0.2995, allocations: 19.81 kB / 393 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.2996, allocations: 22.64 kB / 393 MB, free: 3.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.3009, allocations: 0.6104 MB / 393.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.3044, allocations: 2.54 MB / 396.1 MB, free: 1.156 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.3056, allocations: 0.6699 MB / 396.8 MB, free: 0.793 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000848/0.3065, allocations: 0.5615 MB / 397.4 MB, free: 0.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006767/0.3132, allocations: 5.916 MB / 403.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000792/0.314, allocations: 422.4 kB / 403.7 MB, free: 10.78 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.554e-06/0.3141, allocations: 0 / 403.7 MB, free: 10.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.007139/0.3212, allocations: 2.503 MB / 406.2 MB, free: 9.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.3213, allocations: 92.33 kB / 406.3 MB, free: 9.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.3232, allocations: 1.422 MB / 407.7 MB, free: 7.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/0.3232, allocations: 37.7 kB / 407.8 MB, free: 7.711 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000732/0.324, allocations: 0.7823 MB / 408.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.3242, allocations: 254.7 kB / 408.8 MB, free: 6.672 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.131e-05/0.3243, allocations: 69.69 kB / 408.9 MB, free: 6.598 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3244, allocations: 337.9 kB / 409.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006911/0.3251, allocations: 285.8 kB / 409.5 MB, free: 5.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008506/0.326, allocations: 462.1 kB / 409.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003638/0.3296, allocations: 1.654 MB / 411.6 MB, free: 3.734 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.3297, allocations: 7.938 kB / 411.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002377/0.332, allocations: 1.191 MB / 412.8 MB, free: 2.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.3321, allocations: 8 kB / 412.8 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/0.3322, allocations: 87.92 kB / 412.9 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.3332, allocations: 0.5949 MB / 413.5 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/0.3338, allocations: 151.8 kB / 413.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.3351, allocations: 1.539 MB / 415.1 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008066/0.336, allocations: 95.44 kB / 415.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/0.336, allocations: 40.06 kB / 415.3 MB, free: 15.95 MB / 334.1 MB Warning: Assuming fixed start value for the following 2 variables: Q2.vbc:VARIABLE(start = 0.0 unit = "V" fixed = true ) type: Real Q2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 14 (VCC.counter,$PRE.VCC.counter,VEE.counter,$PRE.VEE.counter,VEE.counter2,$PRE.VEE.counter2,VEE.T0,$PRE.VEE.T0,VCC.counter2,$PRE.VCC.counter2,VCC.T0,$PRE.VCC.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,12), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005626/0.3366, allocations: 296.1 kB / 415.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.3368, allocations: 205.5 kB / 415.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.3393, allocations: 1.2 MB / 417 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.3393, allocations: 4 kB / 417 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3393, allocations: 4 kB / 417 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.3393, allocations: 6.672 kB / 417 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.3404, allocations: 1.003 MB / 418 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.609e-05/0.3405, allocations: 79.98 kB / 418.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/0.3409, allocations: 75.88 kB / 418.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.342, allocations: 0.6514 MB / 418.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.677e-05/0.3421, allocations: 19.98 kB / 418.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.3433, allocations: 1.141 MB / 420 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3433, allocations: 0 / 420 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002776/0.3461, allocations: 1.509 MB / 421.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/0.3465, allocations: 286.6 kB / 421.7 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.3467, allocations: 12 kB / 421.8 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005075/0.3472, allocations: 51.95 kB / 421.8 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.3473, allocations: 48.44 kB / 421.9 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-05/0.3474, allocations: 27.98 kB / 421.9 MB, free: 9.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001212/0.3486, allocations: 0.9367 MB / 422.8 MB, free: 8.258 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3486, allocations: 0 / 422.8 MB, free: 8.258 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000964/0.3496, allocations: 443.4 kB / 423.2 MB, free: 7.824 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Q1.vbe,Q1.vbc,Q1.vbx,Q2.vbe,Q2.vbc,Q2.vbx) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007744/0.3503, allocations: 476.6 kB / 423.7 MB, free: 7.398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001947/0.3523, allocations: 0.9284 MB / 424.6 MB, free: 6.457 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3523, allocations: 4 kB / 424.6 MB, free: 6.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.3535, allocations: 0.5706 MB / 425.2 MB, free: 5.871 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.3546, allocations: 210.5 kB / 425.4 MB, free: 5.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005065/0.3597, allocations: 3.59 MB / 429 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007206/0.3604, allocations: 1.22 MB / 430.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005674/0.361, allocations: 170.1 kB / 430.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.3612, allocations: 71.44 kB / 430.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3612, allocations: 0 / 430.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of Templates: time 0.02731/0.3885, allocations: 15.63 MB / 446.1 MB, free: 0.9844 MB / 350.1 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)