Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=198,variableFilter="",fileNamePrefix="Modelica_3.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.007532/0.007532, allocations: 102.7 kB / 15.73 MB, free: 6.016 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.001743/0.001743, allocations: 196.3 kB / 16.68 MB, free: 5.934 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.571/1.571, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.001398/0.001398, allocations: 54.41 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1019, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006575/0.1085, allocations: 5.391 MB / 378.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02084/0.1293, allocations: 18.49 MB / 397.1 MB, free: 9.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008549/0.1303, allocations: 27.75 kB / 397.1 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.1326, allocations: 0.8026 MB / 397.9 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005178/0.1378, allocations: 1.58 MB / 399.5 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004331/0.1422, allocations: 1.264 MB / 400.7 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003019/0.1452, allocations: 1.757 MB / 402.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002959/0.1455, allocations: 177.2 kB / 402.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004736/0.146, allocations: 322.5 kB / 403 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.1466, allocations: 365.8 kB / 403.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.1467, allocations: 32 kB / 403.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003712/0.1504, allocations: 1.116 MB / 404.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.1506, allocations: 123.2 kB / 404.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004637/0.151, allocations: 429.3 kB / 405 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002954/0.154, allocations: 1.62 MB / 406.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.154, allocations: 0 / 406.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.154, allocations: 0 / 406.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.584e-05/0.1541, allocations: 0 / 406.6 MB, free: 15.67 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.002664/0.1567, allocations: 1.39 MB / 408 MB, free: 14.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.1568, allocations: 8.031 kB / 408 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.157, allocations: 118.6 kB / 408.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.158, allocations: 0.7861 MB / 408.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.1581, allocations: 24.5 kB / 409 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.292e-05/0.1581, allocations: 31.92 kB / 409 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008028/0.159, allocations: 328.7 kB / 409.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.159, allocations: 0 / 409.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/0.159, allocations: 12 kB / 409.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.159, allocations: 4 kB / 409.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008892/0.1599, allocations: 346 kB / 409.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.162, allocations: 1.238 MB / 410.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008415/0.1628, allocations: 266.6 kB / 411.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004974/0.1633, allocations: 237 kB / 411.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008005/0.1714, allocations: 7.786 MB / 419.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005659/0.1719, allocations: 207.3 kB / 419.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.344e-06/0.172, allocations: 0 / 419.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001448/0.1734, allocations: 495.9 kB / 419.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.1735, allocations: 63.39 kB / 419.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.1745, allocations: 0.8828 MB / 420.8 MB, free: 204 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.1746, allocations: 29.7 kB / 420.8 MB, free: 168 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.175, allocations: 464.3 kB / 421.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.173e-05/0.175, allocations: 59.25 kB / 421.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.1752, allocations: 85.5 kB / 421.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1753, allocations: 322 kB / 421.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.1757, allocations: 119.9 kB / 421.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/0.1762, allocations: 261.8 kB / 422.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008414/0.1771, allocations: 385.6 kB / 422.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1771, allocations: 4 kB / 422.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001143/0.1782, allocations: 0.4998 MB / 423 MB, free: 13.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.1783, allocations: 7.938 kB / 423 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.643e-05/0.1783, allocations: 24 kB / 423 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.1784, allocations: 4.562 kB / 423 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.1787, allocations: 91.81 kB / 423.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.1788, allocations: 11.98 kB / 423.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.1793, allocations: 55.59 kB / 423.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/0.1793, allocations: 23.94 kB / 423.2 MB, free: 13.63 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.0003193/0.1796, allocations: 213.7 kB / 423.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.1798, allocations: 122.6 kB / 423.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.1811, allocations: 455.6 kB / 424 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.1811, allocations: 4 kB / 424 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1811, allocations: 3.938 kB / 424 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1811, allocations: 0 / 424 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006167/0.1818, allocations: 0.5673 MB / 424.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.638e-05/0.1818, allocations: 24.06 kB / 424.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.182, allocations: 43.89 kB / 424.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1821, allocations: 3.938 kB / 424.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.1821, allocations: 12 kB / 424.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1821, allocations: 0 / 424.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1821, allocations: 4 kB / 424.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000919/0.183, allocations: 442.6 kB / 425.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.1833, allocations: 211.5 kB / 425.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.1834, allocations: 12 kB / 425.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/0.1838, allocations: 27.95 kB / 425.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.184, allocations: 35.91 kB / 425.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.1841, allocations: 19.91 kB / 425.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001238/0.1853, allocations: 0.5922 MB / 426 MB, free: 10.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.32e-07/0.1853, allocations: 0 / 426 MB, free: 10.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007183/0.1861, allocations: 215.8 kB / 426.2 MB, free: 10.53 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.000828/0.1869, allocations: 492.1 kB / 426.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009622/0.1879, allocations: 346.6 kB / 427 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1879, allocations: 0 / 427 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004962/0.1884, allocations: 189.4 kB / 427.2 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/0.189, allocations: 144.8 kB / 427.3 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.1915, allocations: 1.443 MB / 428.8 MB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.192, allocations: 0.9643 MB / 429.7 MB, free: 6.883 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002992/0.1923, allocations: 102.1 kB / 429.8 MB, free: 6.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.887e-05/0.1924, allocations: 51.44 kB / 429.9 MB, free: 6.73 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1924, allocations: 0 / 429.9 MB, free: 6.73 MB / 366.1 MB Notification: Performance of Templates: time 0.02197/0.2144, allocations: 12.87 MB / 442.8 MB, free: 9.836 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1)