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.0008969/0.0008969, allocations: 195.9 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 226.6 MB / 244.3 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007277/0.0007278, allocations: 90.02 kB / 296.4 MB, free: 6.785 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001986/0.0001987, allocations: 4 kB / 356.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1888, allocations: 51.3 MB / 407.5 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.004417/0.1933, allocations: 7.304 MB / 414.8 MB, free: 20.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00811/0.2014, allocations: 10.37 MB / 425.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007471/0.2022, allocations: 15.94 kB / 425.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.2036, allocations: 0.6759 MB / 425.9 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.206, allocations: 0.9431 MB / 426.8 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.2072, allocations: 490.8 kB / 427.3 MB, free: 7.969 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00259/0.2098, allocations: 2.483 MB / 429.8 MB, free: 5.477 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003825/0.2102, allocations: 302.9 kB / 430.1 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004413/0.2107, allocations: 497.6 kB / 430.6 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.2111, allocations: 0.5512 MB / 431.1 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.255e-05/0.2112, allocations: 36 kB / 431.1 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.2124, allocations: 0.7179 MB / 431.9 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-05/0.2125, allocations: 170.8 kB / 432 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.2127, allocations: 348.7 kB / 432.4 MB, free: 2.844 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009443/0.2137, allocations: 1.519 MB / 433.9 MB, free: 1.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.2137, allocations: 3.984 kB / 433.9 MB, free: 1.316 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2137, allocations: 0 / 433.9 MB, free: 1.316 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.2137, allocations: 0 / 433.9 MB, free: 1.316 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.00263/0.2164, allocations: 2.002 MB / 435.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.2164, allocations: 11.97 kB / 435.9 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004003/0.2168, allocations: 241.4 kB / 436.1 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.2185, allocations: 1.22 MB / 437.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.2185, allocations: 41.31 kB / 437.4 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.626e-05/0.2186, allocations: 52 kB / 437.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.2198, allocations: 0.7095 MB / 438.2 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2199, allocations: 0 / 438.2 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.647e-05/0.2199, allocations: 27.98 kB / 438.2 MB, free: 12.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.22, allocations: 16 kB / 438.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.2212, allocations: 0.6141 MB / 438.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003157/0.2244, allocations: 2.542 MB / 441.4 MB, free: 9.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.2256, allocations: 0.6584 MB / 442 MB, free: 8.898 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000859/0.2265, allocations: 0.5727 MB / 442.6 MB, free: 8.328 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007286/0.2338, allocations: 5.911 MB / 448.5 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009328/0.2348, allocations: 419.4 kB / 448.9 MB, free: 1.191 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 3.857e-06/0.2348, allocations: 0 / 448.9 MB, free: 1.191 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.008031/0.2428, allocations: 2.414 MB / 451.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.2429, allocations: 89.66 kB / 451.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.2448, allocations: 1.407 MB / 452.8 MB, free: 13.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.2449, allocations: 37.7 kB / 452.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007385/0.2456, allocations: 0.7862 MB / 453.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/0.2459, allocations: 244.5 kB / 453.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.2459, allocations: 16 kB / 453.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2461, allocations: 337.9 kB / 454.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006127/0.2467, allocations: 277.9 kB / 454.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007074/0.2474, allocations: 466.1 kB / 455 MB, free: 10.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/0.2481, allocations: 340.1 kB / 455.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.2481, allocations: 7.953 kB / 455.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002074/0.2502, allocations: 1.211 MB / 456.5 MB, free: 9.391 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.2502, allocations: 8 kB / 456.5 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.881e-05/0.2503, allocations: 76 kB / 456.6 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009619/0.2513, allocations: 0.601 MB / 457.2 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/0.2518, allocations: 143.8 kB / 457.3 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.2531, allocations: 1.53 MB / 458.9 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006254/0.2538, allocations: 95.25 kB / 458.9 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-05/0.2538, allocations: 39.98 kB / 459 MB, free: 6.852 MB / 330.7 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.0005436/0.2544, allocations: 301.7 kB / 459.3 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.2546, allocations: 197.7 kB / 459.5 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.2569, allocations: 1.208 MB / 460.7 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.2569, allocations: 8 kB / 460.7 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.2569, allocations: 0 / 460.7 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.2569, allocations: 3.984 kB / 460.7 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.2581, allocations: 0.991 MB / 461.7 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001179/0.2583, allocations: 76 kB / 461.8 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.2587, allocations: 75.94 kB / 461.8 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001162/0.2598, allocations: 0.6591 MB / 462.5 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.419e-05/0.2599, allocations: 12 kB / 462.5 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/0.2612, allocations: 1.145 MB / 463.6 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2612, allocations: 0 / 463.6 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/0.264, allocations: 1.495 MB / 465.1 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004828/0.2645, allocations: 294.4 kB / 465.4 MB, free: 256 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/0.2648, allocations: 16 kB / 465.4 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005536/0.2653, allocations: 51.89 kB / 465.5 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.2655, allocations: 52.48 kB / 465.5 MB, free: 136 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.767e-05/0.2655, allocations: 31.92 kB / 465.6 MB, free: 104 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001502/0.267, allocations: 0.9211 MB / 466.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2671, allocations: 0 / 466.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001018/0.2681, allocations: 435.5 kB / 466.9 MB, free: 14.73 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.0007505/0.2688, allocations: 448.1 kB / 467.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.2709, allocations: 0.9168 MB / 468.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2709, allocations: 0 / 468.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.2721, allocations: 0.5744 MB / 468.9 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.2731, allocations: 214.6 kB / 469.1 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005504/0.2786, allocations: 3.442 MB / 472.5 MB, free: 9.078 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008038/0.2794, allocations: 1.22 MB / 473.7 MB, free: 7.828 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.2797, allocations: 75.44 kB / 473.8 MB, free: 7.754 MB / 346.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2797, allocations: 0 / 473.8 MB, free: 7.754 MB / 346.7 MB Notification: Performance of Templates: time 0.04033/0.32, allocations: 28.23 MB / 0.4903 GB, free: 11.51 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)