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.0008373/0.0008374, allocations: 86.14 kB / 16.31 MB, free: 6.449 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.0008995/0.0008996, allocations: 178.2 kB / 17.21 MB, free: 6.32 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.667/1.667, allocations: 205.4 MB / 223.4 MB, free: 5.812 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.0009277/0.0009279, allocations: 15.98 kB / 280.1 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3134, allocations: 47.58 MB / 327.7 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.004856/0.3183, allocations: 4.702 MB / 332.4 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01906/0.3374, allocations: 16.75 MB / 349.2 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.3386, allocations: 11.94 kB / 349.2 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002825/0.3414, allocations: 0.7004 MB / 349.9 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005647/0.3471, allocations: 1.212 MB / 351.1 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004193/0.3513, allocations: 0.9638 MB / 352.1 MB, free: 11.14 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003482/0.3548, allocations: 1.649 MB / 353.7 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003194/0.3552, allocations: 143.8 kB / 353.9 MB, free: 9.332 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004344/0.3556, allocations: 274.7 kB / 354.1 MB, free: 9.062 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.356, allocations: 330.1 kB / 354.4 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.342e-05/0.3561, allocations: 19.94 kB / 354.5 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003998/0.3601, allocations: 1.046 MB / 355.5 MB, free: 7.672 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.3602, allocations: 99.3 kB / 355.6 MB, free: 7.574 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.3605, allocations: 205.1 kB / 355.8 MB, free: 7.367 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.3619, allocations: 1.122 MB / 356.9 MB, free: 6.242 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3619, allocations: 0 / 356.9 MB, free: 6.242 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.362, allocations: 0 / 356.9 MB, free: 6.242 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.362, allocations: 0 / 356.9 MB, free: 6.242 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.0021/0.3641, allocations: 1.27 MB / 358.2 MB, free: 4.918 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3641, allocations: 12.03 kB / 358.2 MB, free: 4.906 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.3643, allocations: 118.6 kB / 358.3 MB, free: 4.789 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.3653, allocations: 0.7481 MB / 359.1 MB, free: 3.988 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.3654, allocations: 20.56 kB / 359.1 MB, free: 3.969 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/0.3654, allocations: 23.98 kB / 359.1 MB, free: 3.945 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007926/0.3662, allocations: 356.7 kB / 359.5 MB, free: 3.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3663, allocations: 0 / 359.5 MB, free: 3.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.3663, allocations: 12 kB / 359.5 MB, free: 3.578 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.3663, allocations: 4 kB / 359.5 MB, free: 3.574 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008954/0.3672, allocations: 386 kB / 359.9 MB, free: 3.195 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.3691, allocations: 1.261 MB / 361.1 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008103/0.37, allocations: 318.7 kB / 361.4 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005297/0.3705, allocations: 253 kB / 361.7 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008491/0.379, allocations: 7.775 MB / 369.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005416/0.3796, allocations: 231 kB / 369.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.966e-06/0.3796, allocations: 4 kB / 369.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.001343/0.381, allocations: 0.5352 MB / 370.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.381, allocations: 63.34 kB / 370.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.3821, allocations: 0.8789 MB / 371.2 MB, free: 6.715 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.3821, allocations: 33.7 kB / 371.2 MB, free: 6.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/0.3826, allocations: 468.3 kB / 371.6 MB, free: 6.211 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.919e-05/0.3826, allocations: 55.25 kB / 371.7 MB, free: 6.156 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.3827, allocations: 4 kB / 371.7 MB, free: 6.152 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3828, allocations: 322 kB / 372 MB, free: 5.832 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.3832, allocations: 139.9 kB / 372.2 MB, free: 5.695 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/0.3837, allocations: 285.8 kB / 372.4 MB, free: 5.352 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/0.3841, allocations: 171.9 kB / 372.6 MB, free: 5.184 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3841, allocations: 0 / 372.6 MB, free: 5.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001013/0.3851, allocations: 0.5393 MB / 373.1 MB, free: 4.637 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3852, allocations: 4 kB / 373.1 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.102e-05/0.3852, allocations: 24 kB / 373.2 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.3852, allocations: 4 kB / 373.2 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.3856, allocations: 104 kB / 373.3 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.3856, allocations: 11.94 kB / 373.3 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.386, allocations: 67.56 kB / 373.4 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/0.386, allocations: 20 kB / 373.4 MB, free: 4.406 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.0002896/0.3863, allocations: 221.6 kB / 373.6 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3864, allocations: 114.6 kB / 373.7 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.3877, allocations: 0.4918 MB / 374.2 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3877, allocations: 0 / 374.2 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3878, allocations: 3.953 kB / 374.2 MB, free: 3.562 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.3878, allocations: 3.984 kB / 374.2 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006312/0.3884, allocations: 0.575 MB / 374.8 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.807e-05/0.3884, allocations: 16 kB / 374.8 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.3887, allocations: 51.95 kB / 374.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.3887, allocations: 4.062 kB / 374.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.3887, allocations: 12 kB / 374.9 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3888, allocations: 3.984 kB / 374.9 MB, free: 2.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.3888, allocations: 7.938 kB / 374.9 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009391/0.3897, allocations: 478.7 kB / 375.3 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002422/0.39, allocations: 195.7 kB / 375.5 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.901e-05/0.3901, allocations: 11.98 kB / 375.5 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.3904, allocations: 39.92 kB / 375.6 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.3905, allocations: 31.95 kB / 375.6 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.3905, allocations: 20 kB / 375.6 MB, free: 2.027 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007279/0.3912, allocations: 0.5844 MB / 376.2 MB, free: 1.438 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3912, allocations: 0 / 376.2 MB, free: 1.438 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006916/0.3919, allocations: 219.8 kB / 376.4 MB, free: 1.223 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.0007343/0.3927, allocations: 475.9 kB / 376.9 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009268/0.3936, allocations: 386.4 kB / 377.3 MB, free: 372 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3936, allocations: 3.938 kB / 377.3 MB, free: 368 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004636/0.3941, allocations: 205.8 kB / 377.5 MB, free: 152 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005672/0.3947, allocations: 144.5 kB / 377.6 MB, free: 8 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.397, allocations: 1.67 MB / 379.3 MB, free: 14.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.3975, allocations: 0.9566 MB / 380.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003394/0.3979, allocations: 102 kB / 380.3 MB, free: 13.22 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.78e-05/0.398, allocations: 51.44 kB / 380.4 MB, free: 13.17 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.398, allocations: 4 kB / 380.4 MB, free: 13.17 MB / 318.1 MB Notification: Performance of Templates: time 0.02069/0.4187, allocations: 11.87 MB / 392.3 MB, free: 1.289 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)