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.001107/0.001106, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001324/0.001324, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0004518/0.0004518, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2742, allocations: 47.58 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005393/0.2797, allocations: 4.706 MB / 331.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.02105/0.3007, allocations: 16.73 MB / 347.9 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.3024, allocations: 15.88 kB / 347.9 MB, free: 13.99 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002531/0.3049, allocations: 0.7121 MB / 348.6 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005568/0.3105, allocations: 1.208 MB / 349.8 MB, free: 12.06 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003777/0.3143, allocations: 0.9677 MB / 350.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003121/0.3174, allocations: 1.637 MB / 352.4 MB, free: 9.449 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.3177, allocations: 151.8 kB / 352.6 MB, free: 9.289 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003809/0.3181, allocations: 270.7 kB / 352.9 MB, free: 9.023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003663/0.3185, allocations: 334.1 kB / 353.2 MB, free: 8.695 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/0.3186, allocations: 16 kB / 353.2 MB, free: 8.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/0.322, allocations: 1.05 MB / 354.3 MB, free: 7.629 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.3221, allocations: 103.3 kB / 354.4 MB, free: 7.527 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.3223, allocations: 201.1 kB / 354.5 MB, free: 7.324 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.3237, allocations: 1.126 MB / 355.7 MB, free: 6.195 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3237, allocations: 0 / 355.7 MB, free: 6.195 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3237, allocations: 0 / 355.7 MB, free: 6.195 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.3237, allocations: 4 kB / 355.7 MB, free: 6.191 MB / 286.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.002006/0.3257, allocations: 1.266 MB / 356.9 MB, free: 4.871 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3258, allocations: 12.03 kB / 357 MB, free: 4.859 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.3259, allocations: 118.6 kB / 357.1 MB, free: 4.742 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.327, allocations: 0.7442 MB / 357.8 MB, free: 3.945 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.327, allocations: 12.56 kB / 357.8 MB, free: 3.934 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.3271, allocations: 24 kB / 357.9 MB, free: 3.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007089/0.3278, allocations: 360.7 kB / 358.2 MB, free: 3.551 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3278, allocations: 0 / 358.2 MB, free: 3.551 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.3279, allocations: 11.98 kB / 358.2 MB, free: 3.539 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.3279, allocations: 8 kB / 358.2 MB, free: 3.531 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009133/0.3288, allocations: 386 kB / 358.6 MB, free: 3.152 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.3307, allocations: 1.261 MB / 359.9 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/0.3315, allocations: 314.7 kB / 360.2 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005082/0.332, allocations: 249 kB / 360.4 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00815/0.3401, allocations: 7.779 MB / 368.2 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005589/0.3407, allocations: 227.1 kB / 368.4 MB, free: 8.191 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.524e-06/0.3407, allocations: 0 / 368.4 MB, free: 8.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.001287/0.342, allocations: 0.543 MB / 369 MB, free: 7.641 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.3421, allocations: 63.39 kB / 369 MB, free: 7.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.3432, allocations: 0.8788 MB / 369.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.3432, allocations: 29.7 kB / 369.9 MB, free: 6.641 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004316/0.3437, allocations: 464.3 kB / 370.4 MB, free: 6.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.3438, allocations: 63.23 kB / 370.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.3438, allocations: 8 kB / 370.4 MB, free: 6.109 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.344, allocations: 318 kB / 370.8 MB, free: 5.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.3444, allocations: 139.9 kB / 370.9 MB, free: 5.656 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/0.3449, allocations: 293.7 kB / 371.2 MB, free: 5.305 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.3453, allocations: 167.9 kB / 371.3 MB, free: 5.141 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3453, allocations: 4 kB / 371.3 MB, free: 5.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001016/0.3463, allocations: 0.5354 MB / 371.9 MB, free: 4.594 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.3463, allocations: 8 kB / 371.9 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.77e-05/0.3464, allocations: 20 kB / 371.9 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.3465, allocations: 8 kB / 371.9 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.3468, allocations: 100 kB / 372 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.3468, allocations: 15.97 kB / 372 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.3472, allocations: 63.56 kB / 372.1 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/0.3473, allocations: 28 kB / 372.1 MB, free: 4.355 MB / 302.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.0003094/0.3476, allocations: 213.7 kB / 372.3 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.3477, allocations: 110.6 kB / 372.4 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.349, allocations: 0.4989 MB / 372.9 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.349, allocations: 4 kB / 372.9 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.349, allocations: 3.953 kB / 372.9 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.349, allocations: 0 / 372.9 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006847/0.3497, allocations: 0.5672 MB / 373.5 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.041e-05/0.3497, allocations: 23.98 kB / 373.5 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.35, allocations: 51.95 kB / 373.6 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.35, allocations: 4.062 kB / 373.6 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.35, allocations: 12 kB / 373.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.35, allocations: 4 kB / 373.6 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.35, allocations: 3.938 kB / 373.6 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.3511, allocations: 482.6 kB / 374.1 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.3513, allocations: 199.7 kB / 374.3 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/0.3514, allocations: 8 kB / 374.3 MB, free: 2.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.3517, allocations: 43.91 kB / 374.3 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.3518, allocations: 31.95 kB / 374.4 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.3518, allocations: 12 kB / 374.4 MB, free: 1.984 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006442/0.3525, allocations: 0.5844 MB / 375 MB, free: 1.395 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3525, allocations: 0 / 375 MB, free: 1.395 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006215/0.3531, allocations: 227.8 kB / 375.2 MB, free: 1.172 MB / 302.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.0006876/0.3538, allocations: 475.9 kB / 375.6 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009698/0.3548, allocations: 390.4 kB / 376 MB, free: 316 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.3548, allocations: 0 / 376 MB, free: 316 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004355/0.3552, allocations: 205.7 kB / 376.2 MB, free: 104 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.3559, allocations: 152.5 kB / 376.4 MB, free: 15.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.3587, allocations: 1.659 MB / 378 MB, free: 14.26 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006629/0.3594, allocations: 0.9605 MB / 379 MB, free: 13.27 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003431/0.3597, allocations: 102 kB / 379.1 MB, free: 13.17 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.345e-05/0.3599, allocations: 51.44 kB / 379.1 MB, free: 13.12 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3599, allocations: 0 / 379.1 MB, free: 13.12 MB / 318.1 MB Notification: Performance of Templates: time 0.02021/0.3801, allocations: 11.87 MB / 391 MB, free: 1.242 MB / 318.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)