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.001063/0.001063, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005569/0.005569, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.371/1.371, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004261/0.000426, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2389, allocations: 47.59 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.004684/0.2436, allocations: 5.004 MB / 332 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01951/0.2632, allocations: 18.36 MB / 350.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009863/0.2642, allocations: 11.94 kB / 350.4 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.267, allocations: 0.759 MB / 351.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005883/0.2729, allocations: 1.283 MB / 352.4 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004118/0.277, allocations: 1.039 MB / 353.5 MB, free: 8.828 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002713/0.2797, allocations: 1.718 MB / 355.2 MB, free: 7.105 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.28, allocations: 165.8 kB / 355.4 MB, free: 6.934 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003497/0.2804, allocations: 298.5 kB / 355.7 MB, free: 6.641 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003483/0.2807, allocations: 341.9 kB / 356 MB, free: 6.305 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.767e-05/0.2808, allocations: 16 kB / 356 MB, free: 6.289 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00286/0.2837, allocations: 1.105 MB / 357.1 MB, free: 5.184 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.975e-05/0.2838, allocations: 103.2 kB / 357.2 MB, free: 5.082 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.2841, allocations: 450.9 kB / 357.7 MB, free: 4.633 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.2861, allocations: 1.549 MB / 359.2 MB, free: 3.078 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2861, allocations: 11.98 kB / 359.2 MB, free: 3.066 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2861, allocations: 0 / 359.2 MB, free: 3.066 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.2862, allocations: 0 / 359.2 MB, free: 3.066 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.00182/0.288, allocations: 1.254 MB / 360.5 MB, free: 1.758 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.288, allocations: 12.03 kB / 360.5 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.2882, allocations: 114.6 kB / 360.6 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009274/0.2891, allocations: 0.7899 MB / 361.4 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.2891, allocations: 20.56 kB / 361.4 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.97e-05/0.2892, allocations: 27.94 kB / 361.4 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007355/0.29, allocations: 364.6 kB / 361.8 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.29, allocations: 0 / 361.8 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.29, allocations: 12 kB / 361.8 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.29, allocations: 4 kB / 361.8 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009028/0.2909, allocations: 386 kB / 362.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.2927, allocations: 1.242 MB / 363.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008773/0.2936, allocations: 314.5 kB / 363.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005402/0.2942, allocations: 252.9 kB / 364 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007598/0.3018, allocations: 7.786 MB / 371.8 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005437/0.3023, allocations: 227.1 kB / 372 MB, free: 5.027 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.3024, allocations: 0 / 372 MB, free: 5.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.001556/0.3039, allocations: 0.547 MB / 372.5 MB, free: 4.473 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.304, allocations: 59.31 kB / 372.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.3051, allocations: 0.8906 MB / 373.5 MB, free: 3.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.3051, allocations: 29.7 kB / 373.5 MB, free: 3.465 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.3055, allocations: 464.3 kB / 374 MB, free: 3.004 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.968e-05/0.3056, allocations: 59.27 kB / 374 MB, free: 2.945 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-05/0.3056, allocations: 41.7 kB / 374.1 MB, free: 2.898 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3058, allocations: 322 kB / 374.4 MB, free: 2.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.3062, allocations: 135.9 kB / 374.5 MB, free: 2.445 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/0.3067, allocations: 289.8 kB / 374.8 MB, free: 2.098 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008638/0.3075, allocations: 433.5 kB / 375.2 MB, free: 1.609 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.3076, allocations: 4 kB / 375.2 MB, free: 1.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001119/0.3087, allocations: 0.5389 MB / 375.8 MB, free: 1.059 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.3087, allocations: 7.938 kB / 375.8 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.377e-05/0.3088, allocations: 27.98 kB / 375.8 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.3088, allocations: 4.562 kB / 375.8 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.3092, allocations: 103.8 kB / 375.9 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3092, allocations: 4 kB / 375.9 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.3096, allocations: 63.72 kB / 376 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.3097, allocations: 27.94 kB / 376 MB, free: 0.8242 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.0002484/0.3099, allocations: 209.7 kB / 376.2 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.31, allocations: 114.6 kB / 376.3 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.3114, allocations: 0.5073 MB / 376.8 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3114, allocations: 0 / 376.8 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3114, allocations: 4 kB / 376.8 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3114, allocations: 3.938 kB / 376.8 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000638/0.3121, allocations: 0.5711 MB / 377.4 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/0.3121, allocations: 16 kB / 377.4 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.3123, allocations: 59.95 kB / 377.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3124, allocations: 3.938 kB / 377.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.3124, allocations: 15.98 kB / 377.5 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3124, allocations: 4 kB / 377.5 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3124, allocations: 0 / 377.5 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009946/0.3134, allocations: 494.5 kB / 378 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.3136, allocations: 195.7 kB / 378.2 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/0.3137, allocations: 7.984 kB / 378.2 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.314, allocations: 35.97 kB / 378.2 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.963e-05/0.3141, allocations: 43.88 kB / 378.2 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.3142, allocations: 8 kB / 378.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006388/0.3148, allocations: 0.6 MB / 378.9 MB, free: 13.83 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3148, allocations: 0 / 378.9 MB, free: 13.83 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005828/0.3154, allocations: 219.8 kB / 379.1 MB, free: 13.61 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.0006463/0.3161, allocations: 479.8 kB / 379.5 MB, free: 13.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009986/0.3171, allocations: 398.3 kB / 379.9 MB, free: 12.74 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3171, allocations: 0 / 379.9 MB, free: 12.74 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000469/0.3176, allocations: 201.8 kB / 380.1 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/0.3182, allocations: 132.5 kB / 380.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.3206, allocations: 1.772 MB / 382 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.3211, allocations: 0.9644 MB / 383 MB, free: 9.609 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003455/0.3215, allocations: 102 kB / 383.1 MB, free: 9.508 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.608e-05/0.3216, allocations: 47.44 kB / 383.1 MB, free: 9.465 MB / 318.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3216, allocations: 0 / 383.1 MB, free: 9.465 MB / 318.1 MB Notification: Performance of Templates: time 0.02034/0.3419, allocations: 12.22 MB / 395.4 MB, free: 13.23 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)