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.0011/0.0011, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.001052/0.001052, allocations: 195 kB / 18 MB, free: 5.105 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.328/1.328, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.00193/0.00193, allocations: 59.91 kB / 327.9 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1119, allocations: 46.61 MB / 374.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.2202/0.3322, allocations: 5.391 MB / 379.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0224/0.3547, allocations: 18.5 MB / 398.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.3563, allocations: 25.38 kB / 398.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002921/0.3592, allocations: 0.797 MB / 399.2 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006999/0.3662, allocations: 1.568 MB / 400.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006583/0.3728, allocations: 1.258 MB / 402 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004043/0.3769, allocations: 1.756 MB / 403.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.3772, allocations: 172 kB / 403.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005241/0.3778, allocations: 333.7 kB / 404.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004455/0.3782, allocations: 363 kB / 404.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.237e-05/0.3783, allocations: 31.72 kB / 404.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004543/0.3829, allocations: 1.116 MB / 405.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.383, allocations: 124.1 kB / 405.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004692/0.3835, allocations: 432.8 kB / 406.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.3864, allocations: 1.621 MB / 407.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3864, allocations: 1.062 kB / 407.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3864, allocations: 0 / 407.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.3864, allocations: 0 / 407.9 MB, free: 9.613 MB / 334.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.002391/0.3888, allocations: 1.382 MB / 409.3 MB, free: 8.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3889, allocations: 13.33 kB / 409.3 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.3891, allocations: 117.7 kB / 409.4 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.3901, allocations: 0.7879 MB / 410.2 MB, free: 7.953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.3902, allocations: 14.78 kB / 410.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/0.3902, allocations: 26.31 kB / 410.3 MB, free: 7.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007738/0.391, allocations: 335.4 kB / 410.6 MB, free: 7.742 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.391, allocations: 0 / 410.6 MB, free: 7.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.3911, allocations: 10.36 kB / 410.6 MB, free: 7.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.3911, allocations: 13.56 kB / 410.6 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009107/0.392, allocations: 341.5 kB / 411 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.394, allocations: 1.235 MB / 412.2 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008694/0.3949, allocations: 262.2 kB / 412.4 MB, free: 6.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005462/0.3955, allocations: 228.4 kB / 412.7 MB, free: 6.363 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008605/0.4041, allocations: 7.799 MB / 420.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005676/0.4047, allocations: 210.2 kB / 420.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.705e-06/0.4047, allocations: 0 / 420.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001464/0.4062, allocations: 495.1 kB / 421.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.4062, allocations: 59.53 kB / 421.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.4074, allocations: 0.8829 MB / 422.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.4074, allocations: 32.83 kB / 422.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.4078, allocations: 468.2 kB / 422.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.804e-05/0.4079, allocations: 56.06 kB / 422.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.408, allocations: 86.97 kB / 422.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4082, allocations: 317.1 kB / 423 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/0.4086, allocations: 134.7 kB / 423.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/0.409, allocations: 258.7 kB / 423.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008275/0.4099, allocations: 395.7 kB / 423.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4099, allocations: 4 kB / 423.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001109/0.411, allocations: 0.5054 MB / 424.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.411, allocations: 11.22 kB / 424.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.617e-05/0.4111, allocations: 27.94 kB / 424.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.4111, allocations: 8.5 kB / 424.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.4115, allocations: 87.88 kB / 424.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.4115, allocations: 11.94 kB / 424.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.412, allocations: 47.7 kB / 424.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.412, allocations: 24 kB / 424.5 MB, free: 12.1 MB / 350.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.0002589/0.4123, allocations: 205.7 kB / 424.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.4124, allocations: 118.6 kB / 424.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.4136, allocations: 466.1 kB / 425.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.4136, allocations: 4 kB / 425.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4136, allocations: 0 / 425.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4137, allocations: 0 / 425.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006224/0.4143, allocations: 0.5672 MB / 425.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.004e-05/0.4143, allocations: 24.06 kB / 425.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.4146, allocations: 44.77 kB / 425.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.4146, allocations: 7.922 kB / 425.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.4146, allocations: 11.98 kB / 426 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4146, allocations: 0 / 426 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.4146, allocations: 4 kB / 426 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009257/0.4156, allocations: 442.6 kB / 426.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.4159, allocations: 203.6 kB / 426.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.724e-05/0.416, allocations: 15.62 kB / 426.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.4163, allocations: 23.97 kB / 426.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.411e-05/0.4164, allocations: 35.89 kB / 426.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.4164, allocations: 12 kB / 426.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006442/0.4171, allocations: 0.6 MB / 427.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4171, allocations: 0 / 427.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000682/0.4178, allocations: 215.8 kB / 427.5 MB, free: 9.008 MB / 350.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.0007125/0.4185, allocations: 489.5 kB / 428 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009401/0.4194, allocations: 346.3 kB / 428.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.4194, allocations: 0 / 428.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004452/0.4199, allocations: 181.5 kB / 428.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/0.4205, allocations: 156.6 kB / 428.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.4227, allocations: 1.439 MB / 430.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.4232, allocations: 0.9679 MB / 431 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002652/0.4235, allocations: 102.1 kB / 431.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.882e-05/0.4235, allocations: 47.44 kB / 431.2 MB, free: 5.219 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4236, allocations: 0 / 431.2 MB, free: 5.219 MB / 350.1 MB Notification: Performance of Templates: time 0.02082/0.4444, allocations: 13.07 MB / 444.3 MB, free: 8.137 MB / 366.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)