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.001278/0.001278, allocations: 170 kB / 12.72 MB, free: 2.594 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.185/1.185, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001613/0.001613, allocations: 97.91 kB / 223.2 MB, free: 4.059 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.506e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06461/0.06465, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2702/0.3349, allocations: 93.87 MB / 401.5 MB, free: 14.64 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001733/0.3351, allocations: 73.89 kB / 401.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3299/0.6651, allocations: 75.33 MB / 476.9 MB, free: 82.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6651, allocations: 2.469 kB / 476.9 MB, free: 82.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.495e-05/0.6652, allocations: 13.72 kB / 476.9 MB, free: 82.8 MB / 346.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.002433/0.6676, allocations: 1.204 MB / 478.1 MB, free: 82.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.6677, allocations: 9.062 kB / 478.1 MB, free: 82.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.6679, allocations: 121 kB / 478.2 MB, free: 82.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.6691, allocations: 0.7671 MB / 479 MB, free: 81.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.6692, allocations: 17.47 kB / 479 MB, free: 81.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/0.6693, allocations: 24.89 kB / 479.1 MB, free: 81.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005977/0.6699, allocations: 331 kB / 479.4 MB, free: 81.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.6699, allocations: 3.891 kB / 479.4 MB, free: 81.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.6699, allocations: 8.531 kB / 479.4 MB, free: 81.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.67, allocations: 9.75 kB / 479.4 MB, free: 81.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005819/0.6705, allocations: 246.8 kB / 479.6 MB, free: 81.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.6725, allocations: 1.278 MB / 480.9 MB, free: 81.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.6728, allocations: 174.5 kB / 481.1 MB, free: 81.28 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.6731, allocations: 178.7 kB / 481.3 MB, free: 81.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008502/0.6816, allocations: 9.28 MB / 490.5 MB, free: 74.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002845/0.6819, allocations: 150.2 kB / 490.7 MB, free: 74.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 3.206e-06/0.6819, allocations: 1.438 kB / 490.7 MB, free: 74.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005046/0.6825, allocations: 293.8 kB / 491 MB, free: 74.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.6825, allocations: 111.5 kB / 491.1 MB, free: 74.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007584/0.6833, allocations: 0.7604 MB / 491.8 MB, free: 74.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.6833, allocations: 28.64 kB / 491.9 MB, free: 74.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.6836, allocations: 468.7 kB / 492.3 MB, free: 73.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.6836, allocations: 65.28 kB / 492.4 MB, free: 73.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.6836, allocations: 8.656 kB / 492.4 MB, free: 73.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.658e-05/0.6837, allocations: 320.3 kB / 492.7 MB, free: 73.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.6838, allocations: 78.92 kB / 492.8 MB, free: 73.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.684, allocations: 222.2 kB / 493 MB, free: 73.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.6842, allocations: 103.3 kB / 493.1 MB, free: 73.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6842, allocations: 0 / 493.1 MB, free: 73.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005163/0.6847, allocations: 407.4 kB / 493.5 MB, free: 73.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.6848, allocations: 14.52 kB / 493.5 MB, free: 73.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-05/0.6848, allocations: 23.03 kB / 493.5 MB, free: 73.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.6848, allocations: 7.5 kB / 493.6 MB, free: 73.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.6852, allocations: 94.62 kB / 493.6 MB, free: 73.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.6852, allocations: 14.2 kB / 493.7 MB, free: 73.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/0.6857, allocations: 71.78 kB / 493.7 MB, free: 73.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.6857, allocations: 18.34 kB / 493.7 MB, free: 73.24 MB / 346.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 () * 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 9.522e-05/0.6858, allocations: 135.3 kB / 493.9 MB, free: 73.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.6859, allocations: 116.2 kB / 494 MB, free: 73.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007595/0.6867, allocations: 379.6 kB / 494.4 MB, free: 73.01 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.6867, allocations: 3.969 kB / 494.4 MB, free: 73.01 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6867, allocations: 0 / 494.4 MB, free: 73.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.6867, allocations: 0 / 494.4 MB, free: 73.01 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005246/0.6873, allocations: 0.5851 MB / 495 MB, free: 72.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.6873, allocations: 19.69 kB / 495 MB, free: 72.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.6876, allocations: 53.66 kB / 495 MB, free: 72.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.6876, allocations: 6.938 kB / 495 MB, free: 72.76 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.6876, allocations: 18.14 kB / 495 MB, free: 72.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.6876, allocations: 3.438 kB / 495.1 MB, free: 72.76 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6876, allocations: 0 / 495.1 MB, free: 72.76 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.6881, allocations: 383 kB / 495.4 MB, free: 72.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.6883, allocations: 216.1 kB / 495.6 MB, free: 72.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.566e-05/0.6884, allocations: 7.812 kB / 495.6 MB, free: 72.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.6888, allocations: 37.59 kB / 495.7 MB, free: 72.42 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.677e-05/0.6889, allocations: 34.34 kB / 495.7 MB, free: 72.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.6889, allocations: 11.06 kB / 495.7 MB, free: 72.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005552/0.6895, allocations: 0.596 MB / 496.3 MB, free: 72.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6895, allocations: 0 / 496.3 MB, free: 72.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007177/0.6902, allocations: 251.4 kB / 496.6 MB, free: 72.27 MB / 346.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) * 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.0007046/0.6909, allocations: 0.534 MB / 497.1 MB, free: 72.15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004012/0.6913, allocations: 256.6 kB / 497.4 MB, free: 72.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6914, allocations: 0 / 497.4 MB, free: 72.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.6915, allocations: 136.8 kB / 497.5 MB, free: 72.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.692, allocations: 138.8 kB / 497.6 MB, free: 72.08 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.6935, allocations: 0.974 MB / 498.6 MB, free: 71.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.6938, allocations: 0.98 MB / 499.6 MB, free: 71.03 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000332/0.6941, allocations: 102.6 kB / 499.7 MB, free: 71.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/0.6942, allocations: 52.06 kB / 499.7 MB, free: 71.01 MB / 346.7 MB Notification: Performance of SimCode: time 3.81e-07/0.6942, allocations: 0 / 499.7 MB, free: 71.01 MB / 346.7 MB Notification: Performance of Templates: time 0.02048/0.7147, allocations: 14.29 MB / 0.502 GB, free: 70.1 MB / 346.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)