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.00105/0.00105, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001077/0.001077, allocations: 192.2 kB / 16.25 MB, free: 6.625 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.37/1.37, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.00155/0.001549, allocations: 51.92 kB / 278.2 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2082, allocations: 46.62 MB / 324.8 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005863/0.2141, allocations: 5.395 MB / 330.2 MB, free: 13.6 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01794/0.2321, allocations: 18.26 MB / 348.5 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000896/0.2331, allocations: 11.94 kB / 348.5 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.2352, allocations: 0.7425 MB / 349.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004673/0.2399, allocations: 1.333 MB / 350.6 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003761/0.2437, allocations: 1.102 MB / 351.7 MB, free: 9.164 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002604/0.2463, allocations: 1.772 MB / 353.5 MB, free: 7.383 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.2466, allocations: 169.9 kB / 353.6 MB, free: 7.211 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000456/0.2471, allocations: 326.5 kB / 353.9 MB, free: 6.891 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003817/0.2475, allocations: 361.8 kB / 354.3 MB, free: 6.535 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.759e-05/0.2476, allocations: 32 kB / 354.3 MB, free: 6.504 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003439/0.251, allocations: 1.116 MB / 355.4 MB, free: 5.387 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.2512, allocations: 119.2 kB / 355.6 MB, free: 5.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003998/0.2516, allocations: 429.3 kB / 356 MB, free: 4.848 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002227/0.2538, allocations: 1.596 MB / 357.6 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.2538, allocations: 3.984 kB / 357.6 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2538, allocations: 8 kB / 357.6 MB, free: 3.234 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.2539, allocations: 0 / 357.6 MB, free: 3.234 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.001979/0.2558, allocations: 1.386 MB / 359 MB, free: 1.789 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2559, allocations: 11.89 kB / 359 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.2561, allocations: 118.6 kB / 359.1 MB, free: 1.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009614/0.257, allocations: 0.7899 MB / 359.9 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.2571, allocations: 12.56 kB / 359.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.518e-05/0.2571, allocations: 35.84 kB / 359.9 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007199/0.2579, allocations: 340.7 kB / 360.3 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2579, allocations: 0 / 360.3 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.2579, allocations: 8 kB / 360.3 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.258, allocations: 15.92 kB / 360.3 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008199/0.2588, allocations: 350 kB / 360.6 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.2605, allocations: 1.234 MB / 361.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007707/0.2613, allocations: 262.6 kB / 362.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004849/0.2618, allocations: 232.9 kB / 362.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007111/0.2689, allocations: 7.779 MB / 370.1 MB, free: 5.434 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005316/0.2695, allocations: 211 kB / 370.3 MB, free: 5.215 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 3.336e-06/0.2695, allocations: 0 / 370.3 MB, free: 5.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.001398/0.2709, allocations: 492.2 kB / 370.8 MB, free: 4.727 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.271, allocations: 59.39 kB / 370.9 MB, free: 4.656 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009519/0.2719, allocations: 0.8866 MB / 371.8 MB, free: 3.758 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.272, allocations: 29.7 kB / 371.8 MB, free: 3.723 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.2723, allocations: 460.4 kB / 372.2 MB, free: 3.266 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.2724, allocations: 79.11 kB / 372.3 MB, free: 3.188 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.2725, allocations: 85.53 kB / 372.4 MB, free: 3.098 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.563e-05/0.2726, allocations: 318 kB / 372.7 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.273, allocations: 115.9 kB / 372.8 MB, free: 2.668 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004533/0.2735, allocations: 261.9 kB / 373.1 MB, free: 2.348 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007933/0.2743, allocations: 397.4 kB / 373.5 MB, free: 1.895 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2743, allocations: 0 / 373.5 MB, free: 1.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001056/0.2753, allocations: 0.4926 MB / 374 MB, free: 1.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.2754, allocations: 7.938 kB / 374 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.219e-05/0.2754, allocations: 28 kB / 374 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.2755, allocations: 4 kB / 374 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.2758, allocations: 79.88 kB / 374.1 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.2758, allocations: 15.92 kB / 374.1 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.2762, allocations: 47.72 kB / 374.1 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.2763, allocations: 28.06 kB / 374.2 MB, free: 1.188 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 (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.0003166/0.2766, allocations: 201.7 kB / 374.4 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.2768, allocations: 118.6 kB / 374.5 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.2781, allocations: 475.4 kB / 375 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.2781, allocations: 4 kB / 375 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2781, allocations: 0 / 375 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2781, allocations: 0 / 375 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006806/0.2788, allocations: 0.5827 MB / 375.5 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.664e-05/0.2788, allocations: 20 kB / 375.6 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.2791, allocations: 43.95 kB / 375.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.2791, allocations: 7.875 kB / 375.6 MB, free: 15.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.2791, allocations: 8 kB / 375.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.2791, allocations: 0 / 375.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.2792, allocations: 8.062 kB / 375.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009311/0.2801, allocations: 442.6 kB / 376.1 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/0.2804, allocations: 195.7 kB / 376.2 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.2805, allocations: 12 kB / 376.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.2808, allocations: 27.95 kB / 376.3 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.2809, allocations: 31.91 kB / 376.3 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.2809, allocations: 15.98 kB / 376.3 MB, free: 14.9 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007127/0.2816, allocations: 0.5961 MB / 376.9 MB, free: 14.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2817, allocations: 0 / 376.9 MB, free: 14.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006871/0.2823, allocations: 219.8 kB / 377.1 MB, free: 14.09 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.000775/0.2831, allocations: 491.6 kB / 377.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009152/0.2841, allocations: 354 kB / 378 MB, free: 13.24 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2841, allocations: 0 / 378 MB, free: 13.24 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004459/0.2845, allocations: 186.2 kB / 378.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.2851, allocations: 140.5 kB / 378.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.2876, allocations: 1.722 MB / 380 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/0.2881, allocations: 0.9601 MB / 381 MB, free: 10.17 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003527/0.2885, allocations: 106 kB / 381.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.29e-05/0.2886, allocations: 55.44 kB / 381.1 MB, free: 10.01 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2886, allocations: 0 / 381.1 MB, free: 10.01 MB / 318.1 MB Notification: Performance of Templates: time 0.01974/0.3083, allocations: 12.68 MB / 393.8 MB, free: 13.32 MB / 334.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)