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/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_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") [: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 trunk/package.mo): time 0.001208/0.001208, allocations: 195.2 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 225.5 MB / 234.4 MB, free: 3.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009752/0.0009749, allocations: 92.84 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.646e-06/8.846e-06, allocations: 4 kB / 343.1 MB, free: 8.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.107, allocations: 51.48 MB / 394.6 MB, free: 5.27 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2745/0.3816, allocations: 93.68 MB / 488.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.3819, allocations: 73.75 kB / 488.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.1277/0.5096, allocations: 58.55 MB / 0.5341 GB, free: 10.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001041/0.5098, allocations: 24 kB / 0.5341 GB, free: 10.51 MB / 410.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.003816/0.5136, allocations: 1.773 MB / 0.5359 GB, free: 8.684 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.5136, allocations: 8.031 kB / 0.5359 GB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006688/0.5143, allocations: 241.4 kB / 0.5361 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.5167, allocations: 1.251 MB / 0.5373 GB, free: 7.117 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.5168, allocations: 20 kB / 0.5373 GB, free: 7.098 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.5169, allocations: 43.81 kB / 0.5374 GB, free: 7.059 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008753/0.5178, allocations: 443.5 kB / 0.5378 GB, free: 6.625 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009145/0.5187, allocations: 0.5509 MB / 0.5383 GB, free: 6.066 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.5188, allocations: 0 / 0.5383 GB, free: 6.066 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.707e-05/0.5188, allocations: 4 kB / 0.5383 GB, free: 6.062 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.5189, allocations: 15.98 kB / 0.5384 GB, free: 6.047 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004007/0.5229, allocations: 2.495 MB / 0.5408 GB, free: 3.445 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000613/0.5235, allocations: 448.6 kB / 0.5412 GB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005766/0.5241, allocations: 462.1 kB / 0.5417 GB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01064/0.5347, allocations: 8.729 MB / 0.5502 GB, free: 8.453 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004699/0.5352, allocations: 309.7 kB / 0.5505 GB, free: 8.133 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 2.875e-06/0.5353, allocations: 2.156 kB / 0.5505 GB, free: 8.133 MB / 426.7 MB Notification: Performance of matching and sorting (n=67): time 0.001867/0.5371, allocations: 0.9235 MB / 0.5514 GB, free: 7.199 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.5372, allocations: 81.55 kB / 0.5515 GB, free: 7.102 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/0.539, allocations: 1.155 MB / 0.5526 GB, free: 5.914 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.293e-05/0.539, allocations: 29.7 kB / 0.5526 GB, free: 5.879 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.5393, allocations: 408.8 kB / 0.553 GB, free: 5.469 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.5395, allocations: 224.6 kB / 0.5532 GB, free: 5.246 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.5396, allocations: 0 / 0.5532 GB, free: 5.246 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5397, allocations: 345.9 kB / 0.5536 GB, free: 4.902 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.54, allocations: 177.8 kB / 0.5537 GB, free: 4.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.5404, allocations: 379.9 kB / 0.5541 GB, free: 4.277 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.5411, allocations: 318.7 kB / 0.5544 GB, free: 3.965 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.5411, allocations: 4 kB / 0.5544 GB, free: 3.961 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001738/0.5429, allocations: 1.037 MB / 0.5554 GB, free: 2.914 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5429, allocations: 8.781 kB / 0.5554 GB, free: 2.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/0.543, allocations: 71.98 kB / 0.5555 GB, free: 2.836 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.5443, allocations: 0.6757 MB / 0.5561 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.5448, allocations: 131.8 kB / 0.5563 GB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.5466, allocations: 1.28 MB / 0.5575 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008394/0.5474, allocations: 95.23 kB / 0.5576 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.681e-05/0.5475, allocations: 36 kB / 0.5577 GB, free: 0.5938 MB / 426.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.0002388/0.5477, allocations: 135.2 kB / 0.5578 GB, free: 468 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/0.548, allocations: 197.7 kB / 0.558 GB, free: 268 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/0.5508, allocations: 1.156 MB / 0.5591 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.5508, allocations: 4 kB / 0.5591 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.5508, allocations: 0 / 0.5591 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.5508, allocations: 7.984 kB / 0.5591 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.5523, allocations: 0.9158 MB / 0.56 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001114/0.5524, allocations: 71.97 kB / 0.5601 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.5528, allocations: 71.95 kB / 0.5601 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001127/0.5539, allocations: 0.6739 MB / 0.5608 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.433e-05/0.554, allocations: 11.98 kB / 0.5608 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.5556, allocations: 1.255 MB / 0.562 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5556, allocations: 7.906 kB / 0.562 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002046/0.5577, allocations: 1.261 MB / 0.5633 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005268/0.5582, allocations: 302.5 kB / 0.5636 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002913/0.5585, allocations: 7.984 kB / 0.5636 GB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005953/0.5591, allocations: 39.97 kB / 0.5636 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.5593, allocations: 48.36 kB / 0.5637 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/0.5593, allocations: 27.98 kB / 0.5637 GB, free: 10.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001294/0.5606, allocations: 0.8708 MB / 0.5645 GB, free: 9.398 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001122/0.5618, allocations: 463.1 kB / 0.565 GB, free: 8.945 MB / 442.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.001016/0.5628, allocations: 0.612 MB / 0.5656 GB, free: 8.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.5643, allocations: 0.6994 MB / 0.5663 GB, free: 7.613 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5643, allocations: 1.562 kB / 0.5663 GB, free: 7.613 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009609/0.5652, allocations: 461 kB / 0.5667 GB, free: 7.152 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009783/0.5662, allocations: 196.2 kB / 0.5669 GB, free: 6.961 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005269/0.5715, allocations: 2.384 MB / 0.5692 GB, free: 4.531 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009749/0.5725, allocations: 1.34 MB / 0.5705 GB, free: 3.16 MB / 442.7 MB Notification: Performance of SimCode: time 8.71e-07/0.5725, allocations: 4 kB / 0.5705 GB, free: 3.156 MB / 442.7 MB Notification: Performance of Templates: time 0.1742/0.7467, allocations: 14.91 MB / 0.5851 GB, free: 144.9 MB / 442.7 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)