Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001251/0.001251, allocations: 108.9 kB / 17.06 MB, free: 6.012 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.001288/0.001288, allocations: 191 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009723/0.0009723, allocations: 43.92 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2448, allocations: 49.42 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007923/0.2528, allocations: 8.33 MB / 409 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.2649, allocations: 11.29 MB / 420.3 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.266, allocations: 55.56 kB / 420.4 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.268, allocations: 0.8454 MB / 421.2 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.2708, allocations: 1.239 MB / 422.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.2724, allocations: 0.6934 MB / 423.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003568/0.276, allocations: 2.705 MB / 425.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00046/0.2765, allocations: 353.7 kB / 426.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000632/0.2771, allocations: 0.5559 MB / 426.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005956/0.2777, allocations: 0.6133 MB / 427.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.2778, allocations: 71.94 kB / 427.5 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.2796, allocations: 0.7921 MB / 428.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.2798, allocations: 214.7 kB / 428.5 MB, free: 13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006518/0.2804, allocations: 0.7647 MB / 429.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.2829, allocations: 2.117 MB / 431.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2829, allocations: 0 / 431.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2829, allocations: 3.938 kB / 431.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.2829, allocations: 0 / 431.3 MB, free: 10.09 MB / 350.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.002947/0.2859, allocations: 2.218 MB / 433.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.2859, allocations: 12.03 kB / 433.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.2861, allocations: 222.3 kB / 433.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.2877, allocations: 1.293 MB / 435.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.2878, allocations: 49.23 kB / 435.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.2879, allocations: 52 kB / 435.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.2891, allocations: 0.6939 MB / 435.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.2891, allocations: 0 / 435.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.2892, allocations: 20 kB / 435.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.2892, allocations: 15.98 kB / 435.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.2904, allocations: 0.5712 MB / 436.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/0.2936, allocations: 2.518 MB / 439 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.2947, allocations: 0.6348 MB / 439.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008221/0.2956, allocations: 0.5377 MB / 440.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008065/0.3036, allocations: 7.485 MB / 447.7 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007179/0.3044, allocations: 393.8 kB / 448 MB, free: 7.938 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.024e-06/0.3044, allocations: 0 / 448 MB, free: 7.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005331/0.3097, allocations: 2.071 MB / 450.1 MB, free: 5.836 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.3098, allocations: 93.53 kB / 450.2 MB, free: 5.727 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.3113, allocations: 1.435 MB / 451.6 MB, free: 4.254 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.3114, allocations: 33.7 kB / 451.7 MB, free: 4.215 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006857/0.3121, allocations: 0.7977 MB / 452.5 MB, free: 3.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.3123, allocations: 228.7 kB / 452.7 MB, free: 3.184 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.3125, allocations: 138.6 kB / 452.8 MB, free: 3.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3126, allocations: 334 kB / 453.2 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005564/0.3132, allocations: 253.8 kB / 453.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006827/0.3139, allocations: 458.9 kB / 453.9 MB, free: 1.934 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.3151, allocations: 0.7402 MB / 454.6 MB, free: 1.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.3151, allocations: 3.938 kB / 454.6 MB, free: 1.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001841/0.317, allocations: 1.132 MB / 455.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.317, allocations: 8 kB / 455.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.956e-05/0.3171, allocations: 75.98 kB / 455.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.3182, allocations: 0.6953 MB / 456.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000432/0.3187, allocations: 115.8 kB / 456.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.3199, allocations: 1.132 MB / 457.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005459/0.3205, allocations: 91.12 kB / 457.8 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/0.3205, allocations: 36 kB / 457.9 MB, free: 13.79 MB / 382.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.0003765/0.3209, allocations: 289.7 kB / 458.2 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.3211, allocations: 201.6 kB / 458.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.3232, allocations: 1.088 MB / 459.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.3232, allocations: 8 kB / 459.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3232, allocations: 3.938 kB / 459.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3233, allocations: 3.984 kB / 459.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009905/0.3243, allocations: 0.9679 MB / 460.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.5e-05/0.3244, allocations: 75.98 kB / 460.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.3247, allocations: 55.89 kB / 460.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/0.3257, allocations: 0.675 MB / 461.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/0.3258, allocations: 23.98 kB / 461.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.327, allocations: 1.081 MB / 462.3 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.327, allocations: 4 kB / 462.3 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.3294, allocations: 1.351 MB / 463.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.3298, allocations: 274.7 kB / 464 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.3299, allocations: 23.91 kB / 464 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.3303, allocations: 32.22 kB / 464 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.3305, allocations: 48.38 kB / 464.1 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/0.3305, allocations: 35.98 kB / 464.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001062/0.3316, allocations: 0.9449 MB / 465 MB, free: 6.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3316, allocations: 0 / 465 MB, free: 6.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008656/0.3325, allocations: 427.4 kB / 465.5 MB, free: 6.027 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.000755/0.3332, allocations: 480.5 kB / 465.9 MB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001927/0.3352, allocations: 0.8662 MB / 466.8 MB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.3352, allocations: 0 / 466.8 MB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.3363, allocations: 0.5253 MB / 467.3 MB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008365/0.3372, allocations: 210.9 kB / 467.5 MB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004936/0.3421, allocations: 3.016 MB / 470.5 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007602/0.3429, allocations: 1.212 MB / 471.8 MB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004253/0.3433, allocations: 166.1 kB / 471.9 MB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.3435, allocations: 75.44 kB / 472 MB, free: 15.38 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3435, allocations: 0 / 472 MB, free: 15.38 MB / 398.1 MB Notification: Performance of Templates: time 0.02775/0.3712, allocations: 16.18 MB / 488.2 MB, free: 15.27 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)