Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001069/0.001069, allocations: 101 kB / 16.5 MB, free: 6.641 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.0009706/0.0009706, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.316/1.316, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.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.001149/0.001149, allocations: 47.92 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09511/0.09627, allocations: 46.64 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009239/0.1056, allocations: 8.125 MB / 334.1 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.118, allocations: 11.17 MB / 345.3 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.1191, allocations: 15.94 kB / 345.3 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.1212, allocations: 0.7365 MB / 346 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003393/0.1246, allocations: 0.9874 MB / 347 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.1264, allocations: 0.5036 MB / 347.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004134/0.1305, allocations: 2.56 MB / 350.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004996/0.1311, allocations: 314.6 kB / 350.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006696/0.1317, allocations: 0.5052 MB / 350.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004932/0.1322, allocations: 0.5938 MB / 351.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.1324, allocations: 44 kB / 351.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.134, allocations: 0.6947 MB / 352.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.1342, allocations: 194.7 kB / 352.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006432/0.1348, allocations: 0.7529 MB / 353.1 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.137, allocations: 2.063 MB / 355.2 MB, free: 7.488 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.137, allocations: 3.984 kB / 355.2 MB, free: 7.484 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.137, allocations: 0 / 355.2 MB, free: 7.484 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.137, allocations: 0 / 355.2 MB, free: 7.484 MB / 302.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.003452/0.1405, allocations: 2.211 MB / 357.4 MB, free: 5.211 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1405, allocations: 8.031 kB / 357.4 MB, free: 5.203 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000242/0.1408, allocations: 222.3 kB / 357.6 MB, free: 4.984 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.1424, allocations: 1.312 MB / 359 MB, free: 3.598 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.1425, allocations: 41.31 kB / 359 MB, free: 3.559 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.1426, allocations: 52 kB / 359.1 MB, free: 3.508 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.1439, allocations: 0.6939 MB / 359.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1439, allocations: 0 / 359.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-05/0.144, allocations: 20 kB / 359.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.144, allocations: 19.98 kB / 359.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.1453, allocations: 0.575 MB / 360.4 MB, free: 2.184 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00331/0.1486, allocations: 2.522 MB / 362.9 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.1498, allocations: 0.6271 MB / 363.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008606/0.1507, allocations: 0.5338 MB / 364 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008295/0.159, allocations: 7.496 MB / 371.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007942/0.1598, allocations: 381.9 kB / 371.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.584e-06/0.1598, allocations: 0 / 371.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005632/0.1655, allocations: 2.075 MB / 374 MB, free: 3.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.1656, allocations: 93.53 kB / 374.1 MB, free: 3.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.1672, allocations: 1.431 MB / 375.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.1673, allocations: 37.7 kB / 375.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006026/0.1679, allocations: 0.8015 MB / 376.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.168, allocations: 224.8 kB / 376.6 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.1682, allocations: 138.6 kB / 376.7 MB, free: 444 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1684, allocations: 334 kB / 377 MB, free: 104 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1527/0.3211, allocations: 248.2 kB / 377.3 MB, free: 54.87 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007796/0.3219, allocations: 464.8 kB / 377.7 MB, free: 54.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.3232, allocations: 0.7409 MB / 378.5 MB, free: 54.42 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.3232, allocations: 1.375 kB / 378.5 MB, free: 54.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002471/0.3257, allocations: 1.13 MB / 379.6 MB, free: 54.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.3257, allocations: 7.781 kB / 379.6 MB, free: 54.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001326/0.3259, allocations: 75.02 kB / 379.7 MB, free: 54.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/0.3273, allocations: 0.6993 MB / 380.4 MB, free: 54.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.3278, allocations: 116.2 kB / 380.5 MB, free: 54.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.3291, allocations: 1.135 MB / 381.6 MB, free: 53.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007305/0.3299, allocations: 79.09 kB / 381.7 MB, free: 53.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.001e-05/0.33, allocations: 39.2 kB / 381.7 MB, free: 53.56 MB / 318.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.0005133/0.3305, allocations: 290.5 kB / 382 MB, free: 53.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.3307, allocations: 200.1 kB / 382.2 MB, free: 53.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.3329, allocations: 1.09 MB / 383.3 MB, free: 52.87 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.3329, allocations: 8.062 kB / 383.3 MB, free: 52.87 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.333, allocations: 1.25 kB / 383.3 MB, free: 52.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.333, allocations: 6.734 kB / 383.3 MB, free: 52.87 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.3343, allocations: 0.9729 MB / 384.3 MB, free: 52.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001175/0.3344, allocations: 69.64 kB / 384.4 MB, free: 52.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.3348, allocations: 58.92 kB / 384.4 MB, free: 52.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.3359, allocations: 0.6716 MB / 385.1 MB, free: 52.24 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.785e-05/0.3359, allocations: 22.16 kB / 385.1 MB, free: 52.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.337, allocations: 1.085 MB / 386.2 MB, free: 51.47 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.337, allocations: 1.312 kB / 386.2 MB, free: 51.47 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.3395, allocations: 1.36 MB / 387.6 MB, free: 50.85 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.3398, allocations: 277.8 kB / 387.8 MB, free: 50.64 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.34, allocations: 12.62 kB / 387.8 MB, free: 50.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/0.3405, allocations: 35.11 kB / 387.9 MB, free: 50.62 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.3406, allocations: 44.91 kB / 387.9 MB, free: 50.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.525e-05/0.3407, allocations: 30.19 kB / 388 MB, free: 50.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001194/0.3419, allocations: 0.9543 MB / 388.9 MB, free: 50.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3419, allocations: 0 / 388.9 MB, free: 50.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000772/0.3427, allocations: 432.8 kB / 389.3 MB, free: 50.18 MB / 318.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.0007556/0.3434, allocations: 471.3 kB / 389.8 MB, free: 50.05 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001884/0.3453, allocations: 0.8534 MB / 390.6 MB, free: 49.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3454, allocations: 1.312 kB / 390.6 MB, free: 49.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.3465, allocations: 0.5293 MB / 391.2 MB, free: 49.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007278/0.3473, allocations: 176.2 kB / 391.3 MB, free: 49.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.3515, allocations: 3.519 MB / 394.9 MB, free: 47.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.352, allocations: 1.22 MB / 396.1 MB, free: 46.81 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004747/0.3524, allocations: 162.1 kB / 396.2 MB, free: 46.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.3526, allocations: 72.56 kB / 396.3 MB, free: 46.76 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3526, allocations: 2.734 kB / 396.3 MB, free: 46.76 MB / 318.1 MB Notification: Performance of Templates: time 0.02148/0.374, allocations: 15.26 MB / 411.6 MB, free: 32.1 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)