Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=198,variableFilter="",fileNamePrefix="Modelica_3.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.001014/0.001014, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006256/0.006256, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.368/1.368, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004729/0.000473, allocations: 16 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2328, allocations: 47.59 MB / 327 MB, free: 1.348 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005112/0.238, allocations: 5.004 MB / 332 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.02153/0.2595, allocations: 18.36 MB / 350.4 MB, free: 11.9 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000988/0.2606, allocations: 15.94 kB / 350.4 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002509/0.2631, allocations: 0.7589 MB / 351.2 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005431/0.2686, allocations: 1.283 MB / 352.4 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004364/0.2729, allocations: 1.047 MB / 353.5 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003555/0.2765, allocations: 1.714 MB / 355.2 MB, free: 7.062 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003732/0.2769, allocations: 161.8 kB / 355.4 MB, free: 6.895 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005643/0.2775, allocations: 298.5 kB / 355.7 MB, free: 6.602 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005502/0.2781, allocations: 341.9 kB / 356 MB, free: 6.266 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.395e-05/0.2782, allocations: 16 kB / 356 MB, free: 6.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004227/0.2824, allocations: 1.109 MB / 357.1 MB, free: 5.141 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.2826, allocations: 103.2 kB / 357.2 MB, free: 5.039 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004824/0.2831, allocations: 442.9 kB / 357.6 MB, free: 4.598 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003042/0.2861, allocations: 1.565 MB / 359.2 MB, free: 3.027 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.2861, allocations: 0 / 359.2 MB, free: 3.027 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.2861, allocations: 0 / 359.2 MB, free: 3.027 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.819e-05/0.2862, allocations: 0 / 359.2 MB, free: 3.027 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.002529/0.2887, allocations: 1.254 MB / 360.5 MB, free: 1.719 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.2888, allocations: 12.03 kB / 360.5 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.289, allocations: 114.6 kB / 360.6 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.2902, allocations: 0.7861 MB / 361.4 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.2903, allocations: 20.56 kB / 361.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.633e-05/0.2903, allocations: 31.88 kB / 361.4 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000842/0.2912, allocations: 356.7 kB / 361.8 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.2912, allocations: 0 / 361.8 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.2913, allocations: 12 kB / 361.8 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.2913, allocations: 4 kB / 361.8 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.2923, allocations: 390 kB / 362.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.2944, allocations: 1.246 MB / 363.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008768/0.2953, allocations: 314.6 kB / 363.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005358/0.2958, allocations: 252.9 kB / 364 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007838/0.3037, allocations: 7.786 MB / 371.8 MB, free: 5.223 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006058/0.3043, allocations: 223.2 kB / 372 MB, free: 4.992 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.335e-06/0.3044, allocations: 0 / 372 MB, free: 4.992 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.001523/0.3059, allocations: 0.5509 MB / 372.5 MB, free: 4.434 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.3059, allocations: 59.3 kB / 372.6 MB, free: 4.363 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.307, allocations: 0.8867 MB / 373.5 MB, free: 3.465 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.3071, allocations: 33.7 kB / 373.5 MB, free: 3.426 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/0.3074, allocations: 468.2 kB / 374 MB, free: 2.961 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/0.3075, allocations: 59.28 kB / 374 MB, free: 2.902 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.3076, allocations: 33.7 kB / 374.1 MB, free: 2.863 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3077, allocations: 322 kB / 374.4 MB, free: 2.543 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/0.3081, allocations: 135.9 kB / 374.5 MB, free: 2.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.3087, allocations: 289.8 kB / 374.8 MB, free: 2.062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009307/0.3096, allocations: 441.5 kB / 375.2 MB, free: 1.566 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.3096, allocations: 4 kB / 375.2 MB, free: 1.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00115/0.3108, allocations: 0.5394 MB / 375.8 MB, free: 1.016 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3108, allocations: 11.92 kB / 375.8 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.662e-05/0.3108, allocations: 24 kB / 375.8 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.3109, allocations: 4 kB / 375.8 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.3112, allocations: 99.81 kB / 375.9 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.3113, allocations: 8.031 kB / 375.9 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.3117, allocations: 59.72 kB / 376 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.3118, allocations: 27.97 kB / 376 MB, free: 0.7852 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.0002917/0.3121, allocations: 213.7 kB / 376.2 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.3122, allocations: 118.6 kB / 376.3 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.3136, allocations: 0.5034 MB / 376.8 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.3137, allocations: 4 kB / 376.8 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3137, allocations: 0 / 376.8 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3137, allocations: 3.938 kB / 376.8 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006383/0.3143, allocations: 0.5712 MB / 377.4 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-05/0.3144, allocations: 16 kB / 377.4 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.3146, allocations: 55.89 kB / 377.5 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3146, allocations: 3.938 kB / 377.5 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.3147, allocations: 20.05 kB / 377.5 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.3147, allocations: 4 kB / 377.5 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3147, allocations: 0 / 377.5 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.3157, allocations: 486.5 kB / 378 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.316, allocations: 195.7 kB / 378.2 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9e-05/0.3161, allocations: 8 kB / 378.2 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.3164, allocations: 35.97 kB / 378.2 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.3165, allocations: 39.83 kB / 378.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.3166, allocations: 12 kB / 378.3 MB, free: 14.4 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007004/0.3173, allocations: 0.5961 MB / 378.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3173, allocations: 0 / 378.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006741/0.3179, allocations: 219.8 kB / 379.1 MB, free: 13.58 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.0007407/0.3187, allocations: 491.7 kB / 379.5 MB, free: 13.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.3197, allocations: 394.3 kB / 379.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3198, allocations: 0 / 379.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.3202, allocations: 201.8 kB / 380.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.3209, allocations: 140.5 kB / 380.3 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.3234, allocations: 1.772 MB / 382 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/0.3239, allocations: 0.9605 MB / 383 MB, free: 9.566 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000363/0.3243, allocations: 102 kB / 383.1 MB, free: 9.465 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.873e-05/0.3244, allocations: 47.44 kB / 383.1 MB, free: 9.422 MB / 318.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3244, allocations: 4 kB / 383.1 MB, free: 9.418 MB / 318.1 MB Notification: Performance of Templates: time 0.0212/0.3456, allocations: 12.22 MB / 395.4 MB, free: 13.19 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1)