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.0008879/0.000888, allocations: 99.92 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009309/0.000931, allocations: 198 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001917/0.0001917, allocations: 8 kB / 306.6 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0909/0.09111, allocations: 51.48 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009554/0.1007, allocations: 6.779 MB / 364.8 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.178/0.2787, allocations: 9.934 MB / 374.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008316/0.2796, allocations: 21.06 kB / 374.8 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.2814, allocations: 0.7087 MB / 375.5 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.2843, allocations: 1.082 MB / 376.6 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.2859, allocations: 493.6 kB / 377.1 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004109/0.29, allocations: 2.498 MB / 379.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004626/0.2905, allocations: 298.4 kB / 379.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007586/0.2913, allocations: 499.2 kB / 380.3 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005719/0.2919, allocations: 0.5547 MB / 380.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.239e-05/0.292, allocations: 38.97 kB / 380.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/0.2939, allocations: 0.74 MB / 381.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.2941, allocations: 169.1 kB / 381.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.2943, allocations: 356 kB / 382.2 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.2959, allocations: 1.495 MB / 383.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.2959, allocations: 0 / 383.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2959, allocations: 0 / 383.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.296, allocations: 2.125 kB / 383.7 MB, free: 7.863 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.003082/0.299, allocations: 1.987 MB / 385.7 MB, free: 6.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2991, allocations: 9.125 kB / 385.7 MB, free: 6.672 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003885/0.2995, allocations: 236.4 kB / 385.9 MB, free: 6.562 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.3014, allocations: 1.232 MB / 387.1 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.374e-05/0.3015, allocations: 41.19 kB / 387.2 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.3016, allocations: 56.81 kB / 387.2 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.303, allocations: 0.7053 MB / 387.9 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.303, allocations: 0 / 387.9 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.378e-05/0.3031, allocations: 20.25 kB / 388 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.3031, allocations: 19.28 kB / 388 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.3044, allocations: 0.612 MB / 388.6 MB, free: 6.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/0.3077, allocations: 2.546 MB / 391.1 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.3089, allocations: 0.6702 MB / 391.8 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006194/0.3151, allocations: 5.932 MB / 397.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008441/0.316, allocations: 427.6 kB / 398.2 MB, free: 15.56 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 3.336e-06/0.316, allocations: 0 / 398.2 MB, free: 15.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.006947/0.323, allocations: 2.433 MB / 400.6 MB, free: 14.33 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.323, allocations: 93.31 kB / 400.7 MB, free: 14.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.3248, allocations: 1.399 MB / 402.1 MB, free: 13.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.957e-05/0.3249, allocations: 43.5 kB / 402.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006945/0.3256, allocations: 0.7798 MB / 402.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.3258, allocations: 248.8 kB / 403.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.3259, allocations: 15.16 kB / 403.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.326, allocations: 342.1 kB / 403.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006033/0.3266, allocations: 286 kB / 403.8 MB, free: 12.01 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000684/0.3273, allocations: 454.2 kB / 404.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000667/0.328, allocations: 346.5 kB / 404.6 MB, free: 11.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.328, allocations: 1.094 kB / 404.6 MB, free: 11.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002246/0.3302, allocations: 1.2 MB / 405.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.3303, allocations: 8 kB / 405.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/0.3304, allocations: 80.58 kB / 405.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.3314, allocations: 0.6 MB / 406.5 MB, free: 9.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/0.332, allocations: 147.8 kB / 406.6 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.3333, allocations: 1.524 MB / 408.1 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009596/0.3343, allocations: 104.7 kB / 408.2 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.68e-05/0.3343, allocations: 32 kB / 408.3 MB, free: 8.133 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: Q2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Q2.vbc:VARIABLE(start = 0.0 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 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 12,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006467/0.335, allocations: 303.1 kB / 408.5 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.3352, allocations: 197.7 kB / 408.7 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.3378, allocations: 1.218 MB / 410 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.3378, allocations: 4 kB / 410 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3378, allocations: 0 / 410 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3378, allocations: 9.625 kB / 410 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.3389, allocations: 0.9945 MB / 411 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.364e-05/0.3391, allocations: 75.97 kB / 411 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.3394, allocations: 75.94 kB / 411.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.3405, allocations: 0.6483 MB / 411.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/0.3405, allocations: 23.98 kB / 411.8 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.3417, allocations: 1.141 MB / 412.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3417, allocations: 96 / 412.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/0.3442, allocations: 1.506 MB / 414.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/0.3447, allocations: 293 kB / 414.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.3448, allocations: 12.12 kB / 414.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004891/0.3453, allocations: 55.91 kB / 414.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.3455, allocations: 52.48 kB / 414.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.872e-05/0.3455, allocations: 24 kB / 414.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001094/0.3466, allocations: 0.925 MB / 415.8 MB, free: 452 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3466, allocations: 4 kB / 415.8 MB, free: 448 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009811/0.3476, allocations: 435.4 kB / 416.2 MB, free: 12 kB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.000685/0.3483, allocations: 441.5 kB / 416.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.3502, allocations: 0.9193 MB / 417.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3503, allocations: 0 / 417.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.3515, allocations: 0.5692 MB / 418.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008311/0.3523, allocations: 216.3 kB / 418.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004864/0.3572, allocations: 3.392 MB / 421.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/0.3579, allocations: 1.251 MB / 423 MB, free: 9.199 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005494/0.3585, allocations: 166.1 kB / 423.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.3586, allocations: 75.42 kB / 423.2 MB, free: 8.961 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3586, allocations: 0 / 423.2 MB, free: 8.961 MB / 334.1 MB Notification: Performance of Templates: time 0.0254/0.384, allocations: 14.73 MB / 438 MB, free: 10.29 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)