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.00118/0.00118, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001168/0.001168, allocations: 51.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2018, allocations: 46.63 MB / 325.3 MB, free: 2.051 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005419/0.2073, allocations: 5.391 MB / 330.7 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01837/0.2257, allocations: 18.5 MB / 349.2 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008338/0.2266, allocations: 7.938 kB / 349.2 MB, free: 12.1 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.2288, allocations: 0.8002 MB / 350 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004901/0.2337, allocations: 1.561 MB / 351.6 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003835/0.2376, allocations: 1.256 MB / 352.8 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003139/0.2408, allocations: 1.753 MB / 354.6 MB, free: 6.699 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003632/0.2412, allocations: 173.9 kB / 354.7 MB, free: 6.523 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005155/0.2417, allocations: 322.5 kB / 355.1 MB, free: 6.207 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004252/0.2421, allocations: 353.9 kB / 355.4 MB, free: 5.859 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.24e-05/0.2422, allocations: 32 kB / 355.4 MB, free: 5.828 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004477/0.2467, allocations: 1.124 MB / 356.6 MB, free: 4.703 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.2469, allocations: 115.2 kB / 356.7 MB, free: 4.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004324/0.2473, allocations: 441.2 kB / 357.1 MB, free: 4.156 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002956/0.2503, allocations: 1.608 MB / 358.7 MB, free: 2.543 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2503, allocations: 0 / 358.7 MB, free: 2.543 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.2503, allocations: 0 / 358.7 MB, free: 2.543 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.2503, allocations: 0 / 358.7 MB, free: 2.543 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.002169/0.2525, allocations: 1.389 MB / 360.1 MB, free: 1.094 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2525, allocations: 15.89 kB / 360.1 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.2527, allocations: 114.6 kB / 360.2 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.2537, allocations: 0.7938 MB / 361 MB, free: 120 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.2538, allocations: 28.53 kB / 361.1 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.754e-05/0.2538, allocations: 23.84 kB / 361.1 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007825/0.2546, allocations: 336.7 kB / 361.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.2547, allocations: 0 / 361.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.2547, allocations: 12 kB / 361.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.2547, allocations: 4 kB / 361.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009246/0.2557, allocations: 350 kB / 361.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.2577, allocations: 1.234 MB / 363 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008727/0.2586, allocations: 258.6 kB / 363.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/0.2591, allocations: 240.8 kB / 363.5 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007444/0.2666, allocations: 7.775 MB / 371.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005644/0.2672, allocations: 215 kB / 371.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.264e-06/0.2672, allocations: 0 / 371.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.001418/0.2686, allocations: 484.2 kB / 371.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.2686, allocations: 63.39 kB / 372 MB, free: 3.965 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009557/0.2696, allocations: 0.8866 MB / 372.9 MB, free: 3.066 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.2697, allocations: 37.64 kB / 372.9 MB, free: 3.023 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/0.27, allocations: 464.3 kB / 373.4 MB, free: 2.562 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.774e-05/0.2701, allocations: 63.19 kB / 373.4 MB, free: 2.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.2702, allocations: 81.59 kB / 373.5 MB, free: 2.414 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2703, allocations: 322 kB / 373.8 MB, free: 2.094 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/0.2707, allocations: 123.8 kB / 374 MB, free: 1.973 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/0.2712, allocations: 261.9 kB / 374.2 MB, free: 1.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008519/0.2721, allocations: 397.4 kB / 374.6 MB, free: 1.199 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2721, allocations: 4 kB / 374.6 MB, free: 1.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001099/0.2732, allocations: 0.4928 MB / 375.1 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.2732, allocations: 11.94 kB / 375.1 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.771e-05/0.2733, allocations: 20 kB / 375.1 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.2733, allocations: 8 kB / 375.1 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/0.2737, allocations: 83.86 kB / 375.2 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.2737, allocations: 12.28 kB / 375.2 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.2741, allocations: 51.72 kB / 375.3 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.2741, allocations: 20 kB / 375.3 MB, free: 0.4922 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 (VDS.counter,$PRE.VDS.counter,VGS.counter,$PRE.VGS.counter,VGS.counter2,$PRE.VGS.counter2,VGS.T0,$PRE.VGS.T0,VDS.counter2,$PRE.VDS.counter2,VDS.T0,$PRE.VDS.T0,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002413/0.2744, allocations: 213.7 kB / 375.5 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.2745, allocations: 110.6 kB / 375.6 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.2759, allocations: 483.5 kB / 376.1 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2759, allocations: 4 kB / 376.1 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2759, allocations: 0 / 376.1 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2759, allocations: 3.984 kB / 376.1 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006076/0.2765, allocations: 0.5749 MB / 376.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.829e-05/0.2766, allocations: 20 kB / 376.7 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.2768, allocations: 39.95 kB / 376.7 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.2768, allocations: 3.938 kB / 376.7 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.2769, allocations: 16.06 kB / 376.8 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.2769, allocations: 7.984 kB / 376.8 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.2769, allocations: 4 kB / 376.8 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009833/0.2779, allocations: 438.6 kB / 377.2 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.2781, allocations: 195.8 kB / 377.4 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.2782, allocations: 7.984 kB / 377.4 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.2785, allocations: 27.97 kB / 377.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.735e-05/0.2786, allocations: 35.91 kB / 377.5 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.2787, allocations: 19.98 kB / 377.5 MB, free: 14.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006517/0.2793, allocations: 0.5883 MB / 378.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2793, allocations: 0 / 378.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000623/0.28, allocations: 223.8 kB / 378.3 MB, free: 13.39 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006516/0.2806, allocations: 488 kB / 378.8 MB, free: 12.9 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.2817, allocations: 353.2 kB / 379.1 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2817, allocations: 1.25 kB / 379.1 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004797/0.2822, allocations: 193.6 kB / 379.3 MB, free: 12.35 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005918/0.2828, allocations: 135.5 kB / 379.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.2851, allocations: 1.479 MB / 380.9 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.2856, allocations: 0.9601 MB / 381.9 MB, free: 9.719 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003512/0.286, allocations: 102 kB / 382 MB, free: 9.617 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.2861, allocations: 51.44 kB / 382 MB, free: 9.566 MB / 318.1 MB Notification: Performance of SimCode: time 5.1e-07/0.2861, allocations: 0 / 382 MB, free: 9.566 MB / 318.1 MB Notification: Performance of Templates: time 0.0209/0.307, allocations: 12.83 MB / 394.8 MB, free: 12.72 MB / 334.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)