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.001076/0.001076, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2469, allocations: 50.55 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007751/0.2547, allocations: 8.324 MB / 418.3 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01231/0.2671, allocations: 11.33 MB / 429.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.2683, allocations: 55.56 kB / 429.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.2704, allocations: 0.8441 MB / 430.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00351/0.2739, allocations: 1.228 MB / 431.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.2757, allocations: 0.7051 MB / 432.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003675/0.2794, allocations: 2.716 MB / 435.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004689/0.2799, allocations: 357.7 kB / 435.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006373/0.2806, allocations: 0.5598 MB / 436.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006171/0.2812, allocations: 0.6289 MB / 436.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.2813, allocations: 68 kB / 436.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.2829, allocations: 0.7883 MB / 437.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.2831, allocations: 222.7 kB / 437.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006282/0.2837, allocations: 0.7569 MB / 438.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.2859, allocations: 2.144 MB / 440.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.286, allocations: 3.984 kB / 440.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.286, allocations: 0 / 440.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.286, allocations: 0 / 440.7 MB, free: 2.707 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.003168/0.2892, allocations: 2.211 MB / 442.9 MB, free: 440 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2892, allocations: 8.031 kB / 442.9 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000391/0.2896, allocations: 234.3 kB / 443.1 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.2914, allocations: 1.309 MB / 444.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.2915, allocations: 45.25 kB / 444.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.2916, allocations: 52 kB / 444.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.2928, allocations: 0.69 MB / 445.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2928, allocations: 4 kB / 445.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.2929, allocations: 20 kB / 445.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.2929, allocations: 15.98 kB / 445.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.2941, allocations: 0.5712 MB / 445.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003794/0.2979, allocations: 2.507 MB / 448.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.2991, allocations: 0.6232 MB / 448.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008404/0.3, allocations: 0.5338 MB / 449.5 MB, free: 9.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006951/0.307, allocations: 5.891 MB / 455.4 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008077/0.3078, allocations: 403.3 kB / 455.8 MB, free: 2.488 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 3.537e-06/0.3078, allocations: 3.938 kB / 455.8 MB, free: 2.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.006545/0.3144, allocations: 2.421 MB / 458.2 MB, free: 36 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.778e-05/0.3145, allocations: 89.67 kB / 458.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.3161, allocations: 1.423 MB / 459.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/0.3162, allocations: 37.7 kB / 459.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006246/0.3168, allocations: 0.7862 MB / 460.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.317, allocations: 244.5 kB / 460.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.3172, allocations: 138.6 kB / 460.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3174, allocations: 341.9 kB / 461.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005698/0.318, allocations: 269.8 kB / 461.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006652/0.3186, allocations: 434.1 kB / 461.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003074/0.3217, allocations: 1.56 MB / 463.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.3218, allocations: 4 kB / 463.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002049/0.3238, allocations: 1.148 MB / 464.6 MB, free: 9.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.3238, allocations: 11.98 kB / 464.6 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/0.324, allocations: 76 kB / 464.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009649/0.3249, allocations: 0.6171 MB / 465.3 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.3255, allocations: 135.7 kB / 465.5 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.3269, allocations: 1.526 MB / 467 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006247/0.3275, allocations: 87.25 kB / 467.1 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/0.3276, allocations: 36 kB / 467.1 MB, free: 6.82 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.0005224/0.3281, allocations: 305.6 kB / 467.4 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.3284, allocations: 201.7 kB / 467.6 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.3306, allocations: 1.157 MB / 468.8 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.3306, allocations: 4 kB / 468.8 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3306, allocations: 4 kB / 468.8 MB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3306, allocations: 7.984 kB / 468.8 MB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.3317, allocations: 1.01 MB / 469.8 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001091/0.3319, allocations: 76 kB / 469.9 MB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.3322, allocations: 63.94 kB / 469.9 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.3333, allocations: 0.6514 MB / 470.6 MB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/0.3334, allocations: 23.98 kB / 470.6 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.3346, allocations: 1.145 MB / 471.7 MB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3346, allocations: 0 / 471.7 MB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/0.3373, allocations: 1.444 MB / 473.2 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/0.3378, allocations: 278.6 kB / 473.5 MB, free: 320 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.3379, allocations: 15.94 kB / 473.5 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/0.3384, allocations: 31.97 kB / 473.5 MB, free: 272 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.3385, allocations: 56.48 kB / 473.6 MB, free: 212 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.3386, allocations: 24 kB / 473.6 MB, free: 188 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001229/0.3398, allocations: 0.9444 MB / 474.5 MB, free: 15.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3398, allocations: 0 / 474.5 MB, free: 15.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009246/0.3408, allocations: 435.5 kB / 475 MB, free: 14.79 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.0007925/0.3416, allocations: 488.2 kB / 475.4 MB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001979/0.3436, allocations: 0.8774 MB / 476.3 MB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3436, allocations: 0 / 476.3 MB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.3447, allocations: 0.5474 MB / 476.9 MB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009952/0.3457, allocations: 218.9 kB / 477.1 MB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004799/0.3505, allocations: 2.993 MB / 480.1 MB, free: 9.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/0.3513, allocations: 1.22 MB / 481.3 MB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.3515, allocations: 79.38 kB / 481.4 MB, free: 8.277 MB / 398.1 MB Notification: Performance of SimCode: time 1.011e-06/0.3515, allocations: 0 / 481.4 MB, free: 8.277 MB / 398.1 MB Notification: Performance of Templates: time 0.03484/0.3864, allocations: 28.54 MB / 0.4979 GB, free: 11.73 MB / 430.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)