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.001036/0.001036, allocations: 118.8 kB / 17.78 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.001164/0.001164, allocations: 202 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.37/1.37, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2678, allocations: 50.55 MB / 409.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008514/0.2764, allocations: 8.328 MB / 417.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.2904, allocations: 11.33 MB / 428.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00224/0.2927, allocations: 59.5 kB / 429 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002574/0.2953, allocations: 0.8442 MB / 429.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004962/0.3003, allocations: 1.24 MB / 431.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.3026, allocations: 0.7012 MB / 431.8 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004111/0.3068, allocations: 2.72 MB / 434.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005618/0.3073, allocations: 361.7 kB / 434.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008795/0.3082, allocations: 0.5559 MB / 435.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009109/0.3091, allocations: 0.6289 MB / 436 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.3093, allocations: 67.98 kB / 436.1 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.3112, allocations: 0.7845 MB / 436.9 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.3114, allocations: 222.6 kB / 437.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008865/0.3123, allocations: 0.7686 MB / 437.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.3148, allocations: 2.121 MB / 440 MB, free: 2.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3148, allocations: 0 / 440 MB, free: 2.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3148, allocations: 4 kB / 440 MB, free: 2.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.3149, allocations: 4 kB / 440 MB, free: 2.719 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.003018/0.3179, allocations: 2.215 MB / 442.2 MB, free: 448 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3179, allocations: 11.97 kB / 442.2 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003683/0.3183, allocations: 234.3 kB / 442.4 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.32, allocations: 1.297 MB / 443.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.32, allocations: 49.23 kB / 443.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.3201, allocations: 59.88 kB / 443.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.3213, allocations: 0.69 MB / 444.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.3214, allocations: 0 / 444.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/0.3214, allocations: 28 kB / 444.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.3214, allocations: 19.98 kB / 444.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.3227, allocations: 0.5595 MB / 445.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003196/0.3259, allocations: 2.511 MB / 447.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.327, allocations: 0.6154 MB / 448.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008417/0.3279, allocations: 0.5415 MB / 448.8 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006872/0.3347, allocations: 5.899 MB / 454.7 MB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008159/0.3356, allocations: 403.3 kB / 455.1 MB, free: 2.484 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.925e-06/0.3356, allocations: 0 / 455.1 MB, free: 2.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.006502/0.3421, allocations: 2.421 MB / 457.5 MB, free: 36 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/0.3422, allocations: 93.66 kB / 457.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.3439, allocations: 1.423 MB / 459 MB, free: 14.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.3439, allocations: 33.7 kB / 459.1 MB, free: 14.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006419/0.3446, allocations: 0.7862 MB / 459.9 MB, free: 13.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.3448, allocations: 248.5 kB / 460.1 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.345, allocations: 138.6 kB / 460.2 MB, free: 13.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3451, allocations: 341.9 kB / 460.6 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005789/0.3457, allocations: 261.9 kB / 460.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/0.3464, allocations: 442.1 kB / 461.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003223/0.3496, allocations: 1.56 MB / 462.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.3497, allocations: 4 kB / 462.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002091/0.3518, allocations: 1.148 MB / 464 MB, free: 9.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3518, allocations: 8 kB / 464 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/0.3519, allocations: 83.98 kB / 464.1 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009982/0.3529, allocations: 0.6016 MB / 464.7 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/0.3535, allocations: 143.7 kB / 464.8 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.3549, allocations: 1.526 MB / 466.3 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00062/0.3556, allocations: 87.23 kB / 466.4 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/0.3556, allocations: 40 kB / 466.4 MB, free: 6.816 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.0005292/0.3562, allocations: 301.6 kB / 466.7 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.3564, allocations: 197.7 kB / 466.9 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.3588, allocations: 1.153 MB / 468.1 MB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.3588, allocations: 4 kB / 468.1 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3588, allocations: 3.938 kB / 468.1 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.3588, allocations: 3.984 kB / 468.1 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.36, allocations: 1.014 MB / 469.1 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001043/0.3602, allocations: 79.98 kB / 469.2 MB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.3605, allocations: 63.94 kB / 469.3 MB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/0.3617, allocations: 0.6553 MB / 469.9 MB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.364e-05/0.3617, allocations: 20 kB / 469.9 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.363, allocations: 1.141 MB / 471.1 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.363, allocations: 0 / 471.1 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/0.3657, allocations: 1.436 MB / 472.5 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/0.3662, allocations: 286.6 kB / 472.8 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.3664, allocations: 19.92 kB / 472.8 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.3669, allocations: 31.91 kB / 472.8 MB, free: 276 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.367, allocations: 48.5 kB / 472.9 MB, free: 224 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.964e-05/0.3671, allocations: 27.98 kB / 472.9 MB, free: 196 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001341/0.3685, allocations: 0.9484 MB / 473.9 MB, free: 15.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.703e-06/0.3685, allocations: 3.938 kB / 473.9 MB, free: 15.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001081/0.3696, allocations: 431.4 kB / 474.3 MB, free: 14.8 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.0009217/0.3705, allocations: 492.1 kB / 474.8 MB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00199/0.3725, allocations: 0.8776 MB / 475.6 MB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3725, allocations: 0 / 475.6 MB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.3737, allocations: 0.5549 MB / 476.2 MB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009143/0.3747, allocations: 210.6 kB / 476.4 MB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005152/0.3798, allocations: 2.944 MB / 479.3 MB, free: 9.664 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000902/0.3807, allocations: 1.228 MB / 480.6 MB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004887/0.3812, allocations: 154.2 kB / 480.7 MB, free: 8.254 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.3814, allocations: 79.42 kB / 480.8 MB, free: 8.176 MB / 398.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3814, allocations: 3.938 kB / 480.8 MB, free: 8.172 MB / 398.1 MB Notification: Performance of Templates: time 0.03062/0.412, allocations: 16.65 MB / 497.5 MB, free: 7.566 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)