Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 193.3 kB / 17.38 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 226.6 MB / 244.7 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007165/0.0007167, allocations: 95.75 kB / 296.7 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002069/0.000207, allocations: 4 kB / 356.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2715, allocations: 51.29 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008502/0.2801, allocations: 7.312 MB / 415.4 MB, free: 20.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01581/0.2959, allocations: 10.37 MB / 425.7 MB, free: 9.977 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.2977, allocations: 19.94 kB / 425.7 MB, free: 9.957 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002794/0.3005, allocations: 0.6758 MB / 426.4 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005548/0.3061, allocations: 0.9392 MB / 427.4 MB, free: 8.332 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002716/0.3089, allocations: 482.8 kB / 427.8 MB, free: 7.859 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005533/0.3144, allocations: 2.495 MB / 430.3 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009517/0.3154, allocations: 322.6 kB / 430.6 MB, free: 5.016 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008971/0.3163, allocations: 497.5 kB / 431.1 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.3174, allocations: 0.5513 MB / 431.7 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002372/0.3177, allocations: 36 kB / 431.7 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/0.3205, allocations: 0.7101 MB / 432.4 MB, free: 3.227 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.3208, allocations: 182.8 kB / 432.6 MB, free: 3.047 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.3219, allocations: 0.7124 MB / 433.3 MB, free: 2.324 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.3242, allocations: 1.531 MB / 434.8 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3242, allocations: 4 kB / 434.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3242, allocations: 0 / 434.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.326e-05/0.3243, allocations: 0 / 434.9 MB, free: 0.7852 MB / 298.7 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.004707/0.329, allocations: 1.975 MB / 436.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.3291, allocations: 12.03 kB / 436.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007821/0.3299, allocations: 230.4 kB / 437.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003138/0.333, allocations: 1.313 MB / 438.4 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.147e-05/0.3331, allocations: 41.25 kB / 438.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.3333, allocations: 63.91 kB / 438.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002261/0.3356, allocations: 0.7095 MB / 439.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.3357, allocations: 0 / 439.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.634e-05/0.3358, allocations: 23.98 kB / 439.2 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/0.3358, allocations: 20 kB / 439.2 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.3381, allocations: 0.6142 MB / 439.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006371/0.3445, allocations: 2.53 MB / 442.4 MB, free: 8.984 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.3467, allocations: 0.6724 MB / 443 MB, free: 8.301 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.3483, allocations: 0.561 MB / 443.6 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01201/0.3603, allocations: 5.907 MB / 449.5 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001467/0.3618, allocations: 423.3 kB / 449.9 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 6.513e-06/0.3619, allocations: 0 / 449.9 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.01178/0.3737, allocations: 2.488 MB / 452.4 MB, free: 14.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.483e-05/0.3738, allocations: 89.67 kB / 452.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/0.3763, allocations: 1.403 MB / 453.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.798e-05/0.3764, allocations: 37.7 kB / 453.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006299/0.3771, allocations: 0.7862 MB / 454.7 MB, free: 11.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.3773, allocations: 252.4 kB / 455 MB, free: 11.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.3774, allocations: 12 kB / 455 MB, free: 11.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3775, allocations: 345.9 kB / 455.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000643/0.3782, allocations: 273.9 kB / 455.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000737/0.3789, allocations: 470.1 kB / 456.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003351/0.3823, allocations: 1.642 MB / 457.7 MB, free: 8.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3823, allocations: 4 kB / 457.7 MB, free: 8.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00238/0.3847, allocations: 1.214 MB / 458.9 MB, free: 7.348 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3847, allocations: 12.53 kB / 458.9 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/0.3848, allocations: 84 kB / 459 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.386, allocations: 0.7491 MB / 459.8 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/0.3865, allocations: 131.8 kB / 459.9 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.3878, allocations: 1.121 MB / 461 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006751/0.3885, allocations: 99.3 kB / 461.1 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/0.3886, allocations: 35.94 kB / 461.1 MB, free: 5.094 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: Q2.vbc:VARIABLE(start = 0.0 unit = "V" fixed = true ) type: Real Q1.vbc: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 ($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 (56): * Single equations (assignments): 55 * 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: 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005825/0.3892, allocations: 295.3 kB / 461.4 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.3895, allocations: 205.6 kB / 461.6 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00253/0.392, allocations: 1.2 MB / 462.8 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.392, allocations: 8 kB / 462.8 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3921, allocations: 0 / 462.8 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.3921, allocations: 3.984 kB / 462.8 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.3934, allocations: 0.9911 MB / 463.8 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001024/0.3935, allocations: 83.94 kB / 463.9 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/0.3939, allocations: 83.88 kB / 464 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.395, allocations: 0.6474 MB / 464.6 MB, free: 1.512 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-05/0.3951, allocations: 20 kB / 464.7 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.3964, allocations: 1.138 MB / 465.8 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3964, allocations: 0 / 465.8 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.3991, allocations: 1.507 MB / 467.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.3996, allocations: 282.5 kB / 467.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.3998, allocations: 15.98 kB / 467.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/0.4003, allocations: 51.91 kB / 467.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.4005, allocations: 52.48 kB / 467.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/0.4005, allocations: 31.92 kB / 467.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001246/0.4018, allocations: 0.9211 MB / 468.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4018, allocations: 0 / 468.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009456/0.4027, allocations: 431.5 kB / 469.1 MB, free: 12.98 MB / 346.7 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.0009922/0.4037, allocations: 487.9 kB / 469.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002061/0.4058, allocations: 0.9432 MB / 470.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4058, allocations: 0 / 470.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.407, allocations: 0.5783 MB / 471.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.4081, allocations: 210.1 kB / 471.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.4133, allocations: 3.433 MB / 474.7 MB, free: 7.273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007718/0.4141, allocations: 1.224 MB / 475.9 MB, free: 6.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.4143, allocations: 79.42 kB / 476 MB, free: 5.941 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4143, allocations: 0 / 476 MB, free: 5.941 MB / 346.7 MB Notification: Performance of Templates: time 0.03178/0.4461, allocations: 24.76 MB / 0.489 GB, free: 13.17 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)