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.001315/0.001315, allocations: 113.5 kB / 17.7 MB, free: 5.309 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.001021/0.001021, allocations: 191 kB / 18.63 MB, free: 4.375 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.334/1.334, allocations: 222.9 MB / 242.3 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 42.83 kB / 302.1 MB, free: 5.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1174, allocations: 49.46 MB / 351.5 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008666/0.1261, allocations: 8.313 MB / 359.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.1391, allocations: 11.29 MB / 371.1 MB, free: 44 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.1914/0.3305, allocations: 58.61 kB / 371.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.3332, allocations: 0.8305 MB / 372 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00419/0.3374, allocations: 1.232 MB / 373.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.3394, allocations: 0.7008 MB / 373.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004676/0.3441, allocations: 2.691 MB / 376.6 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007413/0.3448, allocations: 348.6 kB / 377 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.3463, allocations: 0.5553 MB / 377.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008059/0.3471, allocations: 0.6222 MB / 378.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.3472, allocations: 65.94 kB / 378.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00318/0.3504, allocations: 0.7764 MB / 379 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002493/0.3507, allocations: 222.4 kB / 379.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007937/0.3515, allocations: 0.7658 MB / 380 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002896/0.3544, allocations: 2.116 MB / 382.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3544, allocations: 0 / 382.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3544, allocations: 5.031 kB / 382.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.3545, allocations: 0 / 382.1 MB, free: 8.227 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.003794/0.3583, allocations: 2.213 MB / 384.3 MB, free: 6.879 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.3583, allocations: 10.09 kB / 384.3 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/0.3587, allocations: 223.7 kB / 384.5 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.3607, allocations: 1.296 MB / 385.8 MB, free: 6.047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/0.3607, allocations: 39.44 kB / 385.9 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.3608, allocations: 60.58 kB / 385.9 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.3622, allocations: 0.693 MB / 386.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.3622, allocations: 0 / 386.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.433e-05/0.3622, allocations: 25.25 kB / 386.6 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.3623, allocations: 16.5 kB / 386.7 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.3635, allocations: 0.5691 MB / 387.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003298/0.3668, allocations: 2.512 MB / 389.7 MB, free: 3.996 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.3679, allocations: 0.6216 MB / 390.4 MB, free: 3.641 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007219/0.3686, allocations: 0.5384 MB / 390.9 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00838/0.377, allocations: 7.495 MB / 398.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008134/0.3778, allocations: 383.4 kB / 398.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.344e-06/0.3779, allocations: 0 / 398.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.006095/0.384, allocations: 2.074 MB / 400.8 MB, free: 10.74 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/0.3841, allocations: 96.42 kB / 400.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/0.3861, allocations: 1.427 MB / 402.4 MB, free: 9.848 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.3862, allocations: 42.42 kB / 402.4 MB, free: 9.805 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006766/0.3869, allocations: 0.8044 MB / 403.2 MB, free: 9.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.3871, allocations: 224.6 kB / 403.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.3874, allocations: 138.6 kB / 403.6 MB, free: 8.742 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3875, allocations: 334 kB / 403.9 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005724/0.3881, allocations: 253.8 kB / 404.1 MB, free: 8.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007262/0.3888, allocations: 455.4 kB / 404.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.3902, allocations: 0.7345 MB / 405.3 MB, free: 6.824 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.3902, allocations: 0 / 405.3 MB, free: 6.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002381/0.3926, allocations: 1.135 MB / 406.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.3926, allocations: 8.719 kB / 406.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001065/0.3927, allocations: 79.11 kB / 406.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.3939, allocations: 0.703 MB / 407.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/0.3944, allocations: 111.8 kB / 407.4 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.3959, allocations: 1.134 MB / 408.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.3971, allocations: 87.3 kB / 408.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/0.3972, allocations: 36 kB / 408.6 MB, free: 3.496 MB / 318.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.0006334/0.3978, allocations: 289.6 kB / 408.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/0.3981, allocations: 201.6 kB / 409.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.4004, allocations: 1.094 MB / 410.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.4004, allocations: 11.94 kB / 410.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4004, allocations: 0 / 410.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.4004, allocations: 7.922 kB / 410.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.4019, allocations: 0.9731 MB / 411.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-05/0.402, allocations: 71.98 kB / 411.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/0.4023, allocations: 63.88 kB / 411.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.4034, allocations: 0.6621 MB / 412 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.201e-05/0.4034, allocations: 27.98 kB / 412 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.4047, allocations: 1.084 MB / 413.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4047, allocations: 3.984 kB / 413.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.4071, allocations: 1.347 MB / 414.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005576/0.4077, allocations: 282.5 kB / 414.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.4078, allocations: 12 kB / 414.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.4083, allocations: 35.95 kB / 414.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.4084, allocations: 48.33 kB / 414.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/0.4085, allocations: 27.98 kB / 414.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001207/0.4097, allocations: 0.9449 MB / 415.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4097, allocations: 0 / 415.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001065/0.4108, allocations: 431.4 kB / 416.2 MB, free: 11.75 MB / 334.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.000797/0.4116, allocations: 479 kB / 416.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00192/0.4135, allocations: 0.8684 MB / 417.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4135, allocations: 0 / 417.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.4146, allocations: 0.5253 MB / 418.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000974/0.4156, allocations: 205.2 kB / 418.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005026/0.4207, allocations: 3.02 MB / 421.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007342/0.4214, allocations: 1.216 MB / 422.5 MB, free: 5.402 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004501/0.4219, allocations: 166.1 kB / 422.7 MB, free: 5.238 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.422, allocations: 79.31 kB / 422.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of SimCode: time 7.72e-07/0.422, allocations: 0 / 422.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of Templates: time 0.02714/0.4492, allocations: 16.06 MB / 438.8 MB, free: 5.207 MB / 350.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 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)