Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001631/0.001631, allocations: 104.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001835/0.001835, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003254/0.003254, allocations: 59.53 kB / 307 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1053, allocations: 50.54 MB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009158/0.1145, allocations: 8.329 MB / 365.9 MB, free: 5.664 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1566/0.2711, allocations: 11.34 MB / 377.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009083/0.2721, allocations: 18.72 kB / 377.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.2741, allocations: 0.846 MB / 378.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003537/0.2776, allocations: 1.223 MB / 379.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.2798, allocations: 0.7073 MB / 380 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003503/0.2834, allocations: 2.7 MB / 382.7 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/0.2838, allocations: 355.5 kB / 383 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006198/0.2844, allocations: 0.5421 MB / 383.6 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005512/0.285, allocations: 0.6273 MB / 384.2 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.2851, allocations: 66.56 kB / 384.3 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.2871, allocations: 0.792 MB / 385.1 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.2873, allocations: 216.9 kB / 385.3 MB, free: 6.652 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005516/0.2878, allocations: 0.7709 MB / 386 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.29, allocations: 2.111 MB / 388.2 MB, free: 5.383 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.29, allocations: 0 / 388.2 MB, free: 5.383 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.29, allocations: 5.062 kB / 388.2 MB, free: 5.379 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.944e-05/0.2901, allocations: 0 / 388.2 MB, free: 5.379 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.003015/0.2931, allocations: 2.208 MB / 390.4 MB, free: 3.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2931, allocations: 10.16 kB / 390.4 MB, free: 3.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003724/0.2935, allocations: 232.6 kB / 390.6 MB, free: 3.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.295, allocations: 1.309 MB / 391.9 MB, free: 3.086 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.295, allocations: 38.75 kB / 391.9 MB, free: 3.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.2951, allocations: 68.45 kB / 392 MB, free: 3.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.2964, allocations: 0.6917 MB / 392.7 MB, free: 2.738 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.2964, allocations: 0 / 392.7 MB, free: 2.738 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-05/0.2964, allocations: 25.38 kB / 392.7 MB, free: 2.719 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.2965, allocations: 22.3 kB / 392.8 MB, free: 2.711 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.2977, allocations: 0.5609 MB / 393.3 MB, free: 2.453 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/0.3006, allocations: 2.531 MB / 395.8 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.3017, allocations: 0.6172 MB / 396.5 MB, free: 180 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008443/0.3026, allocations: 0.5389 MB / 397 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007731/0.3103, allocations: 5.887 MB / 402.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008145/0.3112, allocations: 401.1 kB / 403.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 4.729e-06/0.3112, allocations: 3.984 kB / 403.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.00668/0.3179, allocations: 2.429 MB / 405.7 MB, free: 8.805 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.3179, allocations: 89.67 kB / 405.8 MB, free: 8.699 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.3199, allocations: 1.423 MB / 407.2 MB, free: 7.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.3199, allocations: 37.7 kB / 407.3 MB, free: 7.195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007566/0.3207, allocations: 0.7845 MB / 408 MB, free: 6.402 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.3209, allocations: 246 kB / 408.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.3212, allocations: 142.6 kB / 408.4 MB, free: 6.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3213, allocations: 333.9 kB / 408.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006441/0.322, allocations: 261.9 kB / 409 MB, free: 5.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007832/0.3228, allocations: 446.1 kB / 409.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003452/0.3262, allocations: 1.549 MB / 411 MB, free: 3.305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.3263, allocations: 3.938 kB / 411 MB, free: 3.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002257/0.3285, allocations: 1.159 MB / 412.2 MB, free: 2.125 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.3286, allocations: 10.81 kB / 412.2 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/0.3287, allocations: 91.36 kB / 412.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.3297, allocations: 0.6056 MB / 412.9 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.3303, allocations: 131.8 kB / 413 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.3319, allocations: 1.524 MB / 414.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007205/0.3326, allocations: 87.19 kB / 414.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-05/0.3327, allocations: 39.98 kB / 414.6 MB, free: 15.6 MB / 334.1 MB Warning: Assuming fixed start value for the following 2 variables: Q2.vbc:VARIABLE(start = 0.0 unit = "V" fixed = true ) type: Real Q2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,12), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000521/0.3332, allocations: 289.8 kB / 414.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/0.3335, allocations: 201.6 kB / 415.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/0.3361, allocations: 1.161 MB / 416.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.3361, allocations: 8 kB / 416.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.3362, allocations: 7.875 kB / 416.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.3362, allocations: 0 / 416.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.3374, allocations: 1.012 MB / 417.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001108/0.3376, allocations: 76 kB / 417.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.338, allocations: 67.86 kB / 417.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/0.3391, allocations: 0.6514 MB / 418.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.85e-05/0.3392, allocations: 24.67 kB / 418.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.3408, allocations: 1.13 MB / 419.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3408, allocations: 4 kB / 419.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.3436, allocations: 1.443 MB / 420.7 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000441/0.344, allocations: 282.6 kB / 421 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.3442, allocations: 12.88 kB / 421 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.3447, allocations: 31.91 kB / 421 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.3448, allocations: 56.42 kB / 421.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-05/0.3449, allocations: 24 kB / 421.1 MB, free: 8.996 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001284/0.3462, allocations: 0.9445 MB / 422 MB, free: 8.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3462, allocations: 4 kB / 422 MB, free: 8.027 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00114/0.3474, allocations: 435.4 kB / 422.5 MB, free: 7.602 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Q1.vbe,Q1.vbc,Q1.vbx,Q2.vbe,Q2.vbc,Q2.vbx) * 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 {(3,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008262/0.3482, allocations: 479.2 kB / 422.9 MB, free: 7.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002134/0.3503, allocations: 0.8855 MB / 423.8 MB, free: 6.273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.3504, allocations: 4 kB / 423.8 MB, free: 6.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.3516, allocations: 0.5511 MB / 424.4 MB, free: 5.707 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.3527, allocations: 215.5 kB / 424.6 MB, free: 5.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00502/0.3577, allocations: 3.003 MB / 427.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008501/0.3586, allocations: 1.216 MB / 428.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005753/0.3592, allocations: 170.1 kB / 429 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.3593, allocations: 71.44 kB / 429 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3593, allocations: 0 / 429 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of Templates: time 0.03117/0.3905, allocations: 16.53 MB / 445.6 MB, free: 0.5508 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)