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.001085/0.001085, allocations: 105.6 kB / 17.06 MB, free: 6.027 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.00113/0.00113, allocations: 195 kB / 18 MB, free: 5.105 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.311/1.311, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001165/0.001165, allocations: 51.92 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09639/0.09756, allocations: 46.61 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.2032/0.3008, allocations: 8.17 MB / 382.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.3124, allocations: 10.96 MB / 393.6 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/0.3141, allocations: 58.53 kB / 393.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002293/0.3164, allocations: 0.8204 MB / 394.5 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005082/0.3215, allocations: 1.215 MB / 395.7 MB, free: 168 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.3238, allocations: 0.6925 MB / 396.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004446/0.3283, allocations: 2.646 MB / 399 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005446/0.3289, allocations: 352.6 kB / 399.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.3299, allocations: 0.5345 MB / 399.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007002/0.3306, allocations: 0.619 MB / 400.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.3307, allocations: 65.38 kB / 400.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.3326, allocations: 0.7142 MB / 401.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.3328, allocations: 217.9 kB / 401.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006693/0.3335, allocations: 0.7718 MB / 402.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002653/0.3362, allocations: 2.113 MB / 404.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.3362, allocations: 6.453 kB / 404.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3362, allocations: 0 / 404.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.004e-05/0.3363, allocations: 1.125 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.003964/0.3402, allocations: 2.211 MB / 406.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3403, allocations: 9.438 kB / 406.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002913/0.3406, allocations: 217.8 kB / 406.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.3427, allocations: 1.307 MB / 408.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.3428, allocations: 42.09 kB / 408.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.3429, allocations: 51.91 kB / 408.3 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.3443, allocations: 0.6945 MB / 409 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.3443, allocations: 0 / 409 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/0.3444, allocations: 25.02 kB / 409 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.3444, allocations: 18 kB / 409 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.3458, allocations: 0.5687 MB / 409.6 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004386/0.3502, allocations: 2.516 MB / 412.1 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.3515, allocations: 0.6171 MB / 412.7 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009/0.3524, allocations: 0.5374 MB / 413.2 MB, free: 6.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01196/0.3644, allocations: 7.493 MB / 420.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000968/0.3654, allocations: 376.2 kB / 421.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 4.108e-06/0.3655, allocations: 0 / 421.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.006537/0.372, allocations: 2.094 MB / 423.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.271e-05/0.3721, allocations: 89.48 kB / 423.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.3745, allocations: 1.439 MB / 424.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.032e-05/0.3745, allocations: 37.7 kB / 424.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007034/0.3753, allocations: 0.7977 MB / 425.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.3755, allocations: 224.7 kB / 425.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.3757, allocations: 134.6 kB / 425.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3759, allocations: 341.9 kB / 426.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006061/0.3765, allocations: 253.9 kB / 426.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007045/0.3772, allocations: 458.2 kB / 426.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.3786, allocations: 0.7324 MB / 427.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.3786, allocations: 4 kB / 427.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002217/0.3808, allocations: 1.132 MB / 428.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3809, allocations: 8 kB / 428.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/0.381, allocations: 72 kB / 428.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.3823, allocations: 0.6992 MB / 429.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.3827, allocations: 107.9 kB / 429.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.3843, allocations: 1.132 MB / 430.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.3854, allocations: 83.31 kB / 430.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.657e-05/0.3855, allocations: 39.98 kB / 430.9 MB, free: 5.281 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.0005247/0.386, allocations: 293.9 kB / 431.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/0.3864, allocations: 205.6 kB / 431.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.3887, allocations: 1.094 MB / 432.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.3887, allocations: 4 kB / 432.5 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3887, allocations: 3.984 kB / 432.5 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3887, allocations: 0 / 432.5 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.3901, allocations: 0.9794 MB / 433.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.16e-05/0.3902, allocations: 72 kB / 433.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.3906, allocations: 55.94 kB / 433.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/0.3916, allocations: 0.6672 MB / 434.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/0.3917, allocations: 23.94 kB / 434.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.3929, allocations: 1.104 MB / 435.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3929, allocations: 0 / 435.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/0.3956, allocations: 1.339 MB / 436.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006246/0.3962, allocations: 282.5 kB / 437 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.3965, allocations: 13.69 kB / 437 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.397, allocations: 35.95 kB / 437.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.3971, allocations: 52.38 kB / 437.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.285e-05/0.3972, allocations: 27.98 kB / 437.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00124/0.3984, allocations: 0.941 MB / 438.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3985, allocations: 0 / 438.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001008/0.3995, allocations: 435.4 kB / 438.5 MB, free: 13.51 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.0008191/0.4003, allocations: 488.4 kB / 439 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.4023, allocations: 0.8544 MB / 439.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4023, allocations: 0 / 439.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.4035, allocations: 0.5254 MB / 440.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008275/0.4043, allocations: 180.6 kB / 440.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005211/0.4096, allocations: 3.009 MB / 443.6 MB, free: 8.398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008255/0.4104, allocations: 1.224 MB / 444.8 MB, free: 7.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000419/0.4108, allocations: 162.1 kB / 445 MB, free: 6.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.411, allocations: 75.44 kB / 445 MB, free: 6.91 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.411, allocations: 4 kB / 445 MB, free: 6.906 MB / 366.1 MB Notification: Performance of Templates: time 0.03373/0.4447, allocations: 16.66 MB / 461.7 MB, free: 6.223 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)