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.001158/0.001158, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.388/1.388, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.001181/0.001181, allocations: 56.34 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2251, allocations: 46.64 MB / 325.3 MB, free: 1.988 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005561/0.2307, allocations: 5.394 MB / 330.7 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01914/0.2498, allocations: 18.5 MB / 349.2 MB, free: 12.06 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.2511, allocations: 11.94 kB / 349.2 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003032/0.2541, allocations: 0.7924 MB / 350 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006832/0.261, allocations: 1.573 MB / 351.6 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00431/0.2653, allocations: 1.252 MB / 352.8 MB, free: 8.414 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003495/0.2688, allocations: 1.745 MB / 354.6 MB, free: 6.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003251/0.2692, allocations: 181.8 kB / 354.8 MB, free: 6.477 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004524/0.2696, allocations: 318.5 kB / 355.1 MB, free: 6.164 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004272/0.2701, allocations: 361.9 kB / 355.4 MB, free: 5.809 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.739e-05/0.2701, allocations: 32 kB / 355.5 MB, free: 5.777 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.2734, allocations: 1.113 MB / 356.6 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.2735, allocations: 119.2 kB / 356.7 MB, free: 4.547 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004034/0.274, allocations: 437.3 kB / 357.1 MB, free: 4.117 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002345/0.2763, allocations: 1.616 MB / 358.7 MB, free: 2.496 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2763, allocations: 0 / 358.7 MB, free: 2.496 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2763, allocations: 0 / 358.7 MB, free: 2.496 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.2764, allocations: 0 / 358.7 MB, free: 2.496 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.002104/0.2785, allocations: 1.386 MB / 360.1 MB, free: 1.051 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2785, allocations: 8.031 kB / 360.1 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.2787, allocations: 114.6 kB / 360.2 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.2797, allocations: 0.7938 MB / 361 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.2798, allocations: 16.56 kB / 361 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.954e-05/0.2798, allocations: 31.84 kB / 361.1 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007382/0.2806, allocations: 336.7 kB / 361.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2806, allocations: 0 / 361.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.2806, allocations: 11.98 kB / 361.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.2807, allocations: 8 kB / 361.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008825/0.2815, allocations: 342 kB / 361.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.2834, allocations: 1.238 MB / 363 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008374/0.2843, allocations: 266.6 kB / 363.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/0.2848, allocations: 232.9 kB / 363.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007693/0.2925, allocations: 7.782 MB / 371.3 MB, free: 4.703 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000552/0.2931, allocations: 211 kB / 371.5 MB, free: 4.484 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.725e-06/0.2931, allocations: 4 kB / 371.5 MB, free: 4.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.001404/0.2945, allocations: 484.2 kB / 371.9 MB, free: 4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.2946, allocations: 55.41 kB / 372 MB, free: 3.934 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.2957, allocations: 0.8905 MB / 372.9 MB, free: 3.031 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.2957, allocations: 33.7 kB / 372.9 MB, free: 2.992 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.2961, allocations: 464.3 kB / 373.4 MB, free: 2.531 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.433e-05/0.2962, allocations: 67.12 kB / 373.4 MB, free: 2.465 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.2963, allocations: 85.59 kB / 373.5 MB, free: 2.375 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2964, allocations: 318 kB / 373.8 MB, free: 2.059 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/0.2969, allocations: 127.8 kB / 374 MB, free: 1.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/0.2974, allocations: 257.9 kB / 374.2 MB, free: 1.617 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008541/0.2982, allocations: 397.4 kB / 374.6 MB, free: 1.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.2983, allocations: 0 / 374.6 MB, free: 1.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001124/0.2994, allocations: 0.4928 MB / 375.1 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.2994, allocations: 15.92 kB / 375.1 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.543e-05/0.2995, allocations: 20 kB / 375.1 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.2995, allocations: 8 kB / 375.1 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.2998, allocations: 83.88 kB / 375.2 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.2999, allocations: 8.312 kB / 375.2 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000357/0.3002, allocations: 51.72 kB / 375.3 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/0.3003, allocations: 27.98 kB / 375.3 MB, free: 464 kB / 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.0002399/0.3005, allocations: 201.7 kB / 375.5 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.3006, allocations: 114.6 kB / 375.6 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.302, allocations: 483.5 kB / 376.1 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.302, allocations: 4 kB / 376.1 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.302, allocations: 0 / 376.1 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.302, allocations: 4 kB / 376.1 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/0.3026, allocations: 0.571 MB / 376.7 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.713e-05/0.3026, allocations: 20 kB / 376.7 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.3029, allocations: 43.95 kB / 376.7 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.3029, allocations: 7.938 kB / 376.7 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.3029, allocations: 16.05 kB / 376.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3029, allocations: 0 / 376.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3029, allocations: 0 / 376.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009701/0.3039, allocations: 446.6 kB / 377.2 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/0.3041, allocations: 199.7 kB / 377.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.3042, allocations: 8 kB / 377.4 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.3045, allocations: 23.97 kB / 377.4 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.153e-05/0.3046, allocations: 39.89 kB / 377.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.3047, allocations: 12 kB / 377.5 MB, free: 14.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000641/0.3053, allocations: 0.5961 MB / 378.1 MB, free: 13.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3053, allocations: 0 / 378.1 MB, free: 13.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000619/0.3059, allocations: 219.8 kB / 378.3 MB, free: 13.35 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.0006598/0.3066, allocations: 492 kB / 378.8 MB, free: 12.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.3076, allocations: 357.2 kB / 379.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3076, allocations: 1.25 kB / 379.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004636/0.3081, allocations: 185.7 kB / 379.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.3087, allocations: 143.6 kB / 379.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.311, allocations: 1.476 MB / 380.9 MB, free: 10.67 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/0.3115, allocations: 0.964 MB / 381.9 MB, free: 9.676 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000357/0.3118, allocations: 98.05 kB / 382 MB, free: 9.578 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.87e-05/0.312, allocations: 55.44 kB / 382 MB, free: 9.523 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.312, allocations: 0 / 382 MB, free: 9.523 MB / 318.1 MB Notification: Performance of Templates: time 0.02114/0.3331, allocations: 12.82 MB / 394.8 MB, free: 12.68 MB / 334.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)