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.001004/0.001004, allocations: 91.8 kB / 16.65 MB, free: 6.59 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.001139/0.001139, allocations: 181 kB / 17.56 MB, free: 6.203 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.301/1.301, allocations: 223.3 MB / 241.6 MB, free: 104 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000267/0.0002671, allocations: 8 kB / 301.4 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.09993, allocations: 50.41 MB / 351.8 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008087/0.1081, allocations: 7.821 MB / 359.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0151/0.1232, allocations: 11.37 MB / 371 MB, free: 428 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.1247, allocations: 15.94 kB / 371 MB, free: 412 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1858/0.3105, allocations: 0.7557 MB / 371.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004796/0.3153, allocations: 0.9996 MB / 372.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.3176, allocations: 0.5063 MB / 373.3 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005015/0.3226, allocations: 2.593 MB / 375.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000673/0.3233, allocations: 323.8 kB / 376.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.3244, allocations: 0.5069 MB / 376.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005799/0.325, allocations: 0.5809 MB / 377.3 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.634e-05/0.3251, allocations: 38.28 kB / 377.3 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.3271, allocations: 0.759 MB / 378.1 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.3273, allocations: 186.6 kB / 378.3 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007464/0.3281, allocations: 0.7551 MB / 379 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.3305, allocations: 2.03 MB / 381.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3305, allocations: 0 / 381.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3305, allocations: 1.094 kB / 381.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.653e-05/0.3306, allocations: 3.938 kB / 381.1 MB, free: 7.906 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.3338, allocations: 1.968 MB / 383 MB, free: 6.723 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3339, allocations: 13.38 kB / 383 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.3341, allocations: 221.8 kB / 383.3 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.3358, allocations: 1.307 MB / 384.6 MB, free: 6.078 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.3359, allocations: 41.72 kB / 384.6 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.336, allocations: 63.77 kB / 384.7 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.3376, allocations: 0.7167 MB / 385.4 MB, free: 5.996 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.3376, allocations: 0 / 385.4 MB, free: 5.996 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.037e-05/0.3377, allocations: 29.89 kB / 385.4 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/0.3377, allocations: 20.08 kB / 385.4 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.3391, allocations: 0.6154 MB / 386.1 MB, free: 5.977 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/0.3424, allocations: 2.514 MB / 388.6 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.3436, allocations: 0.665 MB / 389.2 MB, free: 4.441 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009084/0.3446, allocations: 0.5661 MB / 389.8 MB, free: 4.148 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008248/0.3528, allocations: 7.518 MB / 397.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009296/0.3538, allocations: 404.9 kB / 397.7 MB, free: 12.63 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 3.286e-06/0.3538, allocations: 0 / 397.7 MB, free: 12.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.006465/0.3603, allocations: 2.167 MB / 399.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/0.3604, allocations: 95.94 kB / 400 MB, free: 11.42 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.3623, allocations: 1.429 MB / 401.4 MB, free: 10.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/0.3623, allocations: 36.64 kB / 401.4 MB, free: 10.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000708/0.3631, allocations: 0.8004 MB / 402.2 MB, free: 9.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.3633, allocations: 229.3 kB / 402.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.856e-05/0.3634, allocations: 65.22 kB / 402.5 MB, free: 9.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3635, allocations: 335.3 kB / 402.9 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006473/0.3642, allocations: 273.5 kB / 403.1 MB, free: 9.176 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007813/0.365, allocations: 485.7 kB / 403.6 MB, free: 8.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.3665, allocations: 0.7766 MB / 404.4 MB, free: 7.898 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3665, allocations: 0 / 404.4 MB, free: 7.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002384/0.3689, allocations: 1.198 MB / 405.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3689, allocations: 10.81 kB / 405.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/0.369, allocations: 72 kB / 405.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.3703, allocations: 0.6992 MB / 406.3 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.3708, allocations: 123.8 kB / 406.5 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.3721, allocations: 1.12 MB / 407.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.3732, allocations: 103.3 kB / 407.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/0.3733, allocations: 35.98 kB / 407.7 MB, free: 4.508 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.0006026/0.3739, allocations: 285.7 kB / 408 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.3741, allocations: 203.4 kB / 408.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.3767, allocations: 1.134 MB / 409.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.3767, allocations: 8 kB / 409.3 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.3767, allocations: 3.984 kB / 409.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3767, allocations: 3.938 kB / 409.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.378, allocations: 0.973 MB / 410.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.073e-05/0.3781, allocations: 70.56 kB / 410.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/0.3785, allocations: 71.88 kB / 410.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/0.3797, allocations: 0.675 MB / 411.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.655e-05/0.3797, allocations: 12 kB / 411.2 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.381, allocations: 1.088 MB / 412.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.381, allocations: 0 / 412.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/0.3839, allocations: 1.421 MB / 413.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004846/0.3844, allocations: 278.6 kB / 413.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.3846, allocations: 12 kB / 413.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.3851, allocations: 51.89 kB / 414 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.3853, allocations: 54.75 kB / 414 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/0.3853, allocations: 27.92 kB / 414.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001247/0.3866, allocations: 0.9449 MB / 415 MB, free: 13.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3866, allocations: 0 / 415 MB, free: 13.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001035/0.3876, allocations: 435.4 kB / 415.4 MB, free: 12.62 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.0008196/0.3885, allocations: 475.6 kB / 415.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.3906, allocations: 0.9052 MB / 416.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3906, allocations: 0 / 416.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.3918, allocations: 0.5488 MB / 417.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.3931, allocations: 198.9 kB / 417.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006017/0.3992, allocations: 3.615 MB / 421.2 MB, free: 6.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00072/0.3999, allocations: 1.22 MB / 422.4 MB, free: 5.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005826/0.4005, allocations: 162.1 kB / 422.6 MB, free: 5.465 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.4006, allocations: 71.44 kB / 422.6 MB, free: 5.395 MB / 334.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4007, allocations: 4 kB / 422.6 MB, free: 5.391 MB / 334.1 MB Notification: Performance of Templates: time 0.02837/0.429, allocations: 15.21 MB / 437.8 MB, free: 6.27 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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)