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/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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001465/0.001465, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007216/0.0007217, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2865, allocations: 47.58 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.004521/0.2911, allocations: 4.702 MB / 331.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01782/0.309, allocations: 16.74 MB / 347.9 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.3101, allocations: 11.94 kB / 347.9 MB, free: 14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.3124, allocations: 0.7043 MB / 348.6 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004409/0.3168, allocations: 1.212 MB / 349.8 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003314/0.3201, allocations: 0.9638 MB / 350.8 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002975/0.3231, allocations: 1.637 MB / 352.4 MB, free: 9.465 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.3234, allocations: 147.8 kB / 352.6 MB, free: 9.309 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003574/0.3238, allocations: 274.6 kB / 352.9 MB, free: 9.039 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.3241, allocations: 330.1 kB / 353.2 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.67e-05/0.3242, allocations: 16 kB / 353.2 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002874/0.327, allocations: 1.058 MB / 354.3 MB, free: 7.641 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.3272, allocations: 95.36 kB / 354.3 MB, free: 7.547 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.3274, allocations: 201.1 kB / 354.5 MB, free: 7.344 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.3286, allocations: 1.126 MB / 355.7 MB, free: 6.215 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3286, allocations: 0 / 355.7 MB, free: 6.215 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3286, allocations: 0 / 355.7 MB, free: 6.215 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.3286, allocations: 0 / 355.7 MB, free: 6.215 MB / 286.1 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.001817/0.3305, allocations: 1.277 MB / 356.9 MB, free: 4.883 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3305, allocations: 12.03 kB / 357 MB, free: 4.871 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.3306, allocations: 122.6 kB / 357.1 MB, free: 4.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.3317, allocations: 0.7325 MB / 357.8 MB, free: 3.965 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.3317, allocations: 16.56 kB / 357.8 MB, free: 3.949 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.752e-05/0.3318, allocations: 27.94 kB / 357.9 MB, free: 3.922 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007225/0.3325, allocations: 356.7 kB / 358.2 MB, free: 3.566 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.3325, allocations: 0 / 358.2 MB, free: 3.566 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.3326, allocations: 12 kB / 358.2 MB, free: 3.555 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.3326, allocations: 4 kB / 358.2 MB, free: 3.551 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008438/0.3334, allocations: 390 kB / 358.6 MB, free: 3.168 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.3352, allocations: 1.257 MB / 359.9 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007686/0.336, allocations: 310.8 kB / 360.2 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000503/0.3365, allocations: 257 kB / 360.4 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007576/0.3441, allocations: 7.782 MB / 368.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005101/0.3446, allocations: 227.1 kB / 368.4 MB, free: 8.203 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.124e-06/0.3446, allocations: 0 / 368.4 MB, free: 8.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.001294/0.346, allocations: 0.543 MB / 369 MB, free: 7.652 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.346, allocations: 63.39 kB / 369 MB, free: 7.578 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009963/0.347, allocations: 0.8711 MB / 369.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.3471, allocations: 33.7 kB / 369.9 MB, free: 6.656 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.3475, allocations: 468.2 kB / 370.4 MB, free: 6.191 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/0.3475, allocations: 59.23 kB / 370.4 MB, free: 6.133 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.3475, allocations: 11.94 kB / 370.4 MB, free: 6.121 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3477, allocations: 318 kB / 370.8 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.348, allocations: 147.9 kB / 370.9 MB, free: 5.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.3485, allocations: 277.8 kB / 371.2 MB, free: 5.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.3489, allocations: 171.9 kB / 371.3 MB, free: 5.156 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3489, allocations: 0 / 371.3 MB, free: 5.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001007/0.3499, allocations: 0.5354 MB / 371.9 MB, free: 4.613 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.35, allocations: 8 kB / 371.9 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.925e-05/0.35, allocations: 24 kB / 371.9 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.35, allocations: 11.94 kB / 371.9 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.3504, allocations: 96 kB / 372 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.3504, allocations: 11.98 kB / 372 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.3507, allocations: 67.56 kB / 372.1 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.3508, allocations: 23.98 kB / 372.1 MB, free: 4.375 MB / 302.1 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.000278/0.3511, allocations: 213.7 kB / 372.3 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.3512, allocations: 114.6 kB / 372.4 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.3524, allocations: 0.4918 MB / 372.9 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3524, allocations: 4 kB / 372.9 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3524, allocations: 3.953 kB / 372.9 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3524, allocations: 3.938 kB / 372.9 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005753/0.353, allocations: 0.5673 MB / 373.5 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.659e-05/0.3531, allocations: 16 kB / 373.5 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.3533, allocations: 59.89 kB / 373.6 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3533, allocations: 12 kB / 373.6 MB, free: 2.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.3534, allocations: 8 kB / 373.6 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3534, allocations: 4 kB / 373.6 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3534, allocations: 0 / 373.6 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008876/0.3543, allocations: 486.6 kB / 374.1 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.3545, allocations: 199.7 kB / 374.3 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.963e-05/0.3546, allocations: 4 kB / 374.3 MB, free: 2.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.3549, allocations: 43.91 kB / 374.3 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.355, allocations: 35.89 kB / 374.4 MB, free: 2.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.355, allocations: 16 kB / 374.4 MB, free: 1.996 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006259/0.3556, allocations: 0.5844 MB / 375 MB, free: 1.406 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3557, allocations: 4 kB / 375 MB, free: 1.402 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005748/0.3562, allocations: 223.8 kB / 375.2 MB, free: 1.184 MB / 302.1 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.0005908/0.3568, allocations: 472 kB / 375.6 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009008/0.3577, allocations: 390.4 kB / 376 MB, free: 332 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3578, allocations: 0 / 376 MB, free: 332 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004261/0.3582, allocations: 197.8 kB / 376.2 MB, free: 124 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.3587, allocations: 148.5 kB / 376.4 MB, free: 15.97 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.361, allocations: 1.666 MB / 378 MB, free: 14.28 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.3615, allocations: 0.9605 MB / 379 MB, free: 13.29 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003333/0.3618, allocations: 102 kB / 379.1 MB, free: 13.19 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.149e-05/0.3619, allocations: 51.44 kB / 379.1 MB, free: 13.14 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3619, allocations: 0 / 379.1 MB, free: 13.14 MB / 318.1 MB Notification: Performance of Templates: time 0.02079/0.3827, allocations: 11.87 MB / 391 MB, free: 1.258 MB / 318.1 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)