Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.415/1.415, allocations: 227.7 MB / 247.1 MB, free: 10.32 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.62 kB / 307.2 MB, free: 488 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.104, allocations: 50.54 MB / 357.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01092/0.115, allocations: 8.328 MB / 366.1 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1619/0.277, allocations: 11.34 MB / 377.4 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008793/0.2779, allocations: 18.28 kB / 377.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.2798, allocations: 0.8474 MB / 378.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003225/0.2831, allocations: 1.226 MB / 379.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.285, allocations: 0.6994 MB / 380.2 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003656/0.2886, allocations: 2.708 MB / 382.9 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004387/0.2891, allocations: 358.4 kB / 383.3 MB, free: 7.535 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006581/0.2898, allocations: 0.538 MB / 383.8 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005675/0.2903, allocations: 0.6253 MB / 384.5 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.2905, allocations: 66.31 kB / 384.5 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.2925, allocations: 0.7905 MB / 385.3 MB, free: 6.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.2927, allocations: 223.3 kB / 385.5 MB, free: 6.617 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005743/0.2932, allocations: 0.7699 MB / 386.3 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.2956, allocations: 2.113 MB / 388.4 MB, free: 5.348 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2956, allocations: 1 kB / 388.4 MB, free: 5.348 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2956, allocations: 0 / 388.4 MB, free: 5.348 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.116e-05/0.2956, allocations: 0 / 388.4 MB, free: 5.348 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.003025/0.2987, allocations: 2.211 MB / 390.6 MB, free: 3.895 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2987, allocations: 8.156 kB / 390.6 MB, free: 3.895 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000385/0.2991, allocations: 238.8 kB / 390.9 MB, free: 3.781 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.3006, allocations: 1.299 MB / 392.2 MB, free: 3.055 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.3006, allocations: 44.52 kB / 392.2 MB, free: 3.035 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.587e-05/0.3007, allocations: 58.42 kB / 392.3 MB, free: 3.016 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.3019, allocations: 0.6938 MB / 393 MB, free: 2.707 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.3019, allocations: 0 / 393 MB, free: 2.707 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.443e-05/0.302, allocations: 20.62 kB / 393 MB, free: 2.691 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.302, allocations: 18.12 kB / 393 MB, free: 2.688 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.3032, allocations: 0.5724 MB / 393.6 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.3061, allocations: 2.535 MB / 396.1 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.3072, allocations: 0.621 MB / 396.7 MB, free: 140 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008965/0.3081, allocations: 0.5366 MB / 397.3 MB, free: 15.87 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007701/0.3158, allocations: 5.887 MB / 403.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008096/0.3167, allocations: 400.9 kB / 403.5 MB, free: 10.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.295e-06/0.3167, allocations: 0 / 403.5 MB, free: 10.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.006598/0.3233, allocations: 2.424 MB / 406 MB, free: 8.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/0.3234, allocations: 93.66 kB / 406 MB, free: 8.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.3252, allocations: 1.423 MB / 407.5 MB, free: 7.207 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.3253, allocations: 37.7 kB / 407.5 MB, free: 7.164 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007175/0.326, allocations: 0.7806 MB / 408.3 MB, free: 6.375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.3262, allocations: 250.2 kB / 408.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.3265, allocations: 146.5 kB / 408.7 MB, free: 5.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.3267, allocations: 337.9 kB / 409 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/0.3273, allocations: 261.8 kB / 409.3 MB, free: 5.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007597/0.3281, allocations: 442.1 kB / 409.7 MB, free: 4.891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003609/0.3317, allocations: 1.556 MB / 411.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.3317, allocations: 3.938 kB / 411.3 MB, free: 3.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002619/0.3343, allocations: 1.159 MB / 412.4 MB, free: 2.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3344, allocations: 10.47 kB / 412.4 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/0.3345, allocations: 80 kB / 412.5 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.3356, allocations: 0.6019 MB / 413.1 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.3362, allocations: 131.8 kB / 413.2 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.338, allocations: 1.537 MB / 414.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008314/0.3388, allocations: 87.19 kB / 414.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/0.3389, allocations: 32 kB / 414.9 MB, free: 15.56 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.0006213/0.3395, allocations: 293.8 kB / 415.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.3397, allocations: 201.6 kB / 415.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.3423, allocations: 1.159 MB / 416.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.3423, allocations: 12 kB / 416.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3423, allocations: 0 / 416.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3423, allocations: 3.984 kB / 416.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.3436, allocations: 1.011 MB / 417.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001133/0.3437, allocations: 76 kB / 417.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/0.3441, allocations: 59.94 kB / 417.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/0.3453, allocations: 0.6591 MB / 418.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/0.3453, allocations: 21.06 kB / 418.4 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.3468, allocations: 1.137 MB / 419.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3468, allocations: 0 / 419.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/0.3496, allocations: 1.439 MB / 420.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004251/0.35, allocations: 282.6 kB / 421.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.3502, allocations: 12 kB / 421.2 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004659/0.3506, allocations: 35.95 kB / 421.3 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.3508, allocations: 56.44 kB / 421.3 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.445e-05/0.3508, allocations: 28.73 kB / 421.4 MB, free: 8.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001194/0.352, allocations: 0.9367 MB / 422.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3521, allocations: 0 / 422.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009847/0.353, allocations: 439.4 kB / 422.7 MB, free: 7.566 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.0008168/0.3539, allocations: 475.5 kB / 423.2 MB, free: 7.141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002106/0.356, allocations: 0.8892 MB / 424.1 MB, free: 6.234 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.356, allocations: 0 / 424.1 MB, free: 6.234 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.3573, allocations: 0.5551 MB / 424.6 MB, free: 5.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009923/0.3583, allocations: 223.2 kB / 424.8 MB, free: 5.441 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004912/0.3632, allocations: 2.987 MB / 427.8 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008229/0.364, allocations: 1.232 MB / 429.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005435/0.3646, allocations: 162.1 kB / 429.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.3647, allocations: 71.44 kB / 429.3 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3647, allocations: 0 / 429.3 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of Templates: time 0.03048/0.3952, allocations: 16.53 MB / 445.8 MB, free: 0.5352 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)