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.001227/0.001228, allocations: 93.61 kB / 16.3 MB, free: 6.133 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.001317/0.001318, allocations: 179.3 kB / 17.2 MB, free: 6.016 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.539/1.539, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004335/0.0004335, allocations: 8 kB / 280.1 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1099, allocations: 47.58 MB / 327.7 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005475/0.1154, allocations: 4.372 MB / 332.1 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01746/0.1329, allocations: 15.64 MB / 347.7 MB, free: 40 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009264/0.1339, allocations: 11.94 kB / 347.7 MB, free: 28 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002393/0.1363, allocations: 0.7353 MB / 348.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004891/0.1412, allocations: 1.34 MB / 349.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004309/0.1455, allocations: 1.055 MB / 350.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003457/0.149, allocations: 1.643 MB / 352.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003445/0.1494, allocations: 151.7 kB / 352.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005235/0.1499, allocations: 270.7 kB / 352.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.1503, allocations: 318.2 kB / 353.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.439e-05/0.1504, allocations: 20 kB / 353.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004219/0.1546, allocations: 1.187 MB / 354.4 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.1548, allocations: 99.36 kB / 354.5 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.155, allocations: 209.1 kB / 354.7 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.1563, allocations: 1.072 MB / 355.8 MB, free: 7.914 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1563, allocations: 0 / 355.8 MB, free: 7.914 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1563, allocations: 0 / 355.8 MB, free: 7.914 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1563, allocations: 0 / 355.8 MB, free: 7.914 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.002041/0.1584, allocations: 1.289 MB / 357.1 MB, free: 6.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.1584, allocations: 8.031 kB / 357.1 MB, free: 6.562 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.1586, allocations: 118.5 kB / 357.2 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.1597, allocations: 0.7287 MB / 357.9 MB, free: 5.664 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.1597, allocations: 24.56 kB / 358 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.1598, allocations: 27.91 kB / 358 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000748/0.1606, allocations: 356.6 kB / 358.3 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1606, allocations: 0 / 358.3 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.1606, allocations: 12 kB / 358.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.1606, allocations: 4 kB / 358.3 MB, free: 5.242 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008758/0.1615, allocations: 386 kB / 358.7 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.1636, allocations: 1.242 MB / 360 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008916/0.1645, allocations: 314.7 kB / 360.3 MB, free: 3.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00798/0.1725, allocations: 7.81 MB / 368.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005478/0.1731, allocations: 235.1 kB / 368.3 MB, free: 10.13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 3.356e-06/0.1731, allocations: 0 / 368.3 MB, free: 10.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001362/0.1745, allocations: 0.6221 MB / 368.9 MB, free: 9.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.1745, allocations: 59.34 kB / 369 MB, free: 9.414 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.1755, allocations: 0.8788 MB / 369.9 MB, free: 8.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.1756, allocations: 33.69 kB / 369.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.1759, allocations: 464.3 kB / 370.4 MB, free: 8.023 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.176, allocations: 55.25 kB / 370.4 MB, free: 7.969 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-05/0.176, allocations: 12 kB / 370.4 MB, free: 7.957 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1762, allocations: 322 kB / 370.7 MB, free: 7.637 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000371/0.1765, allocations: 135.9 kB / 370.9 MB, free: 7.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.177, allocations: 285.8 kB / 371.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.1774, allocations: 163.9 kB / 371.3 MB, free: 7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1774, allocations: 4 kB / 371.3 MB, free: 6.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001006/0.1784, allocations: 0.535 MB / 371.8 MB, free: 6.453 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1785, allocations: 11.94 kB / 371.9 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.805e-05/0.1785, allocations: 20 kB / 371.9 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1785, allocations: 12.5 kB / 371.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.1789, allocations: 95.88 kB / 372 MB, free: 6.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.1789, allocations: 15.92 kB / 372 MB, free: 6.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.1793, allocations: 67.56 kB / 372.1 MB, free: 6.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.803e-05/0.1794, allocations: 24 kB / 372.1 MB, free: 6.211 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 ($PRE.VDS.counter,VDS.counter,$PRE.VGS.counter,VGS.counter,$whenCondition2,$whenCondition1,$PRE.VDS.T0,VDS.T0,$PRE.VDS.counter2,VDS.counter2,$PRE.VGS.T0,VGS.T0,$PRE.VGS.counter2,VGS.counter2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002763/0.1796, allocations: 209.7 kB / 372.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.1798, allocations: 110.6 kB / 372.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.1811, allocations: 0.5112 MB / 372.9 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.1811, allocations: 7.984 kB / 372.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1811, allocations: 4 kB / 372.9 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1811, allocations: 3.953 kB / 372.9 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005859/0.1817, allocations: 0.5634 MB / 373.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-05/0.1817, allocations: 16 kB / 373.5 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.182, allocations: 63.95 kB / 373.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.182, allocations: 0 / 373.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.182, allocations: 8 kB / 373.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.182, allocations: 4 kB / 373.6 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.182, allocations: 3.984 kB / 373.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009454/0.183, allocations: 0.5009 MB / 374.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.1832, allocations: 203.6 kB / 374.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.265e-05/0.1833, allocations: 4 kB / 374.3 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.1836, allocations: 39.97 kB / 374.3 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.1837, allocations: 31.95 kB / 374.4 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.1838, allocations: 15.98 kB / 374.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006595/0.1845, allocations: 0.5805 MB / 375 MB, free: 3.207 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1845, allocations: 0 / 375 MB, free: 3.207 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006296/0.1851, allocations: 215.8 kB / 375.2 MB, free: 2.996 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006171/0.1857, allocations: 476 kB / 375.6 MB, free: 2.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009243/0.1867, allocations: 394.3 kB / 376 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1867, allocations: 4 kB / 376 MB, free: 2.125 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004536/0.1871, allocations: 204.6 kB / 376.2 MB, free: 1.922 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.1876, allocations: 136.4 kB / 376.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.1899, allocations: 1.674 MB / 378 MB, free: 84 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1771/0.367, allocations: 0.9777 MB / 379 MB, free: 54.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005167/0.3675, allocations: 100.5 kB / 379.1 MB, free: 54.38 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.3676, allocations: 47.31 kB / 379.1 MB, free: 54.38 MB / 318.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3677, allocations: 0 / 379.1 MB, free: 54.38 MB / 318.1 MB Notification: Performance of Templates: time 0.02161/0.3893, allocations: 11.69 MB / 390.8 MB, free: 50.66 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: