Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=198,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=198,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001006/0.001006, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.112/1.112, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001571/0.001571, allocations: 114.5 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000272/0.000272, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07761/0.0779, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2609/0.3388, allocations: 97.77 MB / 452.8 MB, free: 8.051 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.3391, allocations: 79.34 kB / 452.9 MB, free: 8.012 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2882/0.6273, allocations: 74.2 MB / 0.5147 GB, free: 93.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.6274, allocations: 0 / 0.5147 GB, free: 93.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.753e-05/0.6274, allocations: 15.31 kB / 0.5148 GB, free: 93.06 MB / 394.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.002931/0.6304, allocations: 1.415 MB / 0.5161 GB, free: 92.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.6304, allocations: 6.688 kB / 0.5162 GB, free: 92.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.6305, allocations: 121.4 kB / 0.5163 GB, free: 92.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.6316, allocations: 0.7678 MB / 0.517 GB, free: 92.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.6316, allocations: 16 kB / 0.517 GB, free: 92.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.424e-05/0.6316, allocations: 23.66 kB / 0.5171 GB, free: 92.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007149/0.6324, allocations: 407 kB / 0.5174 GB, free: 92.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.6324, allocations: 1.438 kB / 0.5174 GB, free: 92.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.6324, allocations: 10.61 kB / 0.5175 GB, free: 92.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.6325, allocations: 7.156 kB / 0.5175 GB, free: 92.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007418/0.6332, allocations: 388.4 kB / 0.5178 GB, free: 92.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.6348, allocations: 1.28 MB / 0.5191 GB, free: 91.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007242/0.6355, allocations: 307.5 kB / 0.5194 GB, free: 91.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00734/0.6429, allocations: 9.226 MB / 0.5284 GB, free: 84.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005354/0.6435, allocations: 228.3 kB / 0.5286 GB, free: 84.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=19): time 2.925e-06/0.6435, allocations: 3.312 kB / 0.5286 GB, free: 84.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.001312/0.6448, allocations: 0.6148 MB / 0.5292 GB, free: 84.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.6449, allocations: 110.6 kB / 0.5293 GB, free: 84.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009245/0.6458, allocations: 0.7691 MB / 0.5301 GB, free: 84.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.6458, allocations: 32.53 kB / 0.5301 GB, free: 84.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.6461, allocations: 472.3 kB / 0.5305 GB, free: 84.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.9e-05/0.6462, allocations: 57.98 kB / 0.5306 GB, free: 84.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/0.6462, allocations: 7.906 kB / 0.5306 GB, free: 84.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.255e-05/0.6463, allocations: 320.8 kB / 0.5309 GB, free: 83.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.6466, allocations: 141.4 kB / 0.531 GB, free: 83.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004047/0.647, allocations: 286.8 kB / 0.5313 GB, free: 83.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.6474, allocations: 167.8 kB / 0.5315 GB, free: 83.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.6475, allocations: 10.2 kB / 0.5315 GB, free: 83.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000948/0.6484, allocations: 0.5329 MB / 0.532 GB, free: 83.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.6484, allocations: 10.98 kB / 0.532 GB, free: 83.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.361e-05/0.6485, allocations: 25.45 kB / 0.532 GB, free: 83.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.6485, allocations: 7.438 kB / 0.5321 GB, free: 83.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.6488, allocations: 92.52 kB / 0.5321 GB, free: 83.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.6489, allocations: 10.61 kB / 0.5322 GB, free: 83.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.6493, allocations: 69.5 kB / 0.5322 GB, free: 83.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.6493, allocations: 23.89 kB / 0.5322 GB, free: 83.65 MB / 394.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 () * 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.0002466/0.6496, allocations: 209.1 kB / 0.5324 GB, free: 83.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.769e-05/0.6497, allocations: 110.7 kB / 0.5325 GB, free: 83.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.6509, allocations: 0.5156 MB / 0.5331 GB, free: 83.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.651, allocations: 2.984 kB / 0.5331 GB, free: 83.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.651, allocations: 7.891 kB / 0.5331 GB, free: 83.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.651, allocations: 1.125 kB / 0.5331 GB, free: 83.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005734/0.6515, allocations: 0.5708 MB / 0.5336 GB, free: 83.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/0.6516, allocations: 17.53 kB / 0.5336 GB, free: 83.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.6518, allocations: 61.47 kB / 0.5337 GB, free: 83.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.6518, allocations: 1.031 kB / 0.5337 GB, free: 83.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.6519, allocations: 14.25 kB / 0.5337 GB, free: 83.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.6519, allocations: 0.8438 kB / 0.5337 GB, free: 83.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6519, allocations: 1.281 kB / 0.5337 GB, free: 83.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008824/0.6528, allocations: 0.507 MB / 0.5342 GB, free: 83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.653, allocations: 203.4 kB / 0.5344 GB, free: 82.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.399e-05/0.6531, allocations: 11.98 kB / 0.5344 GB, free: 82.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.6535, allocations: 40.41 kB / 0.5345 GB, free: 82.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.6536, allocations: 31.28 kB / 0.5345 GB, free: 82.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.6536, allocations: 16.52 kB / 0.5345 GB, free: 82.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006396/0.6542, allocations: 0.6025 MB / 0.5351 GB, free: 82.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6542, allocations: 0 / 0.5351 GB, free: 82.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007078/0.655, allocations: 252.3 kB / 0.5353 GB, free: 82.71 MB / 394.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) * 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.0007257/0.6557, allocations: 0.5336 MB / 0.5358 GB, free: 82.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008563/0.6565, allocations: 386.8 kB / 0.5362 GB, free: 82.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.6566, allocations: 0 / 0.5362 GB, free: 82.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004191/0.657, allocations: 205.2 kB / 0.5364 GB, free: 82.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.6575, allocations: 143.6 kB / 0.5365 GB, free: 82.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.6595, allocations: 1.647 MB / 0.5382 GB, free: 81.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.6599, allocations: 0.979 MB / 0.5391 GB, free: 81.05 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003421/0.6603, allocations: 107.2 kB / 0.5392 GB, free: 81.04 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.495e-05/0.6604, allocations: 50.95 kB / 0.5393 GB, free: 81.03 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.6604, allocations: 0 / 0.5393 GB, free: 81.03 MB / 394.7 MB Notification: Performance of Templates: time 0.01822/0.6786, allocations: 13.09 MB / 0.5521 GB, free: 80.28 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1)