Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_3.2.3_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.001689/0.001689, allocations: 114.4 kB / 17.73 MB, free: 5.348 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.001873/0.001873, allocations: 187.1 kB / 18.66 MB, free: 4.43 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.391/1.391, allocations: 205.1 MB / 224.5 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.001725/0.001725, allocations: 55.92 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09446/0.09619, allocations: 46.62 MB / 375.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.1964/0.2926, allocations: 8.174 MB / 383.3 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.3051, allocations: 10.95 MB / 394.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.3065, allocations: 59.91 kB / 394.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002201/0.3088, allocations: 0.8249 MB / 395.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00394/0.3127, allocations: 1.226 MB / 396.4 MB, free: 412 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.3148, allocations: 0.6877 MB / 397.1 MB, free: 84 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004629/0.3195, allocations: 2.653 MB / 399.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005469/0.32, allocations: 351.2 kB / 400.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009179/0.321, allocations: 0.5442 MB / 400.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006828/0.3217, allocations: 0.6125 MB / 401.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.3218, allocations: 66.66 kB / 401.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.3239, allocations: 0.7143 MB / 402 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.3241, allocations: 215.3 kB / 402.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006959/0.3248, allocations: 0.7675 MB / 403 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.3276, allocations: 2.122 MB / 405.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3276, allocations: 1.188 kB / 405.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3276, allocations: 0 / 405.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.695e-05/0.3277, allocations: 0 / 405.1 MB, free: 12.61 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.003722/0.3314, allocations: 2.209 MB / 407.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3314, allocations: 11.61 kB / 407.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002878/0.3317, allocations: 217.1 kB / 407.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.3337, allocations: 1.306 MB / 408.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.26e-05/0.3338, allocations: 40.31 kB / 408.9 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.3339, allocations: 55.88 kB / 408.9 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.3353, allocations: 0.6905 MB / 409.6 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.3353, allocations: 0 / 409.6 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.651e-05/0.3354, allocations: 20.22 kB / 409.6 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.3355, allocations: 22.98 kB / 409.7 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.3369, allocations: 0.5723 MB / 410.2 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003892/0.3408, allocations: 2.516 MB / 412.8 MB, free: 7.336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.3421, allocations: 0.6137 MB / 413.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.3432, allocations: 0.5449 MB / 413.9 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009015/0.3522, allocations: 7.486 MB / 421.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008809/0.3531, allocations: 384.5 kB / 421.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.475e-06/0.3531, allocations: 4 kB / 421.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005828/0.3589, allocations: 2.089 MB / 423.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.359, allocations: 85.55 kB / 424 MB, free: 13.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.3609, allocations: 1.435 MB / 425.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.247e-05/0.3609, allocations: 41.69 kB / 425.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006938/0.3616, allocations: 0.7977 MB / 426.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.3618, allocations: 216.8 kB / 426.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.362, allocations: 142.6 kB / 426.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3622, allocations: 341.9 kB / 426.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000615/0.3628, allocations: 249.8 kB / 427.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007169/0.3635, allocations: 462.2 kB / 427.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.3648, allocations: 0.7363 MB / 428.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.3649, allocations: 4 kB / 428.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002109/0.367, allocations: 1.132 MB / 429.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.367, allocations: 8 kB / 429.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001213/0.3671, allocations: 76 kB / 429.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.3683, allocations: 0.6918 MB / 430.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.3688, allocations: 111.8 kB / 430.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.3702, allocations: 1.128 MB / 431.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009181/0.3711, allocations: 91.31 kB / 431.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.917e-05/0.3712, allocations: 36 kB / 431.6 MB, free: 5.434 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.0004993/0.3717, allocations: 293.6 kB / 431.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.3719, allocations: 205.6 kB / 432.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.3743, allocations: 1.085 MB / 433.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.3743, allocations: 4 kB / 433.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.016e-06/0.3743, allocations: 4 kB / 433.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3743, allocations: 7.922 kB / 433.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.3755, allocations: 0.9815 MB / 434.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-05/0.3756, allocations: 68 kB / 434.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.376, allocations: 55.94 kB / 434.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.377, allocations: 0.6672 MB / 435 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/0.3771, allocations: 23.94 kB / 435 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.3785, allocations: 1.1 MB / 436.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3785, allocations: 0 / 436.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.3811, allocations: 1.343 MB / 437.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/0.3815, allocations: 286.5 kB / 437.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.3817, allocations: 12 kB / 437.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.3822, allocations: 39.95 kB / 437.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.3823, allocations: 48.31 kB / 437.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.3824, allocations: 20 kB / 437.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001164/0.3835, allocations: 0.9488 MB / 438.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.3835, allocations: 0 / 438.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001026/0.3846, allocations: 435.4 kB / 439.2 MB, free: 13.66 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.0008033/0.3854, allocations: 483.7 kB / 439.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.3874, allocations: 0.8544 MB / 440.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3874, allocations: 128 / 440.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.3886, allocations: 0.5252 MB / 441.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000799/0.3894, allocations: 177.1 kB / 441.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00531/0.3947, allocations: 3.021 MB / 444.3 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007828/0.3955, allocations: 1.216 MB / 445.5 MB, free: 7.301 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004883/0.396, allocations: 158.1 kB / 445.6 MB, free: 7.145 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.3962, allocations: 83.42 kB / 445.7 MB, free: 7.062 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3962, allocations: 0 / 445.7 MB, free: 7.062 MB / 366.1 MB Notification: Performance of Templates: time 0.03412/0.4303, allocations: 16.19 MB / 461.9 MB, free: 6.855 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)