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.001307/0.001307, allocations: 116.3 kB / 17.07 MB, free: 5.973 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.001317/0.001317, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.303/1.303, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001177/0.001177, allocations: 47.92 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09405/0.09524, allocations: 46.61 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.1949/0.2901, allocations: 8.174 MB / 382.7 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.3028, allocations: 10.96 MB / 393.6 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/0.305, allocations: 59.69 kB / 393.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.3074, allocations: 0.8205 MB / 394.5 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004589/0.312, allocations: 1.23 MB / 395.7 MB, free: 160 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.3144, allocations: 0.6935 MB / 396.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00445/0.3188, allocations: 2.644 MB / 399.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005263/0.3194, allocations: 357 kB / 399.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007639/0.3201, allocations: 0.5343 MB / 399.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006522/0.3208, allocations: 0.6168 MB / 400.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.3209, allocations: 65.94 kB / 400.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.3227, allocations: 0.7107 MB / 401.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.3229, allocations: 218.8 kB / 401.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006718/0.3236, allocations: 0.7748 MB / 402.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00248/0.3261, allocations: 2.114 MB / 404.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.3261, allocations: 1.266 kB / 404.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3261, allocations: 0 / 404.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.307e-05/0.3262, allocations: 1.5 kB / 404.4 MB, free: 12.37 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.003534/0.3297, allocations: 2.205 MB / 406.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.3298, allocations: 14.7 kB / 406.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000295/0.3301, allocations: 220.7 kB / 406.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.3318, allocations: 1.306 MB / 408.2 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.3319, allocations: 44.34 kB / 408.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.332, allocations: 56.42 kB / 408.3 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.3333, allocations: 0.6939 MB / 409 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.3333, allocations: 0 / 409 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-05/0.3334, allocations: 24.53 kB / 409 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.3334, allocations: 13.62 kB / 409 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.3346, allocations: 0.5735 MB / 409.6 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003409/0.338, allocations: 2.507 MB / 412.1 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.3392, allocations: 0.6144 MB / 412.7 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008613/0.34, allocations: 0.5407 MB / 413.2 MB, free: 6.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008981/0.349, allocations: 7.497 MB / 420.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008074/0.3499, allocations: 380.7 kB / 421.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.885e-06/0.3499, allocations: 0 / 421.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005497/0.3554, allocations: 2.089 MB / 423.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.3555, allocations: 89.55 kB / 423.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.3573, allocations: 1.439 MB / 424.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.805e-05/0.3574, allocations: 37.7 kB / 424.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000627/0.358, allocations: 0.7977 MB / 425.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.3582, allocations: 228.7 kB / 425.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.3584, allocations: 134.6 kB / 425.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3585, allocations: 337.9 kB / 426.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005623/0.3591, allocations: 257.8 kB / 426.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007159/0.3598, allocations: 454.2 kB / 426.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.3612, allocations: 0.7294 MB / 427.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.3612, allocations: 11.98 kB / 427.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00213/0.3633, allocations: 1.128 MB / 428.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3634, allocations: 8 kB / 428.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.3635, allocations: 79.98 kB / 428.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.3647, allocations: 0.6952 MB / 429.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.3652, allocations: 107.9 kB / 429.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.3666, allocations: 1.13 MB / 430.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.3677, allocations: 91.3 kB / 430.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.265e-05/0.3678, allocations: 35.94 kB / 431 MB, free: 5.27 MB / 350.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.0008068/0.3686, allocations: 293.9 kB / 431.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004298/0.369, allocations: 201.6 kB / 431.4 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.3713, allocations: 1.095 MB / 432.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.3713, allocations: 4 kB / 432.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3713, allocations: 0 / 432.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3714, allocations: 0 / 432.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.373, allocations: 0.9755 MB / 433.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.604e-05/0.3731, allocations: 71.98 kB / 433.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.3734, allocations: 55.95 kB / 433.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001164/0.3746, allocations: 0.6672 MB / 434.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.931e-05/0.3747, allocations: 30.3 kB / 434.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.376, allocations: 1.096 MB / 435.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.376, allocations: 0 / 435.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.3786, allocations: 1.347 MB / 436.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005353/0.3791, allocations: 282.6 kB / 437.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002509/0.3794, allocations: 19.92 kB / 437.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005026/0.3799, allocations: 31.97 kB / 437.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.3801, allocations: 48.38 kB / 437.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-05/0.3801, allocations: 23.98 kB / 437.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001677/0.3818, allocations: 0.9488 MB / 438.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.154e-06/0.3818, allocations: 0 / 438.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001193/0.383, allocations: 435.3 kB / 438.6 MB, free: 13.49 MB / 366.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.0009488/0.384, allocations: 484 kB / 439 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.386, allocations: 0.8583 MB / 439.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.386, allocations: 0 / 439.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.3871, allocations: 0.5214 MB / 440.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008238/0.3879, allocations: 182.6 kB / 440.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00531/0.3932, allocations: 3.014 MB / 443.6 MB, free: 8.379 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008431/0.3941, allocations: 1.22 MB / 444.8 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004488/0.3946, allocations: 166 kB / 445 MB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.3947, allocations: 75.44 kB / 445.1 MB, free: 6.891 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3947, allocations: 0 / 445.1 MB, free: 6.891 MB / 366.1 MB Notification: Performance of Templates: time 0.02896/0.4237, allocations: 16.2 MB / 461.2 MB, free: 6.68 MB / 382.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)