Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001528/0.001528, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001583/0.001583, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.394/1.394, allocations: 227.6 MB / 247.9 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.91 kB / 359.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2246, allocations: 50.54 MB / 410.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009064/0.2337, allocations: 8.358 MB / 418.6 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01377/0.2474, allocations: 11.36 MB / 429.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009605/0.2484, allocations: 55.56 kB / 430 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.2503, allocations: 0.8442 MB / 430.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003216/0.2536, allocations: 1.239 MB / 432.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.2552, allocations: 0.7051 MB / 432.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003784/0.259, allocations: 2.728 MB / 435.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.2594, allocations: 237.8 kB / 435.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006769/0.2601, allocations: 0.5637 MB / 436.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006929/0.2608, allocations: 0.6133 MB / 436.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.2609, allocations: 68 kB / 437 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.2624, allocations: 0.7922 MB / 437.8 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.2626, allocations: 222.7 kB / 438 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006875/0.2633, allocations: 0.7647 MB / 438.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.2658, allocations: 2.139 MB / 440.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2658, allocations: 0 / 440.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2658, allocations: 0 / 440.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.266e-05/0.2658, allocations: 0 / 440.9 MB, free: 2.594 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.003561/0.2694, allocations: 2.288 MB / 443.2 MB, free: 244 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2694, allocations: 12.03 kB / 443.2 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004452/0.2699, allocations: 244.1 kB / 443.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.2718, allocations: 1.318 MB / 444.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/0.2718, allocations: 45.25 kB / 444.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.2719, allocations: 59.95 kB / 444.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.2732, allocations: 0.69 MB / 445.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.2733, allocations: 0 / 445.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/0.2733, allocations: 23.98 kB / 445.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.2733, allocations: 20 kB / 445.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.2747, allocations: 0.5673 MB / 446.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003707/0.2784, allocations: 2.515 MB / 448.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.2796, allocations: 0.5685 MB / 449.2 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00089/0.2805, allocations: 486.5 kB / 449.7 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007597/0.2881, allocations: 5.899 MB / 455.6 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008785/0.289, allocations: 399.4 kB / 456 MB, free: 2.371 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.554e-06/0.289, allocations: 3.938 kB / 456 MB, free: 2.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.006912/0.2959, allocations: 2.403 MB / 458.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/0.296, allocations: 93.59 kB / 458.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.2978, allocations: 1.426 MB / 459.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.44e-05/0.2978, allocations: 37.7 kB / 460 MB, free: 14.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007222/0.2986, allocations: 0.783 MB / 460.7 MB, free: 13.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.2988, allocations: 265.7 kB / 461 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.299, allocations: 142.6 kB / 461.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.2992, allocations: 337.9 kB / 461.5 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006327/0.2998, allocations: 261.8 kB / 461.7 MB, free: 12.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007736/0.3006, allocations: 442.1 kB / 462.2 MB, free: 12.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003407/0.304, allocations: 1.556 MB / 463.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.304, allocations: 8 kB / 463.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002185/0.3062, allocations: 1.129 MB / 464.9 MB, free: 9.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3062, allocations: 8.594 kB / 464.9 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/0.3063, allocations: 83.98 kB / 464.9 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.3073, allocations: 0.6039 MB / 465.5 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.3079, allocations: 135.8 kB / 465.7 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.3094, allocations: 1.534 MB / 467.2 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006479/0.3101, allocations: 87.44 kB / 467.3 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/0.3101, allocations: 39.98 kB / 467.3 MB, free: 6.715 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.0005258/0.3107, allocations: 301.3 kB / 467.6 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.3109, allocations: 206.7 kB / 467.8 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/0.3133, allocations: 1.13 MB / 469 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.3133, allocations: 8 kB / 469 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3133, allocations: 0 / 469 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3133, allocations: 3.984 kB / 469 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.3145, allocations: 1.003 MB / 470 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001137/0.3146, allocations: 75.98 kB / 470.1 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.315, allocations: 67.94 kB / 470.1 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/0.3161, allocations: 0.6475 MB / 470.8 MB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.157e-05/0.3162, allocations: 23.98 kB / 470.8 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.3176, allocations: 1.145 MB / 471.9 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3176, allocations: 0 / 471.9 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/0.3203, allocations: 1.41 MB / 473.3 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004438/0.3208, allocations: 299.6 kB / 473.6 MB, free: 272 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.3209, allocations: 12 kB / 473.6 MB, free: 260 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005096/0.3214, allocations: 39.95 kB / 473.7 MB, free: 220 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.3216, allocations: 52.44 kB / 473.7 MB, free: 164 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.156e-05/0.3216, allocations: 27.98 kB / 473.8 MB, free: 136 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001252/0.3229, allocations: 0.9367 MB / 474.7 MB, free: 15.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3229, allocations: 7.875 kB / 474.7 MB, free: 15.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009476/0.3238, allocations: 439 kB / 475.1 MB, free: 14.74 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.0008189/0.3246, allocations: 487.5 kB / 475.6 MB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.3267, allocations: 0.8229 MB / 476.4 MB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3267, allocations: 0 / 476.4 MB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.3279, allocations: 0.508 MB / 476.9 MB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009303/0.3289, allocations: 207 kB / 477.1 MB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004852/0.3337, allocations: 3.007 MB / 480.2 MB, free: 9.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008272/0.3345, allocations: 1.224 MB / 481.4 MB, free: 8.391 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004407/0.335, allocations: 166.1 kB / 481.5 MB, free: 8.227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.3351, allocations: 75.38 kB / 481.6 MB, free: 8.152 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3351, allocations: 4 kB / 481.6 MB, free: 8.148 MB / 398.1 MB Notification: Performance of Templates: time 0.03103/0.3662, allocations: 16.75 MB / 498.4 MB, free: 7.484 MB / 414.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)