Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005492/0.005492, allocations: 98.64 kB / 15.73 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 197.3 kB / 16.68 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 222.6 MB, free: 4.543 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 54.67 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09482/0.09604, allocations: 46.62 MB / 373.2 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007856/0.1039, allocations: 8.157 MB / 381.3 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.1156, allocations: 10.96 MB / 392.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.1167, allocations: 55.56 kB / 392.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.1186, allocations: 0.8248 MB / 393.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003386/0.122, allocations: 1.219 MB / 394.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.1237, allocations: 0.6817 MB / 395.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003632/0.1273, allocations: 2.65 MB / 397.7 MB, free: 8.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000522/0.1279, allocations: 353.7 kB / 398.1 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000573/0.1285, allocations: 0.5287 MB / 398.6 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006944/0.1292, allocations: 0.6133 MB / 399.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.1293, allocations: 68 kB / 399.3 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.1309, allocations: 0.7143 MB / 400 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.1311, allocations: 222.6 kB / 400.2 MB, free: 6.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007037/0.1319, allocations: 0.7647 MB / 401 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.1346, allocations: 2.127 MB / 403.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1346, allocations: 0 / 403.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1346, allocations: 4 kB / 403.1 MB, free: 3.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.788e-05/0.1346, allocations: 0 / 403.1 MB, free: 3.352 MB / 334.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.003173/0.1378, allocations: 2.284 MB / 405.4 MB, free: 1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1379, allocations: 12.03 kB / 405.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002793/0.1382, allocations: 227.5 kB / 405.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.1399, allocations: 1.322 MB / 407 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.14, allocations: 45.31 kB / 407 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.491e-05/0.1401, allocations: 56 kB / 407 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.1413, allocations: 0.6861 MB / 407.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1414, allocations: 4 kB / 407.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/0.1414, allocations: 23.98 kB / 407.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.1415, allocations: 27.98 kB / 407.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.1427, allocations: 0.5595 MB / 408.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/0.1462, allocations: 2.519 MB / 410.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.1474, allocations: 0.6231 MB / 411.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008459/0.1483, allocations: 0.5455 MB / 412 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008381/0.1567, allocations: 7.489 MB / 419.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007596/0.1574, allocations: 389.8 kB / 419.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.494e-06/0.1575, allocations: 0 / 419.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005643/0.1631, allocations: 2.095 MB / 422 MB, free: 14.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/0.1632, allocations: 85.55 kB / 422.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.1649, allocations: 1.435 MB / 423.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.165, allocations: 37.7 kB / 423.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006498/0.1656, allocations: 0.8102 MB / 424.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.1658, allocations: 230 kB / 424.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.166, allocations: 142.6 kB / 424.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1662, allocations: 338 kB / 425.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005891/0.1668, allocations: 249.8 kB / 425.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007026/0.1675, allocations: 458.2 kB / 425.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.1688, allocations: 0.7402 MB / 426.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1688, allocations: 0 / 426.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00202/0.1709, allocations: 1.144 MB / 427.6 MB, free: 9.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.1709, allocations: 8 kB / 427.6 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.975e-05/0.171, allocations: 72 kB / 427.7 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.1722, allocations: 0.6959 MB / 428.4 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.1726, allocations: 115.8 kB / 428.5 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.174, allocations: 1.124 MB / 429.6 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006359/0.1746, allocations: 95.44 kB / 429.7 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.831e-05/0.1747, allocations: 40 kB / 429.8 MB, free: 6.914 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(5,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0004372/0.1751, allocations: 293.8 kB / 430.1 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.1754, allocations: 210.7 kB / 430.3 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.1776, allocations: 1.088 MB / 431.4 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.1776, allocations: 8 kB / 431.4 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1776, allocations: 128 / 431.4 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.1776, allocations: 3.984 kB / 431.4 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.1787, allocations: 0.9796 MB / 432.4 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.915e-05/0.1788, allocations: 68 kB / 432.4 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.1791, allocations: 59.88 kB / 432.5 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001065/0.1802, allocations: 0.6672 MB / 433.1 MB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.1803, allocations: 23.94 kB / 433.2 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.1815, allocations: 1.1 MB / 434.3 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1816, allocations: 3.938 kB / 434.3 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.1841, allocations: 1.352 MB / 435.6 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003715/0.1844, allocations: 299.5 kB / 435.9 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.1846, allocations: 16 kB / 435.9 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/0.1851, allocations: 35.95 kB / 436 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.1852, allocations: 44.38 kB / 436 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.057e-05/0.1853, allocations: 24 kB / 436 MB, free: 0.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001211/0.1865, allocations: 0.9488 MB / 437 MB, free: 15.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1865, allocations: 0 / 437 MB, free: 15.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009434/0.1874, allocations: 431 kB / 437.4 MB, free: 15.11 MB / 382.1 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) * 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 {(5,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007972/0.1882, allocations: 483.5 kB / 437.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001979/0.1902, allocations: 0.8583 MB / 438.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1903, allocations: 0 / 438.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.1914, allocations: 0.5213 MB / 439.3 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007569/0.1922, allocations: 191.1 kB / 439.4 MB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004834/0.197, allocations: 3.075 MB / 442.5 MB, free: 9.914 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007392/0.1978, allocations: 1.216 MB / 443.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004375/0.1982, allocations: 162.1 kB / 443.9 MB, free: 8.508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.1984, allocations: 83.42 kB / 444 MB, free: 8.426 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1984, allocations: 0 / 444 MB, free: 8.426 MB / 382.1 MB Notification: Performance of Templates: time 0.2098/0.4082, allocations: 16.17 MB / 460.1 MB, free: 71.03 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)