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.001094/0.001094, allocations: 104.9 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00113/0.00113, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 246.3 MB, free: 9.117 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.83 kB / 306.3 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08447/0.08567, allocations: 50.53 MB / 356.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007962/0.09367, allocations: 8.286 MB / 365.1 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1532/0.2469, allocations: 11.55 MB / 376.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000825/0.2478, allocations: 18.5 kB / 376.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001962/0.2498, allocations: 0.7665 MB / 377.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.253, allocations: 0.9968 MB / 378.4 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.2547, allocations: 0.5077 MB / 378.9 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003671/0.2584, allocations: 2.624 MB / 381.5 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004236/0.2588, allocations: 329.8 kB / 381.9 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000693/0.2595, allocations: 0.5235 MB / 382.4 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000498/0.26, allocations: 0.6042 MB / 383 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.2601, allocations: 47.31 kB / 383 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.262, allocations: 0.7806 MB / 383.8 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.2621, allocations: 197.7 kB / 384 MB, free: 6.773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005356/0.2627, allocations: 0.7505 MB / 384.8 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002111/0.2648, allocations: 2.068 MB / 386.8 MB, free: 5.547 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2648, allocations: 0 / 386.8 MB, free: 5.547 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.2648, allocations: 0 / 386.8 MB, free: 5.547 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.089e-05/0.2649, allocations: 0 / 386.8 MB, free: 5.547 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.003062/0.2679, allocations: 2.218 MB / 389 MB, free: 4.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.268, allocations: 12.94 kB / 389.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003696/0.2683, allocations: 234.2 kB / 389.3 MB, free: 3.977 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.2698, allocations: 1.296 MB / 390.6 MB, free: 3.258 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.2698, allocations: 50.59 kB / 390.6 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-05/0.2699, allocations: 56.22 kB / 390.7 MB, free: 3.207 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.2711, allocations: 0.6953 MB / 391.4 MB, free: 2.926 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.2712, allocations: 0 / 391.4 MB, free: 2.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.763e-05/0.2712, allocations: 21.28 kB / 391.4 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.2713, allocations: 20.09 kB / 391.4 MB, free: 2.906 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.2725, allocations: 0.5667 MB / 392 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002993/0.2755, allocations: 2.537 MB / 394.5 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.2766, allocations: 0.6227 MB / 395.2 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007701/0.2774, allocations: 0.5382 MB / 395.7 MB, free: 228 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006665/0.2841, allocations: 5.899 MB / 401.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008095/0.2849, allocations: 394 kB / 402 MB, free: 10.51 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.725e-06/0.2849, allocations: 0 / 402 MB, free: 10.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.006481/0.2914, allocations: 2.435 MB / 404.4 MB, free: 9.227 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.2915, allocations: 84.83 kB / 404.5 MB, free: 9.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.2932, allocations: 1.419 MB / 405.9 MB, free: 7.977 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.466e-05/0.2932, allocations: 37.7 kB / 405.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007121/0.2939, allocations: 0.7882 MB / 406.7 MB, free: 7.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.2942, allocations: 245.7 kB / 407 MB, free: 6.898 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.2944, allocations: 138.6 kB / 407.1 MB, free: 6.758 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2945, allocations: 338 kB / 407.4 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006205/0.2952, allocations: 257.8 kB / 407.7 MB, free: 6.168 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007194/0.2959, allocations: 454.9 kB / 408.1 MB, free: 5.652 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/0.2992, allocations: 1.545 MB / 409.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.2992, allocations: 3.938 kB / 409.7 MB, free: 4.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002032/0.3012, allocations: 1.156 MB / 410.8 MB, free: 2.863 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3013, allocations: 4 kB / 410.8 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/0.3014, allocations: 80.59 kB / 410.9 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000979/0.3024, allocations: 0.61 MB / 411.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/0.3029, allocations: 127.8 kB / 411.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.3043, allocations: 1.541 MB / 413.2 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000665/0.305, allocations: 83.25 kB / 413.3 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.322e-05/0.3051, allocations: 36 kB / 413.3 MB, free: 348 kB / 318.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.0004793/0.3056, allocations: 297.6 kB / 413.6 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.3058, allocations: 201.6 kB / 413.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/0.3082, allocations: 1.161 MB / 415 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.3082, allocations: 8 kB / 415 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.3082, allocations: 3.984 kB / 415 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3082, allocations: 3.938 kB / 415 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.3094, allocations: 1.013 MB / 416 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.682e-05/0.3095, allocations: 72 kB / 416.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.3099, allocations: 67.94 kB / 416.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/0.311, allocations: 0.6475 MB / 416.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.3111, allocations: 20 kB / 416.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.3123, allocations: 1.149 MB / 417.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3123, allocations: 0 / 417.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/0.315, allocations: 1.433 MB / 419.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000368/0.3154, allocations: 278.6 kB / 419.7 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.3156, allocations: 15.98 kB / 419.7 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/0.3161, allocations: 31.97 kB / 419.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.3162, allocations: 60.42 kB / 419.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.035e-05/0.3163, allocations: 23.94 kB / 419.8 MB, free: 9.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001129/0.3174, allocations: 0.9484 MB / 420.7 MB, free: 8.766 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3174, allocations: 3.938 kB / 420.7 MB, free: 8.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00106/0.3185, allocations: 427.5 kB / 421.1 MB, free: 8.344 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.00086/0.3194, allocations: 487.3 kB / 421.6 MB, free: 7.902 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.3213, allocations: 0.8735 MB / 422.5 MB, free: 7.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3213, allocations: 0 / 422.5 MB, free: 7.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.3225, allocations: 0.5551 MB / 423.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009978/0.3235, allocations: 207.7 kB / 423.3 MB, free: 6.246 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004986/0.3285, allocations: 3.461 MB / 426.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007285/0.3292, allocations: 1.224 MB / 427.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005798/0.3298, allocations: 166.1 kB / 428.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.33, allocations: 71.44 kB / 428.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.33, allocations: 0 / 428.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of Templates: time 0.02752/0.3575, allocations: 15.69 MB / 443.9 MB, free: 1.645 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)