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.001672/0.001672, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002183/0.002183, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.578/1.578, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 56.19 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1059, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008534/0.1145, allocations: 8.325 MB / 367.2 MB, free: 4.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1972/0.3117, allocations: 11.34 MB / 378.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.3129, allocations: 55.72 kB / 378.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.315, allocations: 0.8541 MB / 379.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004062/0.319, allocations: 1.227 MB / 380.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.3214, allocations: 0.6982 MB / 381.4 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004334/0.3257, allocations: 2.718 MB / 384.1 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004947/0.3263, allocations: 352 kB / 384.5 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008012/0.3271, allocations: 0.5528 MB / 385 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006512/0.3277, allocations: 0.6261 MB / 385.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.3278, allocations: 67.38 kB / 385.7 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.3301, allocations: 0.7912 MB / 386.5 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.3303, allocations: 226 kB / 386.7 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006618/0.3309, allocations: 0.7702 MB / 387.5 MB, free: 6.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003227/0.3342, allocations: 2.134 MB / 389.6 MB, free: 5.977 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3342, allocations: 1.781 kB / 389.6 MB, free: 5.977 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3342, allocations: 0 / 389.6 MB, free: 5.977 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.055e-05/0.3343, allocations: 0 / 389.6 MB, free: 5.977 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.003701/0.338, allocations: 2.207 MB / 391.8 MB, free: 4.523 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.338, allocations: 9.156 kB / 391.8 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003835/0.3384, allocations: 239.2 kB / 392.1 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.3402, allocations: 1.298 MB / 393.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.3402, allocations: 42.45 kB / 393.4 MB, free: 3.605 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.3404, allocations: 55.94 kB / 393.5 MB, free: 3.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.3415, allocations: 0.695 MB / 394.2 MB, free: 3.168 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.3416, allocations: 7.922 kB / 394.2 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.276e-05/0.3416, allocations: 20.09 kB / 394.2 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.3417, allocations: 21.64 kB / 394.2 MB, free: 3.137 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.3428, allocations: 0.5657 MB / 394.8 MB, free: 2.879 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003274/0.3461, allocations: 2.513 MB / 397.3 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.3472, allocations: 0.6166 MB / 397.9 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000785/0.348, allocations: 0.5383 MB / 398.4 MB, free: 332 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007696/0.3557, allocations: 5.886 MB / 404.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007784/0.3565, allocations: 406.2 kB / 404.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.725e-06/0.3565, allocations: 0 / 404.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.006666/0.3632, allocations: 2.43 MB / 407.2 MB, free: 9.008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.3632, allocations: 89.67 kB / 407.2 MB, free: 8.902 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.3649, allocations: 1.415 MB / 408.7 MB, free: 7.449 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.365, allocations: 37.7 kB / 408.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005962/0.3656, allocations: 0.79 MB / 409.5 MB, free: 6.605 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.3657, allocations: 246 kB / 409.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.3659, allocations: 138.6 kB / 409.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3661, allocations: 337.9 kB / 410.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005637/0.3666, allocations: 261.9 kB / 410.4 MB, free: 5.633 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006629/0.3673, allocations: 446.1 kB / 410.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/0.3705, allocations: 1.557 MB / 412.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.3705, allocations: 3.938 kB / 412.4 MB, free: 3.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002131/0.3726, allocations: 1.156 MB / 413.6 MB, free: 2.324 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3727, allocations: 11.94 kB / 413.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001131/0.3728, allocations: 83.98 kB / 413.7 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009702/0.3738, allocations: 0.6024 MB / 414.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000573/0.3743, allocations: 139.8 kB / 414.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.3757, allocations: 1.525 MB / 416 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000896/0.3766, allocations: 94.86 kB / 416.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/0.3767, allocations: 36 kB / 416.1 MB, free: 15.8 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.0006189/0.3774, allocations: 297.7 kB / 416.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/0.3776, allocations: 201.6 kB / 416.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.3799, allocations: 1.157 MB / 417.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.649e-06/0.3799, allocations: 8 kB / 417.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3799, allocations: 4 kB / 417.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.3799, allocations: 3.984 kB / 417.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.3813, allocations: 1.005 MB / 418.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001005/0.3814, allocations: 79.98 kB / 418.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.3818, allocations: 63.88 kB / 418.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.3829, allocations: 0.6592 MB / 419.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.891e-05/0.383, allocations: 16 kB / 419.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.3842, allocations: 1.137 MB / 420.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.3843, allocations: 0 / 420.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.3869, allocations: 1.44 MB / 422.1 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006933/0.3876, allocations: 282.6 kB / 422.4 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.3878, allocations: 15.98 kB / 422.4 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004453/0.3882, allocations: 34.78 kB / 422.5 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.3884, allocations: 56.44 kB / 422.5 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.087e-05/0.3884, allocations: 31.98 kB / 422.6 MB, free: 9.176 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001279/0.3897, allocations: 0.9406 MB / 423.5 MB, free: 8.215 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3897, allocations: 0 / 423.5 MB, free: 8.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001141/0.3909, allocations: 431.4 kB / 423.9 MB, free: 7.793 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.0007755/0.3917, allocations: 484.5 kB / 424.4 MB, free: 7.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001895/0.3936, allocations: 0.8694 MB / 425.3 MB, free: 6.473 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.3936, allocations: 4 kB / 425.3 MB, free: 6.469 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.3947, allocations: 0.5555 MB / 425.8 MB, free: 5.906 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009187/0.3956, allocations: 210.6 kB / 426 MB, free: 5.703 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004459/0.4001, allocations: 2.947 MB / 429 MB, free: 2.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007025/0.4008, allocations: 1.22 MB / 430.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004378/0.4013, allocations: 170.1 kB / 430.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.4014, allocations: 83.42 kB / 430.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4014, allocations: 0 / 430.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of Templates: time 0.02818/0.4296, allocations: 16.53 MB / 447 MB, free: 0.7852 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 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)