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.001548/0.001548, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002157/0.002158, allocations: 194.2 kB / 16.13 MB, free: 6.668 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.386/1.386, allocations: 205.1 MB / 222 MB, free: 4.723 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.001818/0.001818, allocations: 55.92 kB / 278 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2603, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.007829/0.2682, allocations: 5.402 MB / 330.1 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.02373/0.2919, allocations: 18.65 MB / 348.7 MB, free: 12.01 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.2934, allocations: 11.94 kB / 348.7 MB, free: 12 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002804/0.2962, allocations: 0.7386 MB / 349.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005578/0.3018, allocations: 1.275 MB / 350.8 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003951/0.3058, allocations: 1.051 MB / 351.8 MB, free: 8.918 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003197/0.309, allocations: 1.718 MB / 353.5 MB, free: 7.195 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002882/0.3093, allocations: 161.8 kB / 353.7 MB, free: 7.027 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/0.3097, allocations: 306.4 kB / 354 MB, free: 6.727 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/0.3101, allocations: 353.9 kB / 354.3 MB, free: 6.379 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.882e-05/0.3101, allocations: 20 kB / 354.3 MB, free: 6.359 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003183/0.3133, allocations: 1.105 MB / 355.5 MB, free: 5.254 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.3135, allocations: 107.2 kB / 355.6 MB, free: 5.148 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003874/0.3138, allocations: 425.3 kB / 356 MB, free: 4.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002499/0.3164, allocations: 1.581 MB / 357.6 MB, free: 3.145 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3164, allocations: 3.938 kB / 357.6 MB, free: 3.141 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3164, allocations: 0 / 357.6 MB, free: 3.141 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.3164, allocations: 0 / 357.6 MB, free: 3.141 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.002054/0.3185, allocations: 1.39 MB / 358.9 MB, free: 1.695 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3185, allocations: 8.031 kB / 359 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.3187, allocations: 118.6 kB / 359.1 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009513/0.3196, allocations: 0.786 MB / 359.9 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.3197, allocations: 16.56 kB / 359.9 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.3197, allocations: 31.84 kB / 359.9 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007452/0.3205, allocations: 336.7 kB / 360.2 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3205, allocations: 0 / 360.2 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/0.3205, allocations: 11.98 kB / 360.2 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.3206, allocations: 11.94 kB / 360.3 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008906/0.3215, allocations: 338.1 kB / 360.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.3234, allocations: 1.246 MB / 361.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008178/0.3242, allocations: 262.6 kB / 362.1 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005087/0.3247, allocations: 228.9 kB / 362.3 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007739/0.3325, allocations: 7.782 MB / 370.1 MB, free: 5.348 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005509/0.3331, allocations: 215 kB / 370.3 MB, free: 5.125 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.914e-06/0.3331, allocations: 0 / 370.3 MB, free: 5.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.001365/0.3345, allocations: 492.2 kB / 370.8 MB, free: 4.637 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.3345, allocations: 59.34 kB / 370.8 MB, free: 4.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.3355, allocations: 0.8866 MB / 371.7 MB, free: 3.668 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.3356, allocations: 29.7 kB / 371.8 MB, free: 3.633 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.336, allocations: 472.3 kB / 372.2 MB, free: 3.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.742e-05/0.336, allocations: 55.2 kB / 372.3 MB, free: 3.109 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.3362, allocations: 81.59 kB / 372.4 MB, free: 3.023 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3363, allocations: 326 kB / 372.7 MB, free: 2.699 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.3367, allocations: 119.9 kB / 372.8 MB, free: 2.582 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004602/0.3372, allocations: 254.5 kB / 373 MB, free: 2.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008809/0.3381, allocations: 409.3 kB / 373.4 MB, free: 1.805 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.3381, allocations: 0 / 373.4 MB, free: 1.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001005/0.3391, allocations: 0.492 MB / 373.9 MB, free: 1.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3391, allocations: 8.562 kB / 373.9 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-05/0.3392, allocations: 28 kB / 374 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.3392, allocations: 4 kB / 374 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.3395, allocations: 87.81 kB / 374.1 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.3396, allocations: 8 kB / 374.1 MB, free: 1.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.3399, allocations: 55.7 kB / 374.1 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.34, allocations: 16 kB / 374.1 MB, free: 1.102 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.0002699/0.3402, allocations: 217.7 kB / 374.3 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.3404, allocations: 110.6 kB / 374.5 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.3416, allocations: 483.4 kB / 374.9 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3416, allocations: 4 kB / 374.9 MB, free: 292 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3416, allocations: 0 / 374.9 MB, free: 292 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3417, allocations: 0 / 374.9 MB, free: 292 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005901/0.3422, allocations: 0.5789 MB / 375.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.507e-05/0.3423, allocations: 20 kB / 375.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.3425, allocations: 39.95 kB / 375.6 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3425, allocations: 3.938 kB / 375.6 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.3426, allocations: 15.98 kB / 375.6 MB, free: 15.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.3426, allocations: 4 kB / 375.6 MB, free: 15.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3426, allocations: 3.938 kB / 375.6 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008984/0.3435, allocations: 438.8 kB / 376 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.3437, allocations: 199.7 kB / 376.2 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.975e-05/0.3438, allocations: 8 kB / 376.2 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.3441, allocations: 23.97 kB / 376.2 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3442, allocations: 35.89 kB / 376.3 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.3443, allocations: 12 kB / 376.3 MB, free: 14.81 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006555/0.3449, allocations: 0.5961 MB / 376.9 MB, free: 14.21 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3449, allocations: 0 / 376.9 MB, free: 14.21 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000641/0.3456, allocations: 227.8 kB / 377.1 MB, free: 13.98 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.0006873/0.3463, allocations: 483.6 kB / 377.6 MB, free: 13.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009239/0.3472, allocations: 350.3 kB / 377.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3472, allocations: 0 / 377.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004658/0.3477, allocations: 177.5 kB / 378.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006275/0.3484, allocations: 136.8 kB / 378.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.3513, allocations: 1.725 MB / 380 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005883/0.3519, allocations: 0.9566 MB / 380.9 MB, free: 10.1 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003789/0.3523, allocations: 102.1 kB / 381 MB, free: 10 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.848e-05/0.3524, allocations: 47.44 kB / 381.1 MB, free: 9.953 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3524, allocations: 3.938 kB / 381.1 MB, free: 9.949 MB / 318.1 MB Notification: Performance of Templates: time 0.02199/0.3744, allocations: 12.3 MB / 393.4 MB, free: 13.64 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)