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.001255/0.001255, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001259/0.001259, allocations: 192.6 kB / 16.14 MB, free: 6.707 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.396/1.396, allocations: 205.1 MB / 222 MB, free: 5.02 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.001252/0.001252, allocations: 52.39 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2272, allocations: 46.62 MB / 324.7 MB, free: 2.16 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005759/0.233, allocations: 5.398 MB / 330.1 MB, free: 13.83 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01888/0.2519, allocations: 18.65 MB / 348.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.253, allocations: 11.94 kB / 348.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002376/0.2554, allocations: 0.7465 MB / 349.5 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004989/0.2604, allocations: 1.283 MB / 350.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003659/0.2641, allocations: 1.043 MB / 351.8 MB, free: 9.215 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002863/0.2669, allocations: 1.722 MB / 353.5 MB, free: 7.488 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.2672, allocations: 161.8 kB / 353.7 MB, free: 7.32 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004037/0.2676, allocations: 302.5 kB / 354 MB, free: 7.023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.268, allocations: 357.8 kB / 354.3 MB, free: 6.672 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.2681, allocations: 20 kB / 354.3 MB, free: 6.652 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.2713, allocations: 1.101 MB / 355.4 MB, free: 5.551 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.2714, allocations: 99.31 kB / 355.5 MB, free: 5.453 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003996/0.2718, allocations: 433.2 kB / 356 MB, free: 5.027 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.2742, allocations: 1.585 MB / 357.6 MB, free: 3.438 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2742, allocations: 0 / 357.6 MB, free: 3.438 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.2742, allocations: 0 / 357.6 MB, free: 3.438 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.2742, allocations: 0 / 357.6 MB, free: 3.438 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.001992/0.2762, allocations: 1.382 MB / 358.9 MB, free: 2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.2763, allocations: 8.031 kB / 358.9 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.2764, allocations: 118.6 kB / 359.1 MB, free: 1.875 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009905/0.2774, allocations: 0.7899 MB / 359.8 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.2775, allocations: 16.56 kB / 359.9 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.395e-05/0.2775, allocations: 31.84 kB / 359.9 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007334/0.2783, allocations: 336.7 kB / 360.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2783, allocations: 0 / 360.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.2783, allocations: 8 kB / 360.2 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.2784, allocations: 15.98 kB / 360.2 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008819/0.2792, allocations: 338 kB / 360.6 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.2811, allocations: 1.246 MB / 361.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008217/0.2819, allocations: 266.6 kB / 362.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000501/0.2824, allocations: 229 kB / 362.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007347/0.2898, allocations: 7.779 MB / 370.1 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005164/0.2903, allocations: 207.1 kB / 370.3 MB, free: 5.434 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.2903, allocations: 0 / 370.3 MB, free: 5.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.00133/0.2917, allocations: 496.1 kB / 370.8 MB, free: 4.941 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.2917, allocations: 59.39 kB / 370.8 MB, free: 4.871 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009785/0.2927, allocations: 0.8982 MB / 371.7 MB, free: 3.961 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.2927, allocations: 33.7 kB / 371.8 MB, free: 3.922 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.2931, allocations: 464.3 kB / 372.2 MB, free: 3.461 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.176e-05/0.2931, allocations: 55.25 kB / 372.3 MB, free: 3.406 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.2933, allocations: 77.61 kB / 372.3 MB, free: 3.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2934, allocations: 326 kB / 372.7 MB, free: 3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000373/0.2938, allocations: 119.9 kB / 372.8 MB, free: 2.883 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.2942, allocations: 261.8 kB / 373 MB, free: 2.562 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007764/0.295, allocations: 397.4 kB / 373.4 MB, free: 2.109 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.295, allocations: 0 / 373.4 MB, free: 2.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001021/0.296, allocations: 0.5 MB / 373.9 MB, free: 1.602 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.2961, allocations: 11.94 kB / 373.9 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-05/0.2961, allocations: 20 kB / 374 MB, free: 1.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2961, allocations: 4 kB / 374 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.2965, allocations: 88.25 kB / 374 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.2965, allocations: 15.97 kB / 374.1 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.2969, allocations: 59.66 kB / 374.1 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.297, allocations: 16 kB / 374.1 MB, free: 1.391 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.0002445/0.2972, allocations: 209.7 kB / 374.3 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.2973, allocations: 118.6 kB / 374.5 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.2986, allocations: 479.4 kB / 374.9 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2986, allocations: 4 kB / 374.9 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2986, allocations: 0 / 374.9 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2986, allocations: 0 / 374.9 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005714/0.2992, allocations: 0.5711 MB / 375.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.834e-05/0.2992, allocations: 16 kB / 375.5 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.2995, allocations: 43.89 kB / 375.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.2995, allocations: 8 kB / 375.6 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.2995, allocations: 12 kB / 375.6 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2996, allocations: 4 kB / 375.6 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2996, allocations: 0 / 375.6 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009207/0.3005, allocations: 442.6 kB / 376 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/0.3007, allocations: 195.7 kB / 376.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.3008, allocations: 8 kB / 376.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.3011, allocations: 27.95 kB / 376.2 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.912e-05/0.3012, allocations: 35.91 kB / 376.3 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.3013, allocations: 15.98 kB / 376.3 MB, free: 15.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006528/0.3019, allocations: 0.5961 MB / 376.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3019, allocations: 0 / 376.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006475/0.3026, allocations: 223.8 kB / 377.1 MB, free: 14.29 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.0007025/0.3033, allocations: 491.7 kB / 377.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008865/0.3042, allocations: 350.4 kB / 377.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3042, allocations: 0 / 377.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004552/0.3047, allocations: 189.7 kB / 378.1 MB, free: 13.26 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.3053, allocations: 136.5 kB / 378.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.3076, allocations: 1.714 MB / 380 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.3081, allocations: 0.9566 MB / 380.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003576/0.3085, allocations: 102 kB / 381 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.3086, allocations: 47.44 kB / 381.1 MB, free: 10.24 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3086, allocations: 0 / 381.1 MB, free: 10.24 MB / 318.1 MB Notification: Performance of Templates: time 0.01906/0.3276, allocations: 12.3 MB / 393.4 MB, free: 13.93 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)