Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 187.6 kB / 8.135 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 221.4 MB / 229.9 MB, free: 3.074 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008713/0.0008713, allocations: 101.3 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.763e-06/6.943e-06, allocations: 0 / 336.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2094, allocations: 50.39 MB / 386.9 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09945/0.3089, allocations: 92.88 MB / 479.8 MB, free: 9.945 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.3092, allocations: 67.97 kB / 479.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2812/0.5904, allocations: 58.34 MB / 0.5256 GB, free: 82.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.352e-05/0.5905, allocations: 32 kB / 0.5256 GB, free: 82.75 MB / 378.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.002513/0.593, allocations: 1.763 MB / 0.5273 GB, free: 80.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.5931, allocations: 11.97 kB / 0.5273 GB, free: 80.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.5933, allocations: 225.4 kB / 0.5276 GB, free: 80.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.5947, allocations: 1.253 MB / 0.5288 GB, free: 79.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.5948, allocations: 19.94 kB / 0.5288 GB, free: 79.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.431e-05/0.5949, allocations: 39.98 kB / 0.5288 GB, free: 79.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006323/0.5955, allocations: 442.5 kB / 0.5293 GB, free: 78.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007444/0.5963, allocations: 0.5509 MB / 0.5298 GB, free: 78.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.5963, allocations: 7.844 kB / 0.5298 GB, free: 78.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/0.5963, allocations: 0 / 0.5298 GB, free: 78.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.5964, allocations: 23.98 kB / 0.5298 GB, free: 78.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003162/0.5995, allocations: 2.48 MB / 0.5322 GB, free: 75.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005332/0.6001, allocations: 451.3 kB / 0.5327 GB, free: 75.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005591/0.6007, allocations: 450.3 kB / 0.5331 GB, free: 74.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008798/0.6095, allocations: 8.728 MB / 0.5416 GB, free: 64.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003872/0.6099, allocations: 293.8 kB / 0.5419 GB, free: 64.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.605e-06/0.6099, allocations: 7.875 kB / 0.5419 GB, free: 64.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=67): time 0.001466/0.6114, allocations: 0.9273 MB / 0.5428 GB, free: 63.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.6114, allocations: 89.55 kB / 0.5429 GB, free: 63.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.6127, allocations: 1.152 MB / 0.544 GB, free: 62.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/0.6127, allocations: 29.7 kB / 0.5441 GB, free: 62.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.6129, allocations: 408.9 kB / 0.5445 GB, free: 61.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.6131, allocations: 224.7 kB / 0.5447 GB, free: 61.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.6131, allocations: 0 / 0.5447 GB, free: 61.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.336e-05/0.6132, allocations: 334 kB / 0.545 GB, free: 61.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.6134, allocations: 181.8 kB / 0.5452 GB, free: 61.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.6137, allocations: 379.9 kB / 0.5455 GB, free: 60.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005202/0.6143, allocations: 326.9 kB / 0.5458 GB, free: 60.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.6143, allocations: 0 / 0.5458 GB, free: 60.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001368/0.6156, allocations: 1.041 MB / 0.5468 GB, free: 59.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.6157, allocations: 4 kB / 0.5469 GB, free: 59.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/0.6158, allocations: 79.97 kB / 0.5469 GB, free: 59.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.6168, allocations: 0.6647 MB / 0.5476 GB, free: 58.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.6173, allocations: 135.8 kB / 0.5477 GB, free: 58.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.6187, allocations: 1.276 MB / 0.549 GB, free: 57.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007639/0.6194, allocations: 91.23 kB / 0.549 GB, free: 56.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/0.6195, allocations: 39.94 kB / 0.5491 GB, free: 56.95 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: RS2.v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real Q2.vcs:VARIABLE(unit = "V" ) type: Real Q1.B.v:VARIABLE(flow=false unit = "V" ) "Potential at the pin" type: Real Q1.vcs:VARIABLE(unit = "V" ) type: Real Q2.Einternal:VARIABLE(unit = "V" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {5 26} Notification: Performance of prepare postOptimizeDAE: time 0.0001878/0.6197, allocations: 141.1 kB / 0.5492 GB, free: 56.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.6199, allocations: 205.6 kB / 0.5494 GB, free: 56.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.6222, allocations: 1.153 MB / 0.5505 GB, free: 55.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.6222, allocations: 4 kB / 0.5505 GB, free: 55.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6223, allocations: 0 / 0.5505 GB, free: 55.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.6223, allocations: 3.984 kB / 0.5505 GB, free: 55.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009608/0.6232, allocations: 0.9113 MB / 0.5514 GB, free: 54.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.642e-05/0.6233, allocations: 67.98 kB / 0.5515 GB, free: 54.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.6237, allocations: 79.88 kB / 0.5516 GB, free: 54.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000993/0.6247, allocations: 0.6739 MB / 0.5522 GB, free: 53.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.6248, allocations: 12 kB / 0.5522 GB, free: 53.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.6261, allocations: 1.26 MB / 0.5535 GB, free: 52.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.6261, allocations: 0 / 0.5535 GB, free: 52.38 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001635/0.6277, allocations: 1.266 MB / 0.5547 GB, free: 51.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004406/0.6282, allocations: 302.4 kB / 0.555 GB, free: 50.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.6284, allocations: 4 kB / 0.555 GB, free: 50.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/0.6289, allocations: 51.95 kB / 0.5551 GB, free: 50.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.6291, allocations: 44.36 kB / 0.5551 GB, free: 50.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/0.6291, allocations: 27.94 kB / 0.5551 GB, free: 50.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0009465/0.6301, allocations: 0.867 MB / 0.556 GB, free: 49.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009189/0.631, allocations: 459.1 kB / 0.5564 GB, free: 49.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * 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) * 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 {5 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007937/0.6318, allocations: 0.6081 MB / 0.557 GB, free: 48.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.6331, allocations: 0.7008 MB / 0.5577 GB, free: 48.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6331, allocations: 0 / 0.5577 GB, free: 48.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007589/0.6339, allocations: 457.2 kB / 0.5581 GB, free: 47.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.6347, allocations: 190.6 kB / 0.5583 GB, free: 47.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/0.6389, allocations: 2.399 MB / 0.5606 GB, free: 44.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005922/0.6395, allocations: 1.341 MB / 0.562 GB, free: 43.59 MB / 378.7 MB Notification: Performance of SimCode: time 7.12e-07/0.6395, allocations: 0 / 0.562 GB, free: 43.59 MB / 378.7 MB Notification: Performance of Templates: time 0.02433/0.6639, allocations: 14.89 MB / 0.5765 GB, free: 28.87 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)