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.0008355/0.0008354, allocations: 95.14 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00023/0.00023, allocations: 4 kB / 308.4 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08896/0.0892, allocations: 51.52 MB / 359.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.006951/0.09619, allocations: 7.823 MB / 367.7 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.171/0.2672, allocations: 11.41 MB / 379.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.2683, allocations: 15.38 kB / 379.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002214/0.2705, allocations: 0.7669 MB / 379.9 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004121/0.2747, allocations: 0.9979 MB / 380.9 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.2769, allocations: 0.5115 MB / 381.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004226/0.2811, allocations: 2.633 MB / 384.1 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004722/0.2816, allocations: 321.3 kB / 384.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000741/0.2824, allocations: 0.5078 MB / 384.9 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005414/0.2829, allocations: 0.5829 MB / 385.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.385e-05/0.283, allocations: 37.84 kB / 385.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.285, allocations: 0.7648 MB / 386.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.2852, allocations: 189.8 kB / 386.5 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006239/0.2858, allocations: 0.7564 MB / 387.2 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.2875, allocations: 1.517 MB / 388.7 MB, free: 6.102 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2875, allocations: 4 kB / 388.7 MB, free: 6.098 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2875, allocations: 0 / 388.7 MB, free: 6.098 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.035e-05/0.2876, allocations: 0 / 388.7 MB, free: 6.098 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.003153/0.2907, allocations: 1.981 MB / 390.7 MB, free: 4.805 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2908, allocations: 8.562 kB / 390.7 MB, free: 4.805 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003893/0.2912, allocations: 234.9 kB / 391 MB, free: 4.695 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.2927, allocations: 1.31 MB / 392.3 MB, free: 3.961 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.2927, allocations: 39.23 kB / 392.3 MB, free: 3.945 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-05/0.2929, allocations: 56.98 kB / 392.4 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.2942, allocations: 0.7222 MB / 393.1 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.2942, allocations: 0.9688 kB / 393.1 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.663e-05/0.2942, allocations: 24.95 kB / 393.1 MB, free: 3.617 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.2943, allocations: 15.8 kB / 393.1 MB, free: 3.617 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.2956, allocations: 0.6182 MB / 393.7 MB, free: 3.363 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/0.2986, allocations: 2.537 MB / 396.3 MB, free: 1.441 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.2998, allocations: 0.6693 MB / 396.9 MB, free: 1.078 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008491/0.3006, allocations: 0.5625 MB / 397.5 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007203/0.3079, allocations: 5.903 MB / 403.4 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008343/0.3087, allocations: 427.1 kB / 403.8 MB, free: 11.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.776e-06/0.3087, allocations: 0 / 403.8 MB, free: 11.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.006958/0.3157, allocations: 2.506 MB / 406.3 MB, free: 9.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.3158, allocations: 87.39 kB / 406.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.3174, allocations: 1.429 MB / 407.9 MB, free: 8.375 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.3175, allocations: 37.7 kB / 407.9 MB, free: 8.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006517/0.3182, allocations: 0.785 MB / 408.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.3184, allocations: 246.6 kB / 408.9 MB, free: 7.301 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.229e-05/0.3185, allocations: 65.69 kB / 409 MB, free: 7.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3186, allocations: 345.9 kB / 409.3 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006464/0.3192, allocations: 281.9 kB / 409.6 MB, free: 6.609 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007555/0.32, allocations: 474.1 kB / 410.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003495/0.3235, allocations: 1.646 MB / 411.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.3235, allocations: 7.938 kB / 411.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002229/0.3258, allocations: 1.191 MB / 412.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3258, allocations: 4 kB / 412.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/0.3259, allocations: 88.02 kB / 413 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009624/0.3269, allocations: 0.6019 MB / 413.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.3275, allocations: 151.8 kB / 413.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.3288, allocations: 1.531 MB / 415.3 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007969/0.3296, allocations: 107.3 kB / 415.4 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/0.3297, allocations: 40 kB / 415.4 MB, free: 0.5781 MB / 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.0005782/0.3303, allocations: 296.4 kB / 415.7 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.3305, allocations: 201.6 kB / 415.9 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/0.3331, allocations: 1.206 MB / 417.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.3331, allocations: 8 kB / 417.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3331, allocations: 0 / 417.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.3331, allocations: 7.922 kB / 417.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.3344, allocations: 0.9875 MB / 418.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.762e-05/0.3345, allocations: 83.92 kB / 418.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.3349, allocations: 83.88 kB / 418.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/0.336, allocations: 0.6475 MB / 418.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.645e-05/0.336, allocations: 27.92 kB / 418.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.3373, allocations: 1.134 MB / 420.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3373, allocations: 4 kB / 420.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/0.3401, allocations: 1.513 MB / 421.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000469/0.3406, allocations: 282.6 kB / 421.9 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000235/0.3408, allocations: 12 kB / 421.9 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005229/0.3413, allocations: 51.95 kB / 421.9 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.3415, allocations: 52.44 kB / 422 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.519e-05/0.3415, allocations: 27.98 kB / 422 MB, free: 9.836 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001176/0.3427, allocations: 0.9367 MB / 423 MB, free: 8.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3427, allocations: 0 / 423 MB, free: 8.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001019/0.3437, allocations: 439.4 kB / 423.4 MB, free: 8.449 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.0008012/0.3446, allocations: 479.8 kB / 423.9 MB, free: 8.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.3466, allocations: 0.9246 MB / 424.8 MB, free: 7.082 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3466, allocations: 0 / 424.8 MB, free: 7.082 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.3479, allocations: 0.5706 MB / 425.3 MB, free: 6.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.349, allocations: 203.9 kB / 425.5 MB, free: 6.297 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.3546, allocations: 3.64 MB / 429.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007698/0.3554, allocations: 1.222 MB / 430.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.3556, allocations: 79.44 kB / 430.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of SimCode: time 1.303e-06/0.3557, allocations: 0 / 430.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of Templates: time 0.03713/0.3928, allocations: 28.21 MB / 458.7 MB, free: 5.07 MB / 366.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)