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.001319/0.00132, allocations: 184 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.44/1.44, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.001646/0.001646, allocations: 124 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.866e-05/1.876e-05, allocations: 4 kB / 298.1 MB, free: 35.51 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08394/0.08397, allocations: 44.51 MB / 342.6 MB, free: 6.996 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3381/0.4221, allocations: 97.02 MB / 439.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.4224, allocations: 68.88 kB / 439.7 MB, free: 5.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1459/0.5684, allocations: 69.98 MB / 0.4977 GB, free: 7.848 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5684, allocations: 0 / 0.4977 GB, free: 7.848 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.423e-05/0.5685, allocations: 12 kB / 0.4977 GB, free: 7.836 MB / 362.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.00266/0.5711, allocations: 1.211 MB / 0.4989 GB, free: 6.578 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.5712, allocations: 12.03 kB / 0.4989 GB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002503/0.5715, allocations: 122.5 kB / 0.499 GB, free: 6.445 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.5727, allocations: 0.7599 MB / 0.4998 GB, free: 5.633 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.5727, allocations: 8 kB / 0.4998 GB, free: 5.625 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.694e-05/0.5728, allocations: 16 kB / 0.4998 GB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004322/0.5733, allocations: 237 kB / 0.5 GB, free: 5.379 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004745/0.5737, allocations: 299.3 kB / 0.5003 GB, free: 5.066 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.5738, allocations: 0 / 0.5003 GB, free: 5.066 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.5738, allocations: 0 / 0.5003 GB, free: 5.066 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.5738, allocations: 15.98 kB / 0.5003 GB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/0.5759, allocations: 1.217 MB / 0.5015 GB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.5762, allocations: 174.7 kB / 0.5017 GB, free: 3.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.5765, allocations: 173.9 kB / 0.5018 GB, free: 3.418 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.5868, allocations: 9.269 MB / 0.5109 GB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.5871, allocations: 160 kB / 0.511 GB, free: 8.676 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 3.046e-06/0.5871, allocations: 0 / 0.511 GB, free: 8.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005792/0.5877, allocations: 288.8 kB / 0.5113 GB, free: 8.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.5878, allocations: 106.8 kB / 0.5114 GB, free: 8.258 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.589, allocations: 0.7086 MB / 0.5121 GB, free: 7.539 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.589, allocations: 29.7 kB / 0.5121 GB, free: 7.504 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004147/0.5895, allocations: 464.5 kB / 0.5126 GB, free: 7.047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.681e-05/0.5895, allocations: 59.28 kB / 0.5126 GB, free: 6.988 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.5896, allocations: 0 / 0.5126 GB, free: 6.988 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5897, allocations: 322 kB / 0.5129 GB, free: 6.668 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.5898, allocations: 64 kB / 0.513 GB, free: 6.602 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.5901, allocations: 219.5 kB / 0.5132 GB, free: 6.316 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.5902, allocations: 104.2 kB / 0.5133 GB, free: 6.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.5903, allocations: 0 / 0.5133 GB, free: 6.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006148/0.5909, allocations: 376.4 kB / 0.5137 GB, free: 5.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5909, allocations: 8 kB / 0.5137 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.923e-05/0.591, allocations: 23.98 kB / 0.5137 GB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.591, allocations: 8 kB / 0.5137 GB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.5914, allocations: 95.97 kB / 0.5138 GB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.5914, allocations: 12 kB / 0.5138 GB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/0.5919, allocations: 59.64 kB / 0.5139 GB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/0.592, allocations: 20 kB / 0.5139 GB, free: 5.617 MB / 378.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 0.0001199/0.5921, allocations: 124.8 kB / 0.514 GB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.5923, allocations: 114.6 kB / 0.5141 GB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000851/0.5931, allocations: 375.4 kB / 0.5145 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.5931, allocations: 4 kB / 0.5145 GB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.5931, allocations: 3.953 kB / 0.5145 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5932, allocations: 0 / 0.5145 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007108/0.5939, allocations: 0.5351 MB / 0.515 GB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.763e-05/0.5939, allocations: 16 kB / 0.515 GB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.5942, allocations: 47.95 kB / 0.5151 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.5942, allocations: 8.062 kB / 0.5151 GB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.5942, allocations: 15.92 kB / 0.5151 GB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.5942, allocations: 3.938 kB / 0.5151 GB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5942, allocations: 0 / 0.5151 GB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.5948, allocations: 372.9 kB / 0.5154 GB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.5951, allocations: 203.7 kB / 0.5156 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.5952, allocations: 0 / 0.5156 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.5956, allocations: 35.95 kB / 0.5157 GB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.65e-05/0.5957, allocations: 31.95 kB / 0.5157 GB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.5957, allocations: 16 kB / 0.5157 GB, free: 3.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006876/0.5964, allocations: 0.5336 MB / 0.5162 GB, free: 3.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5964, allocations: 0 / 0.5162 GB, free: 3.082 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008178/0.5973, allocations: 239.6 kB / 0.5165 GB, free: 2.848 MB / 378.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.001101/0.5984, allocations: 0.6175 MB / 0.5171 GB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004293/0.5988, allocations: 237.4 kB / 0.5173 GB, free: 1.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5988, allocations: 1.25 kB / 0.5173 GB, free: 1.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.599, allocations: 133.1 kB / 0.5174 GB, free: 1.848 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.5996, allocations: 132.7 kB / 0.5176 GB, free: 1.715 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.6014, allocations: 0.954 MB / 0.5185 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/0.602, allocations: 0.9843 MB / 0.5194 GB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003831/0.6024, allocations: 102.4 kB / 0.5195 GB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.6026, allocations: 55.44 kB / 0.5196 GB, free: 15.55 MB / 394.7 MB Notification: Performance of SimCode: time 2.295e-06/0.6026, allocations: 0 / 0.5196 GB, free: 15.55 MB / 394.7 MB Notification: Performance of Templates: time 0.02091/0.6235, allocations: 10.39 MB / 0.5297 GB, free: 5.152 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)