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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 111.2 kB / 16.92 MB, free: 5.766 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.001768/0.001768, allocations: 191.5 kB / 17.85 MB, free: 5.172 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.353/1.353, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.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.002264/0.002264, allocations: 55.92 kB / 280 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.125, allocations: 46.62 MB / 326.6 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006827/0.1319, allocations: 5.391 MB / 332 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02003/0.152, allocations: 18.5 MB / 350.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007247/0.1528, allocations: 7.938 kB / 350.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.155, allocations: 0.7991 MB / 351.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004344/0.1593, allocations: 1.572 MB / 352.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003726/0.1631, allocations: 1.252 MB / 354.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002756/0.1659, allocations: 1.757 MB / 355.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.1662, allocations: 173 kB / 356.1 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003684/0.1665, allocations: 318.5 kB / 356.4 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003852/0.1669, allocations: 361.8 kB / 356.7 MB, free: 6.215 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.381e-05/0.167, allocations: 32 kB / 356.8 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003198/0.1702, allocations: 1.12 MB / 357.9 MB, free: 5.062 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.1704, allocations: 123.3 kB / 358 MB, free: 4.941 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004154/0.1708, allocations: 429.3 kB / 358.4 MB, free: 4.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002677/0.1735, allocations: 1.608 MB / 360 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.1736, allocations: 0 / 360 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1736, allocations: 0 / 360 MB, free: 2.906 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.1736, allocations: 0 / 360 MB, free: 2.906 MB / 302.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.002181/0.1758, allocations: 1.39 MB / 361.4 MB, free: 1.457 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1758, allocations: 11.89 kB / 361.4 MB, free: 1.445 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.176, allocations: 118.6 kB / 361.5 MB, free: 1.328 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000975/0.177, allocations: 0.7937 MB / 362.3 MB, free: 492 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.177, allocations: 12.56 kB / 362.4 MB, free: 480 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.1771, allocations: 31.92 kB / 362.4 MB, free: 448 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007313/0.1778, allocations: 344.7 kB / 362.7 MB, free: 100 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1778, allocations: 0 / 362.7 MB, free: 100 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.1779, allocations: 4 kB / 362.7 MB, free: 96 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.1779, allocations: 8 kB / 362.7 MB, free: 88 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008855/0.1788, allocations: 350.1 kB / 363.1 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.1806, allocations: 1.234 MB / 364.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008176/0.1814, allocations: 262.6 kB / 364.6 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/0.1819, allocations: 229 kB / 364.8 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007859/0.1898, allocations: 7.786 MB / 372.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005355/0.1903, allocations: 211 kB / 372.8 MB, free: 4.891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 4.308e-06/0.1903, allocations: 4 kB / 372.8 MB, free: 4.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001415/0.1918, allocations: 488.8 kB / 373.3 MB, free: 4.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.1918, allocations: 55.41 kB / 373.3 MB, free: 4.336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009504/0.1928, allocations: 0.8828 MB / 374.2 MB, free: 3.441 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.1928, allocations: 37.69 kB / 374.2 MB, free: 3.398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.1932, allocations: 460.4 kB / 374.7 MB, free: 2.941 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.372e-05/0.1932, allocations: 63.12 kB / 374.7 MB, free: 2.879 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.1934, allocations: 89.5 kB / 374.8 MB, free: 2.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1935, allocations: 318 kB / 375.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.1939, allocations: 131.8 kB / 375.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.1944, allocations: 257.6 kB / 375.5 MB, free: 2.023 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008455/0.1952, allocations: 401.5 kB / 375.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.1952, allocations: 11.94 kB / 375.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001053/0.1963, allocations: 495.9 kB / 376.4 MB, free: 1.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1963, allocations: 11.94 kB / 376.4 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.754e-05/0.1964, allocations: 24 kB / 376.4 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1964, allocations: 8.562 kB / 376.5 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.1967, allocations: 79.88 kB / 376.5 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.1968, allocations: 11.94 kB / 376.5 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.1971, allocations: 59.64 kB / 376.6 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.1972, allocations: 20 kB / 376.6 MB, free: 0.8516 MB / 318.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.0002565/0.1975, allocations: 205.8 kB / 376.8 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.1976, allocations: 114.5 kB / 376.9 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.1989, allocations: 486.8 kB / 377.4 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1989, allocations: 4 kB / 377.4 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1989, allocations: 0 / 377.4 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1989, allocations: 0 / 377.4 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1531/0.352, allocations: 0.5642 MB / 378 MB, free: 56.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-05/0.3521, allocations: 18.88 kB / 378 MB, free: 56.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.3524, allocations: 48.02 kB / 378 MB, free: 56.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.3525, allocations: 5.031 kB / 378.1 MB, free: 56.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.3525, allocations: 11.78 kB / 378.1 MB, free: 56.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.3525, allocations: 5.031 kB / 378.1 MB, free: 56.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3525, allocations: 2.047 kB / 378.1 MB, free: 56.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.3535, allocations: 438.2 kB / 378.5 MB, free: 56.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.3538, allocations: 199.8 kB / 378.7 MB, free: 56.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.3539, allocations: 8.734 kB / 378.7 MB, free: 56.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.3542, allocations: 27.33 kB / 378.7 MB, free: 56.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.3543, allocations: 32.61 kB / 378.8 MB, free: 56.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.3543, allocations: 12.95 kB / 378.8 MB, free: 56.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007575/0.3551, allocations: 0.5949 MB / 379.4 MB, free: 56.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3551, allocations: 0 / 379.4 MB, free: 56.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007346/0.3559, allocations: 224.2 kB / 379.6 MB, free: 56.3 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.0007085/0.3566, allocations: 487.7 kB / 380.1 MB, free: 56.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009705/0.3576, allocations: 354 kB / 380.4 MB, free: 56.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3576, allocations: 1 kB / 380.4 MB, free: 56.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004537/0.358, allocations: 180.2 kB / 380.6 MB, free: 56.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/0.3586, allocations: 151.7 kB / 380.7 MB, free: 56.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.3608, allocations: 1.477 MB / 382.2 MB, free: 55.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.3613, allocations: 0.9597 MB / 383.2 MB, free: 54.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003471/0.3616, allocations: 105.2 kB / 383.3 MB, free: 54.67 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.35e-05/0.3617, allocations: 49.88 kB / 383.3 MB, free: 54.66 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3617, allocations: 0 / 383.3 MB, free: 54.66 MB / 318.1 MB Notification: Performance of Templates: time 0.01863/0.3804, allocations: 12.84 MB / 396.2 MB, free: 48.65 MB / 318.1 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)