Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.005273/0.005274, allocations: 99.97 kB / 15.73 MB, free: 6.051 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.001129/0.001129, allocations: 199.8 kB / 16.68 MB, free: 5.965 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.376/1.376, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001284/0.001284, allocations: 54.61 kB / 326.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09152/0.09282, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008573/0.1014, allocations: 8.157 MB / 381.3 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01463/0.1161, allocations: 10.97 MB / 392.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.1178, allocations: 55.56 kB / 392.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.12, allocations: 0.8287 MB / 393.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004106/0.1242, allocations: 1.219 MB / 394.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002831/0.127, allocations: 0.6973 MB / 395.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004485/0.1315, allocations: 2.646 MB / 397.8 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005272/0.132, allocations: 353.7 kB / 398.1 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.1331, allocations: 0.5364 MB / 398.6 MB, free: 7.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.1343, allocations: 0.6133 MB / 399.2 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002437/0.1345, allocations: 68 kB / 399.3 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.1361, allocations: 0.7143 MB / 400 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.1363, allocations: 218.6 kB / 400.2 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007078/0.137, allocations: 0.7686 MB / 401 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.1392, allocations: 2.109 MB / 403.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1392, allocations: 3.938 kB / 403.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1392, allocations: 4 kB / 403.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.217e-05/0.1393, allocations: 0 / 403.1 MB, free: 3.199 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.003007/0.1423, allocations: 2.215 MB / 405.3 MB, free: 0.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1423, allocations: 8.031 kB / 405.3 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.1426, allocations: 218.4 kB / 405.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.1442, allocations: 1.308 MB / 406.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.1443, allocations: 41.31 kB / 406.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.1444, allocations: 56 kB / 407 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.1456, allocations: 0.6861 MB / 407.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.1456, allocations: 3.984 kB / 407.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.583e-05/0.1457, allocations: 23.98 kB / 407.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.1457, allocations: 24 kB / 407.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.1469, allocations: 0.5634 MB / 408.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003327/0.1502, allocations: 2.511 MB / 410.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.1515, allocations: 0.6193 MB / 411.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008535/0.1523, allocations: 0.5376 MB / 411.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008271/0.1606, allocations: 7.492 MB / 419.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007729/0.1614, allocations: 385.9 kB / 419.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 4.018e-06/0.1614, allocations: 7.984 kB / 419.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005577/0.167, allocations: 2.079 MB / 421.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/0.1671, allocations: 85.55 kB / 422 MB, free: 14.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.1689, allocations: 1.439 MB / 423.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.801e-05/0.1689, allocations: 37.7 kB / 423.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006181/0.1696, allocations: 0.8055 MB / 424.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.1697, allocations: 224.7 kB / 424.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.1699, allocations: 134.6 kB / 424.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1701, allocations: 337.9 kB / 424.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006088/0.1707, allocations: 249.9 kB / 425.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007708/0.1715, allocations: 462.2 kB / 425.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.1727, allocations: 0.7363 MB / 426.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.1728, allocations: 4 kB / 426.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002067/0.1748, allocations: 1.132 MB / 427.5 MB, free: 9.074 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.1749, allocations: 8 kB / 427.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.942e-05/0.175, allocations: 72 kB / 427.6 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.1762, allocations: 0.6959 MB / 428.3 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/0.1766, allocations: 115.8 kB / 428.4 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.1779, allocations: 1.124 MB / 429.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005833/0.1785, allocations: 91.31 kB / 429.6 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.938e-05/0.1786, allocations: 35.98 kB / 429.6 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.0004859/0.1791, allocations: 289.9 kB / 429.9 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/0.1794, allocations: 205.6 kB / 430.1 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.1815, allocations: 1.103 MB / 431.2 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.1815, allocations: 7.984 kB / 431.2 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1815, allocations: 0 / 431.2 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1815, allocations: 0 / 431.2 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.1827, allocations: 0.9755 MB / 432.2 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.492e-05/0.1829, allocations: 68 kB / 432.3 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.1832, allocations: 59.88 kB / 432.3 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/0.1843, allocations: 0.6672 MB / 433 MB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.939e-05/0.1844, allocations: 19.94 kB / 433 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.1857, allocations: 1.096 MB / 434.1 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1857, allocations: 0 / 434.1 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.1882, allocations: 1.351 MB / 435.5 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003748/0.1886, allocations: 290.5 kB / 435.8 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.1888, allocations: 16 kB / 435.8 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004803/0.1893, allocations: 31.95 kB / 435.8 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.1894, allocations: 48.38 kB / 435.8 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.1895, allocations: 23.98 kB / 435.9 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001336/0.1908, allocations: 0.9487 MB / 436.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1908, allocations: 0 / 436.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009506/0.1918, allocations: 435.4 kB / 437.2 MB, free: 15.12 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.0008261/0.1926, allocations: 480 kB / 437.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.1946, allocations: 0.8545 MB / 438.6 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1946, allocations: 0 / 438.6 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.1958, allocations: 0.5135 MB / 439.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/0.1966, allocations: 195.2 kB / 439.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00552/0.2021, allocations: 3.012 MB / 442.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009374/0.203, allocations: 1.216 MB / 443.5 MB, free: 8.762 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004693/0.2035, allocations: 162.1 kB / 443.7 MB, free: 8.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.2037, allocations: 79.44 kB / 443.7 MB, free: 8.523 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2037, allocations: 0 / 443.7 MB, free: 8.523 MB / 382.1 MB Notification: Performance of Templates: time 0.2669/0.4706, allocations: 16.18 MB / 459.9 MB, free: 71.06 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)