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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005571/0.005571, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001142/0.001142, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.364/1.364, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.001174/0.001174, allocations: 54.48 kB / 326.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1019, allocations: 46.63 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006444/0.1084, allocations: 5.395 MB / 378.6 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01942/0.1278, allocations: 18.49 MB / 397 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.129, allocations: 27.81 kB / 397.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.1313, allocations: 0.8026 MB / 397.9 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005077/0.1364, allocations: 1.561 MB / 399.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003663/0.1401, allocations: 1.252 MB / 400.7 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002887/0.143, allocations: 1.765 MB / 402.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.1433, allocations: 181.2 kB / 402.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004156/0.1437, allocations: 326.5 kB / 402.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003877/0.1441, allocations: 365.8 kB / 403.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.069e-05/0.1442, allocations: 32 kB / 403.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.1472, allocations: 1.113 MB / 404.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.1473, allocations: 123.2 kB / 404.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003836/0.1477, allocations: 437.2 kB / 405 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002238/0.1499, allocations: 1.612 MB / 406.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.15, allocations: 0 / 406.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.15, allocations: 0 / 406.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.15, allocations: 3.938 kB / 406.6 MB, free: 15.72 MB / 350.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.002141/0.1521, allocations: 1.39 MB / 408 MB, free: 14.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1522, allocations: 11.89 kB / 408 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.1523, allocations: 114.6 kB / 408.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.1534, allocations: 0.7861 MB / 408.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.1534, allocations: 20.55 kB / 408.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/0.1535, allocations: 23.94 kB / 409 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007594/0.1543, allocations: 340.7 kB / 409.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1543, allocations: 0 / 409.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.1543, allocations: 8 kB / 409.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.1544, allocations: 8 kB / 409.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009083/0.1553, allocations: 350 kB / 409.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.1573, allocations: 1.238 MB / 410.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008525/0.1581, allocations: 262.6 kB / 411.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/0.1587, allocations: 229 kB / 411.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008132/0.1668, allocations: 7.79 MB / 419.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005515/0.1674, allocations: 215.2 kB / 419.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.685e-06/0.1674, allocations: 0 / 419.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001425/0.1689, allocations: 488 kB / 419.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.1689, allocations: 59.41 kB / 419.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000972/0.1699, allocations: 0.8945 MB / 420.8 MB, free: 256 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.1699, allocations: 29.7 kB / 420.8 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/0.1704, allocations: 464.3 kB / 421.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.1704, allocations: 59.25 kB / 421.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.1706, allocations: 85.52 kB / 421.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1707, allocations: 314 kB / 421.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.1711, allocations: 127.9 kB / 421.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000545/0.1716, allocations: 257.9 kB / 422.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008462/0.1725, allocations: 393.5 kB / 422.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1725, allocations: 4 kB / 422.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001093/0.1736, allocations: 0.4958 MB / 423 MB, free: 13.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1736, allocations: 11.94 kB / 423 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.411e-05/0.1737, allocations: 20 kB / 423 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.1737, allocations: 8 kB / 423 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.1741, allocations: 88.44 kB / 423.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/0.1741, allocations: 15.92 kB / 423.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/0.1745, allocations: 51.59 kB / 423.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.1745, allocations: 24 kB / 423.2 MB, free: 13.68 MB / 366.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.0002595/0.1748, allocations: 205.7 kB / 423.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.1749, allocations: 122.6 kB / 423.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.1762, allocations: 471.7 kB / 424 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.1762, allocations: 4 kB / 424 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1762, allocations: 0 / 424 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1762, allocations: 0 / 424 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00065/0.1769, allocations: 0.5633 MB / 424.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-05/0.1769, allocations: 20.05 kB / 424.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.1772, allocations: 47.95 kB / 424.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.1772, allocations: 7.938 kB / 424.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.1772, allocations: 12 kB / 424.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.1772, allocations: 0 / 424.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1773, allocations: 0 / 424.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009792/0.1782, allocations: 446.6 kB / 425.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.1785, allocations: 203.6 kB / 425.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.552e-05/0.1786, allocations: 12 kB / 425.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.1789, allocations: 27.95 kB / 425.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.43e-05/0.179, allocations: 35.84 kB / 425.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.179, allocations: 12 kB / 425.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006509/0.1797, allocations: 0.5922 MB / 425.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1797, allocations: 0 / 425.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005905/0.1803, allocations: 219.8 kB / 426.2 MB, free: 10.59 MB / 366.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.0007339/0.1811, allocations: 492 kB / 426.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009743/0.182, allocations: 354.5 kB / 427 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1821, allocations: 0 / 427 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/0.1825, allocations: 181.5 kB / 427.2 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.1831, allocations: 144.8 kB / 427.3 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.1854, allocations: 1.451 MB / 428.8 MB, free: 7.926 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.1858, allocations: 0.9604 MB / 429.7 MB, free: 6.938 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002597/0.1861, allocations: 102.1 kB / 429.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.1862, allocations: 51.44 kB / 429.9 MB, free: 6.785 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1862, allocations: 0 / 429.9 MB, free: 6.785 MB / 366.1 MB Notification: Performance of Templates: time 0.02061/0.2069, allocations: 13.07 MB / 442.9 MB, free: 9.691 MB / 382.1 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)