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.001102/0.001102, allocations: 100.5 kB / 16.62 MB, free: 6.812 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.001195/0.001195, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.412/1.412, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.001319/0.001319, allocations: 48.41 kB / 279.5 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1252, allocations: 46.62 MB / 326.1 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.008489/0.1337, allocations: 5.417 MB / 331.5 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0264/0.1602, allocations: 18.24 MB / 349.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007755/0.1611, allocations: 11.94 kB / 349.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.1633, allocations: 0.7375 MB / 350.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005799/0.1691, allocations: 1.337 MB / 351.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004569/0.1737, allocations: 1.102 MB / 353 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003097/0.1768, allocations: 1.769 MB / 354.7 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.1771, allocations: 181 kB / 354.9 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003855/0.1775, allocations: 322.5 kB / 355.2 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.1779, allocations: 353.9 kB / 355.6 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.337e-05/0.1779, allocations: 36 kB / 355.6 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.181, allocations: 1.116 MB / 356.7 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.1812, allocations: 115.3 kB / 356.8 MB, free: 5.949 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003532/0.1815, allocations: 441.3 kB / 357.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.1837, allocations: 1.596 MB / 358.9 MB, free: 3.914 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1838, allocations: 0 / 358.9 MB, free: 3.914 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1838, allocations: 0 / 358.9 MB, free: 3.914 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.1838, allocations: 0 / 358.9 MB, free: 3.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.002233/0.186, allocations: 1.386 MB / 360.3 MB, free: 2.469 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1861, allocations: 15.89 kB / 360.3 MB, free: 2.453 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.1862, allocations: 114.6 kB / 360.4 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.1873, allocations: 0.7937 MB / 361.2 MB, free: 1.492 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.1873, allocations: 28.53 kB / 361.2 MB, free: 1.465 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-05/0.1874, allocations: 19.94 kB / 361.2 MB, free: 1.445 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000709/0.1881, allocations: 336.7 kB / 361.6 MB, free: 1.109 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.1881, allocations: 0 / 361.6 MB, free: 1.109 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.1882, allocations: 15.94 kB / 361.6 MB, free: 1.094 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.1882, allocations: 11.98 kB / 361.6 MB, free: 1.082 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008246/0.189, allocations: 338 kB / 361.9 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.1909, allocations: 1.238 MB / 363.2 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007758/0.1917, allocations: 262.6 kB / 363.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004814/0.1922, allocations: 233 kB / 363.6 MB, free: 14.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00799/0.2002, allocations: 7.782 MB / 371.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005625/0.2008, allocations: 215 kB / 371.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.895e-06/0.2008, allocations: 0 / 371.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001347/0.2022, allocations: 484.2 kB / 372.1 MB, free: 5.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.2022, allocations: 67.33 kB / 372.2 MB, free: 5.332 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009703/0.2032, allocations: 0.8867 MB / 373.1 MB, free: 4.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.2032, allocations: 33.7 kB / 373.1 MB, free: 4.395 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.2036, allocations: 460.3 kB / 373.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.2037, allocations: 63.14 kB / 373.6 MB, free: 3.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.2038, allocations: 89.5 kB / 373.7 MB, free: 3.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2039, allocations: 318 kB / 374 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.2043, allocations: 127.9 kB / 374.1 MB, free: 3.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/0.2048, allocations: 257.9 kB / 374.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007797/0.2056, allocations: 393.5 kB / 374.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.2056, allocations: 4 kB / 374.8 MB, free: 2.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001029/0.2066, allocations: 0.4922 MB / 375.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.2066, allocations: 15.06 kB / 375.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.454e-05/0.2067, allocations: 23.98 kB / 375.3 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.2067, allocations: 8 kB / 375.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.2071, allocations: 88.28 kB / 375.4 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.2071, allocations: 8 kB / 375.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.2075, allocations: 51.66 kB / 375.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/0.2076, allocations: 24 kB / 375.5 MB, free: 1.859 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.0002568/0.2078, allocations: 209.7 kB / 375.7 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.2079, allocations: 118.5 kB / 375.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.2092, allocations: 471.5 kB / 376.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.2092, allocations: 0 / 376.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2092, allocations: 0 / 376.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2092, allocations: 7.984 kB / 376.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005648/0.2098, allocations: 0.5711 MB / 376.8 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.518e-05/0.2098, allocations: 20 kB / 376.8 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.2101, allocations: 39.95 kB / 376.9 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.299e-06/0.2101, allocations: 12 kB / 376.9 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.2101, allocations: 15.98 kB / 376.9 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2102, allocations: 0 / 376.9 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2102, allocations: 3.938 kB / 376.9 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1706/0.3808, allocations: 434.2 kB / 377.3 MB, free: 56.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.3812, allocations: 198.7 kB / 377.5 MB, free: 56.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.3813, allocations: 6.531 kB / 377.5 MB, free: 56.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.3816, allocations: 26.91 kB / 377.6 MB, free: 56.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.3817, allocations: 38.22 kB / 377.6 MB, free: 56.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.3818, allocations: 12.64 kB / 377.6 MB, free: 56.55 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008173/0.3826, allocations: 0.5931 MB / 378.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3826, allocations: 0 / 378.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007403/0.3834, allocations: 221.3 kB / 378.4 MB, free: 56.44 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.0008437/0.3842, allocations: 491.7 kB / 378.9 MB, free: 56.35 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.3854, allocations: 362.7 kB / 379.3 MB, free: 56.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3854, allocations: 0 / 379.3 MB, free: 56.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004558/0.3859, allocations: 177.8 kB / 379.4 MB, free: 56.28 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006258/0.3865, allocations: 143.7 kB / 379.6 MB, free: 56.28 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.389, allocations: 1.72 MB / 381.3 MB, free: 55.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005987/0.3896, allocations: 0.9608 MB / 382.3 MB, free: 54.71 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005592/0.3902, allocations: 101.6 kB / 382.4 MB, free: 54.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.3903, allocations: 52.56 kB / 382.4 MB, free: 54.7 MB / 318.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3904, allocations: 4.688 kB / 382.4 MB, free: 54.7 MB / 318.1 MB Notification: Performance of Templates: time 0.03447/0.4248, allocations: 12.69 MB / 395.1 MB, free: 49.46 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)