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.005714/0.005714, allocations: 101.9 kB / 15.73 MB, free: 6.008 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.001179/0.001179, allocations: 194 kB / 16.67 MB, free: 5.93 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.367/1.367, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001221/0.001221, allocations: 54.61 kB / 326.6 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09397/0.0952, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008683/0.1039, allocations: 8.156 MB / 381.3 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01376/0.1177, allocations: 10.96 MB / 392.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.1195, allocations: 59.5 kB / 392.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.1221, allocations: 0.8326 MB / 393.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004036/0.1261, allocations: 1.215 MB / 394.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.1282, allocations: 0.6934 MB / 395.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004701/0.1329, allocations: 2.646 MB / 397.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004943/0.1334, allocations: 353.7 kB / 398.1 MB, free: 8.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006607/0.1341, allocations: 0.5325 MB / 398.6 MB, free: 7.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006021/0.1347, allocations: 0.6172 MB / 399.2 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.1348, allocations: 71.98 kB / 399.3 MB, free: 7.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.1367, allocations: 0.7065 MB / 400 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.137, allocations: 222.6 kB / 400.2 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000709/0.1377, allocations: 0.7686 MB / 401 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.1399, allocations: 2.113 MB / 403.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1399, allocations: 0 / 403.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1399, allocations: 4 kB / 403.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.063e-05/0.1399, allocations: 4 kB / 403.1 MB, free: 3.203 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.003054/0.143, allocations: 2.208 MB / 405.3 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.143, allocations: 8.031 kB / 405.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.1433, allocations: 218.4 kB / 405.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.145, allocations: 1.312 MB / 406.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.145, allocations: 41.31 kB / 406.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.1451, allocations: 56 kB / 407 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.1464, allocations: 0.6938 MB / 407.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.1464, allocations: 4 kB / 407.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/0.1465, allocations: 24 kB / 407.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.1465, allocations: 23.98 kB / 407.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.1478, allocations: 0.5595 MB / 408.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003526/0.1513, allocations: 2.522 MB / 410.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.1526, allocations: 0.6115 MB / 411.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008322/0.1534, allocations: 0.5415 MB / 411.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008745/0.1622, allocations: 7.492 MB / 419.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007773/0.163, allocations: 386 kB / 419.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.655e-06/0.163, allocations: 0 / 419.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005575/0.1686, allocations: 2.078 MB / 421.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/0.1687, allocations: 89.53 kB / 422 MB, free: 14.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/0.1705, allocations: 1.439 MB / 423.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.1706, allocations: 37.7 kB / 423.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006094/0.1712, allocations: 0.8055 MB / 424.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.1714, allocations: 224.7 kB / 424.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.1716, allocations: 138.6 kB / 424.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1717, allocations: 334 kB / 424.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005635/0.1723, allocations: 249.8 kB / 425.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.173, allocations: 458.2 kB / 425.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.1742, allocations: 0.7363 MB / 426.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.1743, allocations: 4 kB / 426.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00201/0.1763, allocations: 1.128 MB / 427.5 MB, free: 9.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.1763, allocations: 8 kB / 427.5 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001021/0.1764, allocations: 79.98 kB / 427.6 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.1776, allocations: 0.6959 MB / 428.3 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.1781, allocations: 111.9 kB / 428.4 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.1795, allocations: 1.124 MB / 429.5 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006327/0.1801, allocations: 95.25 kB / 429.6 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.699e-05/0.1802, allocations: 36 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.0004738/0.1807, allocations: 289.9 kB / 429.9 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.181, allocations: 205.6 kB / 430.1 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/0.1833, allocations: 1.095 MB / 431.2 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.1833, allocations: 4 kB / 431.2 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1834, allocations: 128 / 431.2 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.1834, allocations: 3.984 kB / 431.2 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.1846, allocations: 0.9755 MB / 432.2 MB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001001/0.1847, allocations: 71.98 kB / 432.3 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003404/0.1851, allocations: 55.94 kB / 432.3 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001157/0.1862, allocations: 0.6633 MB / 433 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-05/0.1863, allocations: 31.86 kB / 433 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.1876, allocations: 1.096 MB / 434.1 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.1876, allocations: 3.984 kB / 434.1 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.1902, allocations: 1.339 MB / 435.5 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000465/0.1907, allocations: 290.5 kB / 435.7 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.1909, allocations: 16 kB / 435.8 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/0.1914, allocations: 35.95 kB / 435.8 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.1916, allocations: 44.38 kB / 435.8 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/0.1916, allocations: 20 kB / 435.9 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00142/0.193, allocations: 0.9488 MB / 436.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1931, allocations: 3.938 kB / 436.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001066/0.1941, allocations: 431.4 kB / 437.2 MB, free: 15.14 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.0009362/0.1951, allocations: 484 kB / 437.7 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002186/0.1973, allocations: 0.8544 MB / 438.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1973, allocations: 0 / 438.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.1985, allocations: 0.5213 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.001006/0.1995, allocations: 183.2 kB / 439.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006073/0.2056, allocations: 3.008 MB / 442.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009756/0.2066, allocations: 1.216 MB / 443.5 MB, free: 8.777 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004767/0.2071, allocations: 162.1 kB / 443.6 MB, free: 8.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.2073, allocations: 83.44 kB / 443.7 MB, free: 8.535 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2073, allocations: 0 / 443.7 MB, free: 8.535 MB / 382.1 MB Notification: Performance of Templates: time 0.2263/0.4336, allocations: 16.18 MB / 459.9 MB, free: 71.08 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)