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.001065/0.001065, allocations: 109 kB / 16.51 MB, free: 6.707 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.001013/0.001013, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.361/1.361, allocations: 205.1 MB / 223.3 MB, free: 12.4 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.00119/0.00119, allocations: 47.94 kB / 279.3 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.08975, allocations: 46.62 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005808/0.09559, allocations: 5.398 MB / 331.4 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01857/0.1142, allocations: 18.65 MB / 350 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.1153, allocations: 15.94 kB / 350 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.1177, allocations: 0.7336 MB / 350.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005989/0.1237, allocations: 1.279 MB / 352 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004082/0.1278, allocations: 1.047 MB / 353.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003289/0.1311, allocations: 1.725 MB / 354.8 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.1314, allocations: 157.8 kB / 355 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/0.1318, allocations: 306.5 kB / 355.3 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.1321, allocations: 357.8 kB / 355.6 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.93e-05/0.1322, allocations: 24 kB / 355.6 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.1353, allocations: 1.097 MB / 356.7 MB, free: 5.965 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1355, allocations: 115.2 kB / 356.8 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.1358, allocations: 417.3 kB / 357.2 MB, free: 5.441 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.138, allocations: 1.581 MB / 358.8 MB, free: 3.855 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1381, allocations: 0 / 358.8 MB, free: 3.855 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1381, allocations: 0 / 358.8 MB, free: 3.855 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1381, allocations: 0 / 358.8 MB, free: 3.855 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.001945/0.14, allocations: 1.389 MB / 360.2 MB, free: 2.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1401, allocations: 12.03 kB / 360.2 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.1402, allocations: 114.6 kB / 360.3 MB, free: 2.285 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009232/0.1412, allocations: 0.786 MB / 361.1 MB, free: 1.441 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.1412, allocations: 16.56 kB / 361.1 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/0.1413, allocations: 35.91 kB / 361.2 MB, free: 1.391 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007404/0.142, allocations: 336.7 kB / 361.5 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.142, allocations: 0 / 361.5 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.1421, allocations: 8 kB / 361.5 MB, free: 1.047 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.1421, allocations: 8 kB / 361.5 MB, free: 1.039 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008548/0.143, allocations: 350 kB / 361.9 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.1448, allocations: 1.234 MB / 363.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007907/0.1456, allocations: 262.6 kB / 363.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004831/0.1461, allocations: 233 kB / 363.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007176/0.1533, allocations: 7.79 MB / 371.4 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005225/0.1538, allocations: 211 kB / 371.6 MB, free: 5.836 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.144e-06/0.1538, allocations: 4 kB / 371.6 MB, free: 5.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001417/0.1553, allocations: 492.2 kB / 372.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.1553, allocations: 55.41 kB / 372.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009948/0.1563, allocations: 0.8867 MB / 373 MB, free: 4.379 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.1564, allocations: 33.64 kB / 373 MB, free: 4.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.1567, allocations: 464.3 kB / 373.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.1568, allocations: 63.19 kB / 373.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.1569, allocations: 89.5 kB / 373.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.157, allocations: 314 kB / 373.9 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.1574, allocations: 127.9 kB / 374.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/0.1579, allocations: 257.9 kB / 374.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007747/0.1587, allocations: 397.5 kB / 374.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1587, allocations: 0 / 374.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009988/0.1597, allocations: 0.4921 MB / 375.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1597, allocations: 15.06 kB / 375.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.564e-05/0.1597, allocations: 20 kB / 375.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.1598, allocations: 12.55 kB / 375.3 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.1601, allocations: 87.88 kB / 375.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.1602, allocations: 7.938 kB / 375.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.1606, allocations: 55.59 kB / 375.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.1606, allocations: 27.94 kB / 375.4 MB, free: 1.797 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.0003003/0.1609, allocations: 213.6 kB / 375.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.1611, allocations: 114.5 kB / 375.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.1623, allocations: 475.4 kB / 376.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1624, allocations: 0 / 376.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1624, allocations: 0 / 376.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1624, allocations: 7.984 kB / 376.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005711/0.163, allocations: 0.5633 MB / 376.8 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-05/0.163, allocations: 20 kB / 376.8 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.1632, allocations: 44.02 kB / 376.8 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1632, allocations: 7.938 kB / 376.9 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.1633, allocations: 15.98 kB / 376.9 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1633, allocations: 0 / 376.9 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1633, allocations: 0 / 376.9 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1987/0.362, allocations: 438.1 kB / 377.3 MB, free: 56.37 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003761/0.3624, allocations: 198.5 kB / 377.5 MB, free: 56.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.3626, allocations: 6.812 kB / 377.5 MB, free: 56.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/0.3631, allocations: 29.77 kB / 377.5 MB, free: 56.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.3633, allocations: 32.06 kB / 377.6 MB, free: 56.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.832e-05/0.3633, allocations: 16.92 kB / 377.6 MB, free: 56.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001085/0.3644, allocations: 0.5934 MB / 378.2 MB, free: 56.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3644, allocations: 0 / 378.2 MB, free: 56.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000968/0.3654, allocations: 221.8 kB / 378.4 MB, free: 56.16 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.0009995/0.3664, allocations: 493.3 kB / 378.9 MB, free: 56.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.368, allocations: 347.3 kB / 379.2 MB, free: 56.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.368, allocations: 1.312 kB / 379.2 MB, free: 56.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007085/0.3687, allocations: 177.5 kB / 379.4 MB, free: 56.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009279/0.3697, allocations: 138.5 kB / 379.5 MB, free: 56.01 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/0.373, allocations: 1.716 MB / 381.2 MB, free: 55.15 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/0.3735, allocations: 0.9569 MB / 382.2 MB, free: 54.45 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005411/0.374, allocations: 99.73 kB / 382.3 MB, free: 54.45 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.3742, allocations: 52.12 kB / 382.3 MB, free: 54.44 MB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3742, allocations: 1.062 kB / 382.3 MB, free: 54.44 MB / 318.1 MB Notification: Performance of Templates: time 0.0256/0.3998, allocations: 12.3 MB / 394.6 MB, free: 49.64 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)