Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=198,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=198,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009793/0.009792, allocations: 166.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.286/1.286, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001508/0.001508, allocations: 109.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003225, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1974, allocations: 38.77 MB / 312.9 MB, free: 38.72 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.3053, allocations: 93.96 MB / 406.8 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.3057, allocations: 79.95 kB / 406.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.285/0.5907, allocations: 75.47 MB / 482.4 MB, free: 41.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5908, allocations: 0 / 482.4 MB, free: 41.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.488e-05/0.5909, allocations: 16 kB / 482.4 MB, free: 41.59 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.003593/0.5945, allocations: 1.415 MB / 483.8 MB, free: 40.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.753e-05/0.5946, allocations: 8.031 kB / 483.8 MB, free: 40.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003399/0.5949, allocations: 118.6 kB / 483.9 MB, free: 40 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.5966, allocations: 0.7716 MB / 484.7 MB, free: 39.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.5966, allocations: 24.55 kB / 484.7 MB, free: 39.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.311e-05/0.5967, allocations: 28 kB / 484.8 MB, free: 39.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007165/0.5974, allocations: 400.3 kB / 485.2 MB, free: 38.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5975, allocations: 0 / 485.2 MB, free: 38.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.5975, allocations: 8 kB / 485.2 MB, free: 38.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.5975, allocations: 8 kB / 485.2 MB, free: 38.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007957/0.5983, allocations: 390 kB / 485.6 MB, free: 38.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.6004, allocations: 1.271 MB / 486.8 MB, free: 36.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000746/0.6012, allocations: 306.8 kB / 487.1 MB, free: 36.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008368/0.6095, allocations: 9.231 MB / 496.4 MB, free: 26.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005331/0.6101, allocations: 227.7 kB / 496.6 MB, free: 25.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 3.617e-06/0.6102, allocations: 0 / 496.6 MB, free: 25.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.001384/0.6115, allocations: 0.6171 MB / 497.2 MB, free: 25.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.6116, allocations: 110.8 kB / 497.3 MB, free: 25.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.6128, allocations: 0.7829 MB / 498.1 MB, free: 24.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.6128, allocations: 29.7 kB / 498.1 MB, free: 24.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000353/0.6132, allocations: 460.4 kB / 498.6 MB, free: 23.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.348e-05/0.6133, allocations: 63.19 kB / 498.6 MB, free: 23.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/0.6133, allocations: 8 kB / 498.6 MB, free: 23.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.572e-05/0.6134, allocations: 322 kB / 499 MB, free: 23.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.6137, allocations: 147.6 kB / 499.1 MB, free: 23.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/0.6141, allocations: 291.6 kB / 499.4 MB, free: 22.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.6145, allocations: 163.9 kB / 499.5 MB, free: 22.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.6146, allocations: 7.938 kB / 499.5 MB, free: 22.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001009/0.6156, allocations: 0.5422 MB / 0.4884 GB, free: 22.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.6156, allocations: 9.25 kB / 0.4884 GB, free: 22.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.361e-05/0.6156, allocations: 23.98 kB / 0.4884 GB, free: 22.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.6157, allocations: 8.562 kB / 0.4884 GB, free: 22.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.616, allocations: 95.88 kB / 0.4885 GB, free: 22.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.616, allocations: 11.94 kB / 0.4885 GB, free: 22.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004628/0.6165, allocations: 67.64 kB / 0.4886 GB, free: 22.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.6165, allocations: 24 kB / 0.4886 GB, free: 22 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VDS.counter,VDS.counter,$PRE.VGS.counter,VGS.counter,$whenCondition2,$whenCondition1,$PRE.VDS.T0,VDS.T0,$PRE.VDS.counter2,VDS.counter2,$PRE.VGS.T0,VGS.T0,$PRE.VGS.counter2,VGS.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002774/0.6168, allocations: 205.7 kB / 0.4888 GB, free: 21.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.617, allocations: 114.6 kB / 0.4889 GB, free: 21.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.6182, allocations: 0.5074 MB / 0.4894 GB, free: 21.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.6182, allocations: 0 / 0.4894 GB, free: 21.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.6182, allocations: 0 / 0.4894 GB, free: 21.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6182, allocations: 7.984 kB / 0.4894 GB, free: 21.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007553/0.619, allocations: 0.5866 MB / 0.49 GB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-05/0.619, allocations: 19.94 kB / 0.49 GB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.6193, allocations: 59.95 kB / 0.4901 GB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.6193, allocations: 0 / 0.4901 GB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.6193, allocations: 16 kB / 0.4901 GB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.6194, allocations: 7.984 kB / 0.4901 GB, free: 20.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6194, allocations: 0 / 0.4901 GB, free: 20.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009407/0.6203, allocations: 0.5024 MB / 0.4906 GB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003904/0.6207, allocations: 203.7 kB / 0.4908 GB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.6209, allocations: 11.98 kB / 0.4908 GB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/0.6213, allocations: 35.97 kB / 0.4908 GB, free: 19.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.6214, allocations: 31.95 kB / 0.4908 GB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.6214, allocations: 16 kB / 0.4909 GB, free: 19.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00063/0.6221, allocations: 0.5961 MB / 0.4914 GB, free: 18.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6221, allocations: 0 / 0.4914 GB, free: 18.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008818/0.623, allocations: 255.7 kB / 0.4917 GB, free: 18.7 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VDS.T0,VDS.counter,VDS.counter2,VGS.T0,VGS.counter,VGS.counter2) * Number of discrete states: 4 (VGS.counter,VDS.counter,VGS.counter2,VDS.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009505/0.6239, allocations: 0.5311 MB / 0.4922 GB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008691/0.6248, allocations: 386.3 kB / 0.4926 GB, free: 17.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6248, allocations: 8.062 kB / 0.4926 GB, free: 17.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004058/0.6252, allocations: 205.7 kB / 0.4928 GB, free: 17.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.6257, allocations: 137.1 kB / 0.4929 GB, free: 17.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.628, allocations: 1.649 MB / 0.4945 GB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.6283, allocations: 0.9763 MB / 0.4955 GB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003332/0.6286, allocations: 110.4 kB / 0.4956 GB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.788e-05/0.6287, allocations: 51.44 kB / 0.4956 GB, free: 14.57 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.6287, allocations: 0 / 0.4956 GB, free: 14.57 MB / 314.7 MB Notification: Performance of Templates: time 0.01914/0.6479, allocations: 13.09 MB / 0.5084 GB, free: 1.504 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1)