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.0009188/0.0009188, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.356/1.356, allocations: 170.7 MB / 178.7 MB, free: 7.043 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.001559/0.001559, allocations: 105.4 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.145e-05/2.14e-05, allocations: 4 kB / 262.2 MB, free: 3.059 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2264, allocations: 38.76 MB / 301 MB, free: 39.15 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1066/0.3331, allocations: 93.2 MB / 394.2 MB, free: 2.387 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.3334, allocations: 70.78 kB / 394.3 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2959/0.6293, allocations: 71.26 MB / 465.5 MB, free: 76.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.6294, allocations: 0 / 465.5 MB, free: 76.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.6294, allocations: 15.25 kB / 465.5 MB, free: 76.84 MB / 330.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.001927/0.6313, allocations: 1.21 MB / 466.7 MB, free: 76.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.6314, allocations: 10.38 kB / 466.7 MB, free: 76.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.6315, allocations: 115.8 kB / 466.9 MB, free: 75.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009132/0.6324, allocations: 0.7612 MB / 467.6 MB, free: 75.53 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.6325, allocations: 11.72 kB / 467.6 MB, free: 75.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/0.6325, allocations: 23.41 kB / 467.7 MB, free: 75.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003302/0.6329, allocations: 225.4 kB / 467.9 MB, free: 75.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.6332, allocations: 299.5 kB / 468.2 MB, free: 75.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.6333, allocations: 0 / 468.2 MB, free: 75.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.6333, allocations: 0 / 468.2 MB, free: 75.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.6333, allocations: 12.88 kB / 468.2 MB, free: 75.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.6349, allocations: 1.222 MB / 469.4 MB, free: 74.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.6351, allocations: 164.4 kB / 469.6 MB, free: 74.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.6353, allocations: 188.3 kB / 469.7 MB, free: 74.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006761/0.6421, allocations: 9.259 MB / 479 MB, free: 66.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.6424, allocations: 160.6 kB / 479.2 MB, free: 66.9 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 3.015e-06/0.6424, allocations: 0 / 479.2 MB, free: 66.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004995/0.6429, allocations: 281.7 kB / 479.4 MB, free: 66.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.643, allocations: 106.3 kB / 479.5 MB, free: 66.65 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008021/0.6438, allocations: 0.7041 MB / 480.2 MB, free: 66.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.6438, allocations: 25.7 kB / 480.3 MB, free: 66.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.6441, allocations: 467 kB / 480.7 MB, free: 65.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.718e-05/0.6442, allocations: 58.28 kB / 480.8 MB, free: 65.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/0.6442, allocations: 7.453 kB / 480.8 MB, free: 65.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.412e-05/0.6443, allocations: 322.3 kB / 481.1 MB, free: 65.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.6444, allocations: 64.88 kB / 481.2 MB, free: 65.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.6445, allocations: 214.1 kB / 481.4 MB, free: 65.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.6447, allocations: 88.41 kB / 481.5 MB, free: 65.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.6447, allocations: 4 kB / 481.5 MB, free: 65.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004874/0.6452, allocations: 371.2 kB / 481.8 MB, free: 65.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.6452, allocations: 19.55 kB / 481.8 MB, free: 65.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/0.6453, allocations: 23 kB / 481.9 MB, free: 65.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.6453, allocations: 11.17 kB / 481.9 MB, free: 65.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.6457, allocations: 93.86 kB / 482 MB, free: 65.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.6457, allocations: 11.16 kB / 482 MB, free: 65.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.6461, allocations: 65.05 kB / 482 MB, free: 65.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.6462, allocations: 22.88 kB / 482.1 MB, free: 65.08 MB / 330.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.424e-05/0.6463, allocations: 124 kB / 482.2 MB, free: 64.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/0.6464, allocations: 111.6 kB / 482.3 MB, free: 64.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007593/0.6471, allocations: 377.1 kB / 482.7 MB, free: 64.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6472, allocations: 0 / 482.7 MB, free: 64.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6472, allocations: 2.5 kB / 482.7 MB, free: 64.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.6472, allocations: 0 / 482.7 MB, free: 64.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.6477, allocations: 0.5377 MB / 483.2 MB, free: 64.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/0.6478, allocations: 16 kB / 483.2 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.6481, allocations: 55 kB / 483.3 MB, free: 64.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.6481, allocations: 7.938 kB / 483.3 MB, free: 64.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.6481, allocations: 13.3 kB / 483.3 MB, free: 64.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6481, allocations: 4.062 kB / 483.3 MB, free: 64.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6481, allocations: 0 / 483.3 MB, free: 64.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.6485, allocations: 360.2 kB / 483.7 MB, free: 63.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.6488, allocations: 205.9 kB / 483.9 MB, free: 63.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.6489, allocations: 4 kB / 483.9 MB, free: 63.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.6492, allocations: 43.02 kB / 483.9 MB, free: 63.67 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.528e-05/0.6493, allocations: 34.72 kB / 483.9 MB, free: 63.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.6494, allocations: 15.61 kB / 483.9 MB, free: 63.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005182/0.6499, allocations: 0.537 MB / 484.5 MB, free: 63.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6499, allocations: 0 / 484.5 MB, free: 63.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006917/0.6506, allocations: 231.2 kB / 484.7 MB, free: 62.92 MB / 330.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.0007814/0.6514, allocations: 0.6155 MB / 485.3 MB, free: 62.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003403/0.6517, allocations: 236.6 kB / 485.6 MB, free: 62.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6517, allocations: 0 / 485.6 MB, free: 62.17 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.6519, allocations: 133.4 kB / 485.7 MB, free: 62.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.6524, allocations: 157.1 kB / 485.8 MB, free: 61.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.6539, allocations: 0.9573 MB / 486.8 MB, free: 60.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.6543, allocations: 0.9754 MB / 487.8 MB, free: 60.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003549/0.6546, allocations: 103 kB / 487.9 MB, free: 60.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.68e-05/0.6547, allocations: 52 kB / 487.9 MB, free: 59.98 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6547, allocations: 0 / 487.9 MB, free: 59.98 MB / 330.7 MB Notification: Performance of Templates: time 0.01609/0.6708, allocations: 10.4 MB / 498.3 MB, free: 49.98 MB / 330.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)