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.001227/0.001227, allocations: 117.6 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 199.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 59.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2758, allocations: 50.54 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008027/0.2839, allocations: 8.327 MB / 417.6 MB, free: 9.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.2971, allocations: 11.34 MB / 428.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.2985, allocations: 55.56 kB / 429 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002214/0.3008, allocations: 0.848 MB / 429.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003377/0.3042, allocations: 1.232 MB / 431.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.3059, allocations: 0.7012 MB / 431.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003694/0.3096, allocations: 2.724 MB / 434.5 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004959/0.3101, allocations: 361.7 kB / 434.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006479/0.3108, allocations: 0.5559 MB / 435.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006089/0.3114, allocations: 0.625 MB / 436 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.955e-05/0.3115, allocations: 68 kB / 436.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.3131, allocations: 0.7922 MB / 436.9 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.3133, allocations: 218.7 kB / 437.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006277/0.314, allocations: 0.7647 MB / 437.8 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.3162, allocations: 2.133 MB / 440 MB, free: 2.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3162, allocations: 0 / 440 MB, free: 2.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3162, allocations: 0 / 440 MB, free: 2.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.3163, allocations: 0 / 440 MB, free: 2.699 MB / 350.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.003048/0.3193, allocations: 2.219 MB / 442.2 MB, free: 424 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3194, allocations: 11.97 kB / 442.2 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003719/0.3197, allocations: 234.3 kB / 442.4 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.3215, allocations: 1.301 MB / 443.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.3215, allocations: 41.25 kB / 443.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.3217, allocations: 59.98 kB / 443.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.323, allocations: 0.6938 MB / 444.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.323, allocations: 4 kB / 444.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-05/0.3231, allocations: 20 kB / 444.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.3231, allocations: 16 kB / 444.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.3244, allocations: 0.575 MB / 445.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/0.3276, allocations: 2.503 MB / 447.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.3289, allocations: 0.6176 MB / 448.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008946/0.3298, allocations: 0.5338 MB / 448.8 MB, free: 9.578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00747/0.3373, allocations: 5.895 MB / 454.7 MB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008717/0.3382, allocations: 411.2 kB / 455.1 MB, free: 2.465 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.304e-06/0.3382, allocations: 0 / 455.1 MB, free: 2.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.006738/0.3449, allocations: 2.421 MB / 457.5 MB, free: 16 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.345, allocations: 89.67 kB / 457.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.3467, allocations: 1.419 MB / 459 MB, free: 14.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.3468, allocations: 45.64 kB / 459.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000639/0.3474, allocations: 0.7823 MB / 459.9 MB, free: 13.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.3476, allocations: 244.5 kB / 460.1 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.3478, allocations: 142.6 kB / 460.2 MB, free: 13.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.3481, allocations: 337.9 kB / 460.6 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006241/0.3487, allocations: 261.8 kB / 460.8 MB, free: 12.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007538/0.3495, allocations: 442.1 kB / 461.2 MB, free: 12.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004899/0.3544, allocations: 1.552 MB / 462.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.3544, allocations: 3.984 kB / 462.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002214/0.3566, allocations: 1.16 MB / 464 MB, free: 9.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3567, allocations: 8.094 kB / 464 MB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001309/0.3568, allocations: 83.98 kB / 464.1 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.3578, allocations: 0.598 MB / 464.7 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/0.3584, allocations: 139.7 kB / 464.8 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.36, allocations: 1.522 MB / 466.3 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007443/0.3607, allocations: 87.23 kB / 466.4 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.438e-05/0.3608, allocations: 36 kB / 466.4 MB, free: 6.809 MB / 382.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.0006444/0.3615, allocations: 307 kB / 466.7 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.3617, allocations: 201.7 kB / 466.9 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/0.3643, allocations: 1.165 MB / 468.1 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.3643, allocations: 4 kB / 468.1 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3643, allocations: 0 / 468.1 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.3643, allocations: 7.984 kB / 468.1 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.3657, allocations: 1.014 MB / 469.1 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001165/0.3659, allocations: 79.98 kB / 469.2 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.3663, allocations: 59.94 kB / 469.3 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.3674, allocations: 0.6553 MB / 469.9 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/0.3675, allocations: 27.98 kB / 469.9 MB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.3687, allocations: 1.137 MB / 471.1 MB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3687, allocations: 0 / 471.1 MB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.3715, allocations: 1.433 MB / 472.5 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.3719, allocations: 286.6 kB / 472.8 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/0.3721, allocations: 15.94 kB / 472.8 MB, free: 288 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005398/0.3727, allocations: 39.95 kB / 472.8 MB, free: 248 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.3728, allocations: 48.5 kB / 472.9 MB, free: 196 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-05/0.3729, allocations: 27.98 kB / 472.9 MB, free: 168 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001331/0.3742, allocations: 0.9368 MB / 473.9 MB, free: 15.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3742, allocations: 0 / 473.9 MB, free: 15.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001013/0.3753, allocations: 435.5 kB / 474.3 MB, free: 14.78 MB / 398.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.0009131/0.3762, allocations: 488 kB / 474.8 MB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002144/0.3783, allocations: 0.8777 MB / 475.6 MB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3784, allocations: 4.062 kB / 475.6 MB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.3796, allocations: 0.5509 MB / 476.2 MB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3807, allocations: 226.5 kB / 476.4 MB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005319/0.386, allocations: 2.936 MB / 479.3 MB, free: 9.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009884/0.387, allocations: 1.22 MB / 480.6 MB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000475/0.3875, allocations: 162.1 kB / 480.7 MB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.3876, allocations: 79.44 kB / 480.8 MB, free: 8.156 MB / 398.1 MB Notification: Performance of SimCode: time 2.895e-06/0.3877, allocations: 0 / 480.8 MB, free: 8.156 MB / 398.1 MB Notification: Performance of Templates: time 0.02991/0.4176, allocations: 16.66 MB / 497.5 MB, free: 7.539 MB / 414.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)