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.005793/0.005793, allocations: 104.4 kB / 15.73 MB, free: 6.027 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.001215/0.001216, allocations: 188.5 kB / 16.67 MB, free: 5.957 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.346/1.346, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.001174/0.001174, allocations: 49.61 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09345/0.09464, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005594/0.1003, allocations: 5.391 MB / 378.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01844/0.1187, allocations: 18.49 MB / 397 MB, free: 9.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.12, allocations: 27.81 kB / 397.1 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002721/0.1227, allocations: 0.7948 MB / 397.9 MB, free: 8.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005109/0.1278, allocations: 1.576 MB / 399.4 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003685/0.1315, allocations: 1.248 MB / 400.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002865/0.1344, allocations: 1.761 MB / 402.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003158/0.1347, allocations: 177.2 kB / 402.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003598/0.1351, allocations: 326.5 kB / 402.9 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003931/0.1355, allocations: 361.8 kB / 403.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.074e-05/0.1356, allocations: 32 kB / 403.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002864/0.1385, allocations: 1.113 MB / 404.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.1386, allocations: 123.2 kB / 404.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.139, allocations: 437.3 kB / 405 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002536/0.1415, allocations: 1.623 MB / 406.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.1416, allocations: 4 kB / 406.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1416, allocations: 0 / 406.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.1416, 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.002284/0.1439, allocations: 1.436 MB / 408 MB, free: 14.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.144, allocations: 15.83 kB / 408.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.1442, allocations: 123.2 kB / 408.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.1453, allocations: 0.7833 MB / 409 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.1453, allocations: 20.56 kB / 409 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/0.1454, allocations: 31.88 kB / 409 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007788/0.1462, allocations: 336.7 kB / 409.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1462, allocations: 0 / 409.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.1462, allocations: 12 kB / 409.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.1463, allocations: 8 kB / 409.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008863/0.1472, allocations: 346 kB / 409.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.1491, allocations: 1.238 MB / 410.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008206/0.15, allocations: 262.6 kB / 411.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000503/0.1505, allocations: 233 kB / 411.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007923/0.1584, allocations: 7.794 MB / 419.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005406/0.159, allocations: 203.1 kB / 419.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 3.196e-06/0.159, allocations: 0 / 419.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001373/0.1604, allocations: 0.4888 MB / 419.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.1604, allocations: 67.39 kB / 420 MB, free: 1.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.1614, allocations: 0.8828 MB / 420.9 MB, free: 168 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.1615, allocations: 25.7 kB / 420.9 MB, free: 136 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.1619, allocations: 468.8 kB / 421.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.1619, allocations: 67.56 kB / 421.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.1621, allocations: 81.61 kB / 421.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1622, allocations: 322 kB / 421.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.1626, allocations: 119.9 kB / 421.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.163, allocations: 265.8 kB / 422.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008057/0.1638, allocations: 385.6 kB / 422.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1638, allocations: 4 kB / 422.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00105/0.1649, allocations: 0.5004 MB / 423.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.1649, allocations: 7.938 kB / 423.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.59e-05/0.165, allocations: 24 kB / 423.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.165, allocations: 4 kB / 423.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.1654, allocations: 92.38 kB / 423.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.1654, allocations: 11.98 kB / 423.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/0.1658, allocations: 51.69 kB / 423.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/0.1658, allocations: 24 kB / 423.3 MB, free: 13.59 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.0002625/0.1661, allocations: 213.6 kB / 423.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.1662, allocations: 131.2 kB / 423.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.1674, allocations: 467.6 kB / 424.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1674, allocations: 4 kB / 424.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1674, allocations: 0 / 424.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1674, allocations: 0 / 424.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006424/0.1681, allocations: 0.5711 MB / 424.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.709e-05/0.1681, allocations: 24 kB / 424.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.1684, allocations: 44.02 kB / 424.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1684, allocations: 3.938 kB / 424.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.1684, allocations: 12 kB / 424.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1684, allocations: 3.938 kB / 424.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1684, allocations: 4 kB / 424.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000917/0.1693, allocations: 443.2 kB / 425.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.1696, allocations: 200.3 kB / 425.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.552e-05/0.1697, allocations: 12 kB / 425.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.17, allocations: 31.95 kB / 425.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.324e-05/0.1701, allocations: 35.84 kB / 425.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.1701, allocations: 16 kB / 425.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006208/0.1708, allocations: 0.5961 MB / 426 MB, free: 10.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1708, allocations: 3.938 kB / 426 MB, free: 10.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006403/0.1714, allocations: 223.6 kB / 426.3 MB, free: 10.46 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.0006819/0.1721, allocations: 487.8 kB / 426.7 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008976/0.173, allocations: 354.5 kB / 427.1 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.173, allocations: 0 / 427.1 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000443/0.1735, allocations: 181.5 kB / 427.3 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/0.1741, allocations: 144.8 kB / 427.4 MB, free: 9.293 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.1762, allocations: 1.48 MB / 428.9 MB, free: 7.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.1767, allocations: 0.9564 MB / 429.8 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000294/0.177, allocations: 102.1 kB / 429.9 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.1771, allocations: 51.44 kB / 430 MB, free: 6.637 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1771, allocations: 0 / 430 MB, free: 6.637 MB / 366.1 MB Notification: Performance of Templates: time 0.02055/0.1977, allocations: 12.87 MB / 442.9 MB, free: 9.742 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)