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.001565/0.001565, allocations: 114.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001892/0.001892, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 58.25 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1243, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008819/0.1332, allocations: 8.324 MB / 367.2 MB, free: 4.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1743/0.3075, allocations: 11.33 MB / 378.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.3087, allocations: 55 kB / 378.6 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.3106, allocations: 0.856 MB / 379.5 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00356/0.3142, allocations: 1.225 MB / 380.7 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.3164, allocations: 0.6973 MB / 381.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00409/0.3205, allocations: 2.724 MB / 384.1 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004657/0.321, allocations: 360.8 kB / 384.5 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006967/0.3217, allocations: 0.5523 MB / 385 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.3223, allocations: 0.6202 MB / 385.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.3224, allocations: 66.38 kB / 385.7 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.3244, allocations: 0.7959 MB / 386.5 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.3246, allocations: 217 kB / 386.7 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005556/0.3251, allocations: 0.7692 MB / 387.5 MB, free: 6.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.3274, allocations: 2.132 MB / 389.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3274, allocations: 0 / 389.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3274, allocations: 1.344 kB / 389.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.435e-05/0.3275, allocations: 0 / 389.6 MB, free: 5.727 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.003225/0.3307, allocations: 2.21 MB / 391.8 MB, free: 4.273 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3307, allocations: 9.438 kB / 391.8 MB, free: 4.273 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004063/0.3311, allocations: 239.7 kB / 392.1 MB, free: 4.156 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.3328, allocations: 1.298 MB / 393.4 MB, free: 3.414 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.3329, allocations: 40.03 kB / 393.4 MB, free: 3.398 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.695e-05/0.333, allocations: 63.11 kB / 393.5 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.3341, allocations: 0.6909 MB / 394.2 MB, free: 2.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.3341, allocations: 0 / 394.2 MB, free: 2.957 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.3342, allocations: 20.66 kB / 394.2 MB, free: 2.941 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.3342, allocations: 18.09 kB / 394.2 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.3354, allocations: 0.5734 MB / 394.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002991/0.3384, allocations: 2.511 MB / 397.3 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.3395, allocations: 0.6248 MB / 397.9 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007612/0.3402, allocations: 0.5372 MB / 398.4 MB, free: 116 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006976/0.3472, allocations: 5.894 MB / 404.3 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007615/0.348, allocations: 399.8 kB / 404.7 MB, free: 10.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.424e-06/0.348, allocations: 0 / 404.7 MB, free: 10.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.006995/0.355, allocations: 2.432 MB / 407.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.751e-05/0.3552, allocations: 88.33 kB / 407.2 MB, free: 8.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.357, allocations: 1.423 MB / 408.7 MB, free: 7.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.917e-05/0.3571, allocations: 41.64 kB / 408.7 MB, free: 7.223 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006427/0.3577, allocations: 0.7823 MB / 409.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/0.358, allocations: 244.5 kB / 409.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.3582, allocations: 142.6 kB / 409.9 MB, free: 6.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3584, allocations: 337.9 kB / 410.2 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005788/0.3589, allocations: 257.9 kB / 410.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007598/0.3597, allocations: 446.1 kB / 410.9 MB, free: 4.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003168/0.3629, allocations: 1.556 MB / 412.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.3629, allocations: 7.938 kB / 412.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002175/0.3651, allocations: 1.16 MB / 413.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3651, allocations: 4 kB / 413.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001154/0.3652, allocations: 83.98 kB / 413.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009828/0.3662, allocations: 0.5947 MB / 414.3 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/0.3668, allocations: 135.8 kB / 414.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.3682, allocations: 1.523 MB / 416 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007662/0.369, allocations: 91.3 kB / 416 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.52e-05/0.369, allocations: 40 kB / 416.1 MB, free: 15.62 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.0004961/0.3695, allocations: 285.7 kB / 416.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.3698, allocations: 209.5 kB / 416.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/0.372, allocations: 1.172 MB / 417.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.372, allocations: 4 kB / 417.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.372, allocations: 0 / 417.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.372, allocations: 3.984 kB / 417.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.3731, allocations: 1.006 MB / 418.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.727e-05/0.3732, allocations: 75.98 kB / 418.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.3736, allocations: 65.81 kB / 418.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/0.3747, allocations: 0.6631 MB / 419.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.3748, allocations: 20 kB / 419.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.376, allocations: 1.134 MB / 420.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.376, allocations: 0 / 420.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/0.3785, allocations: 1.435 MB / 422.1 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004432/0.379, allocations: 290.6 kB / 422.4 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.3792, allocations: 16 kB / 422.4 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.3796, allocations: 35.95 kB / 422.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.3798, allocations: 52.44 kB / 422.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.504e-05/0.3798, allocations: 27.98 kB / 422.6 MB, free: 9.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001072/0.3809, allocations: 0.9406 MB / 423.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3809, allocations: 0 / 423.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009259/0.3818, allocations: 435.4 kB / 423.9 MB, free: 7.617 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.0007216/0.3826, allocations: 485.3 kB / 424.4 MB, free: 7.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.3844, allocations: 0.8816 MB / 425.3 MB, free: 6.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3844, allocations: 0 / 425.3 MB, free: 6.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.3855, allocations: 0.5471 MB / 425.8 MB, free: 5.727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008936/0.3865, allocations: 220.9 kB / 426 MB, free: 5.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.3908, allocations: 2.944 MB / 429 MB, free: 2.539 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006791/0.3915, allocations: 1.22 MB / 430.2 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000403/0.3919, allocations: 162.1 kB / 430.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.392, allocations: 83.42 kB / 430.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.392, allocations: 0 / 430.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of Templates: time 0.02687/0.4189, allocations: 16.53 MB / 447 MB, free: 0.6016 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 gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)