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.004877/0.004877, allocations: 100.4 kB / 15.73 MB, free: 6.043 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.001164/0.001165, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.338/1.338, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001145/0.001145, allocations: 46.56 kB / 326.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1039, allocations: 46.63 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006467/0.1104, allocations: 5.391 MB / 378.6 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02076/0.1312, allocations: 18.5 MB / 397.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.1325, allocations: 27.81 kB / 397.1 MB, free: 9.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002732/0.1352, allocations: 0.8104 MB / 397.9 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005852/0.1411, allocations: 1.573 MB / 399.5 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004879/0.146, allocations: 1.256 MB / 400.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003126/0.1491, allocations: 1.761 MB / 402.5 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00029/0.1494, allocations: 173.2 kB / 402.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004089/0.1499, allocations: 330.5 kB / 403 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003971/0.1503, allocations: 365.8 kB / 403.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.627e-05/0.1503, allocations: 32 kB / 403.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.1538, allocations: 1.113 MB / 404.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.1539, allocations: 119.2 kB / 404.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004779/0.1544, allocations: 441.2 kB / 405 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.1568, allocations: 1.616 MB / 406.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1569, allocations: 0 / 406.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1569, allocations: 0 / 406.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.1569, allocations: 0 / 406.6 MB, free: 15.7 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.00223/0.1591, allocations: 1.386 MB / 408 MB, free: 14.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.1592, allocations: 11.89 kB / 408 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.1594, allocations: 122.6 kB / 408.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.1604, allocations: 0.7744 MB / 408.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.1604, allocations: 24.56 kB / 409 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.1605, allocations: 31.88 kB / 409 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007991/0.1613, allocations: 328.7 kB / 409.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1613, allocations: 0 / 409.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.676e-05/0.1614, allocations: 15.98 kB / 409.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.1614, allocations: 4 kB / 409.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008865/0.1623, allocations: 350 kB / 409.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.1642, allocations: 1.245 MB / 410.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009659/0.1652, allocations: 262.6 kB / 411.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000705/0.1659, allocations: 229 kB / 411.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/0.1763, allocations: 7.794 MB / 419.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007603/0.1771, allocations: 211.3 kB / 419.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 3.566e-06/0.1772, allocations: 0 / 419.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.00199/0.1792, allocations: 488 kB / 419.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/0.1793, allocations: 63.34 kB / 419.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.1807, allocations: 0.8867 MB / 420.8 MB, free: 228 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.1808, allocations: 29.7 kB / 420.8 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005061/0.1813, allocations: 472.2 kB / 421.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.358e-05/0.1814, allocations: 51.36 kB / 421.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.1816, allocations: 85.5 kB / 421.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1817, allocations: 322 kB / 421.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005073/0.1823, allocations: 119.9 kB / 421.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006267/0.1829, allocations: 257.9 kB / 422.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.184, allocations: 389.5 kB / 422.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.184, allocations: 0 / 422.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001521/0.1856, allocations: 0.5114 MB / 423 MB, free: 13.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.1856, allocations: 7.938 kB / 423 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.604e-05/0.1857, allocations: 24 kB / 423 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.1857, allocations: 4 kB / 423.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.1862, allocations: 88.44 kB / 423.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-05/0.1862, allocations: 11.94 kB / 423.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006659/0.1869, allocations: 55.58 kB / 423.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.197e-05/0.187, allocations: 24 kB / 423.2 MB, free: 13.65 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.000402/0.1874, allocations: 213.6 kB / 423.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.1876, allocations: 114.6 kB / 423.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.1889, allocations: 459.8 kB / 424 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.1889, allocations: 4 kB / 424 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.189, allocations: 0 / 424 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.189, allocations: 7.922 kB / 424 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006114/0.1896, allocations: 0.5672 MB / 424.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-05/0.1896, allocations: 20 kB / 424.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.1899, allocations: 44.02 kB / 424.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.1899, allocations: 3.938 kB / 424.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.19, allocations: 15.98 kB / 424.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.19, allocations: 0 / 424.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.19, allocations: 7.938 kB / 424.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.191, allocations: 438.6 kB / 425.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.1914, allocations: 203.6 kB / 425.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.1915, allocations: 4 kB / 425.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.1919, allocations: 27.97 kB / 425.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.1921, allocations: 43.83 kB / 425.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.1922, allocations: 16 kB / 425.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001017/0.1932, allocations: 0.5961 MB / 426 MB, free: 10.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1932, allocations: 0 / 426 MB, free: 10.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001003/0.1942, allocations: 215.8 kB / 426.2 MB, free: 10.55 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.0009565/0.1952, allocations: 488 kB / 426.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.1965, allocations: 346.5 kB / 427 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1965, allocations: 4.125 kB / 427 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006543/0.1972, allocations: 189.4 kB / 427.2 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000873/0.1981, allocations: 148.6 kB / 427.3 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.2014, allocations: 1.439 MB / 428.8 MB, free: 7.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007781/0.2022, allocations: 0.9643 MB / 429.7 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004256/0.2026, allocations: 98.06 kB / 429.8 MB, free: 6.812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.2028, allocations: 55.44 kB / 429.9 MB, free: 6.758 MB / 366.1 MB Notification: Performance of SimCode: time 1.383e-06/0.2028, allocations: 0 / 429.9 MB, free: 6.758 MB / 366.1 MB Notification: Performance of Templates: time 0.02753/0.2303, allocations: 12.86 MB / 442.8 MB, free: 9.875 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)