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.006903/0.006903, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001122/0.001123, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.337/1.337, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001142/0.001142, allocations: 47.92 kB / 326.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09716, allocations: 46.62 MB / 373.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.2498/0.347, allocations: 5.391 MB / 378.5 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01979/0.3668, allocations: 18.5 MB / 397 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.3682, allocations: 24.53 kB / 397.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003392/0.3716, allocations: 0.7935 MB / 397.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007907/0.3795, allocations: 1.565 MB / 399.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006571/0.3861, allocations: 1.255 MB / 400.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004184/0.3903, allocations: 1.753 MB / 402.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003757/0.3907, allocations: 181 kB / 402.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007275/0.3915, allocations: 329.4 kB / 402.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005604/0.392, allocations: 361.9 kB / 403.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.467e-05/0.3921, allocations: 32.03 kB / 403.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006265/0.3984, allocations: 1.117 MB / 404.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000284/0.3987, allocations: 119.5 kB / 404.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007113/0.3994, allocations: 432.7 kB / 405 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00522/0.4047, allocations: 1.626 MB / 406.6 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4047, allocations: 1.5 kB / 406.6 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4047, allocations: 0 / 406.6 MB, free: 9.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.4048, allocations: 3.938 kB / 406.6 MB, free: 9.574 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.003006/0.4078, allocations: 1.381 MB / 408 MB, free: 8.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/0.4079, allocations: 13.86 kB / 408 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.4081, allocations: 117.1 kB / 408.1 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.4092, allocations: 0.7832 MB / 408.9 MB, free: 7.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.4093, allocations: 16.97 kB / 408.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-05/0.4093, allocations: 27.78 kB / 408.9 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008948/0.4102, allocations: 342.9 kB / 409.3 MB, free: 7.688 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.4103, allocations: 0 / 409.3 MB, free: 7.688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.4103, allocations: 6.594 kB / 409.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.4103, allocations: 9.312 kB / 409.3 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009292/0.4113, allocations: 345.9 kB / 409.6 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.4135, allocations: 1.225 MB / 410.9 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008979/0.4144, allocations: 267.7 kB / 411.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005708/0.415, allocations: 232.5 kB / 411.3 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009522/0.4245, allocations: 7.794 MB / 419.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005741/0.4251, allocations: 205.6 kB / 419.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.255e-06/0.4251, allocations: 5.5 kB / 419.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001414/0.4266, allocations: 491.1 kB / 419.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.4266, allocations: 54.16 kB / 419.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.4278, allocations: 0.8923 MB / 420.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.4278, allocations: 30.89 kB / 420.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.4282, allocations: 464.4 kB / 421.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.4282, allocations: 60.89 kB / 421.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.4284, allocations: 82.27 kB / 421.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4285, allocations: 322.2 kB / 421.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.4289, allocations: 130.5 kB / 421.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/0.4294, allocations: 262.7 kB / 422.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008884/0.4303, allocations: 397.1 kB / 422.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4303, allocations: 0 / 422.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001187/0.4315, allocations: 0.4998 MB / 423 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.4315, allocations: 15.22 kB / 423 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.355e-05/0.4316, allocations: 23.94 kB / 423 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.4316, allocations: 8 kB / 423 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.432, allocations: 91.31 kB / 423.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.432, allocations: 15.92 kB / 423.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005338/0.4326, allocations: 43.72 kB / 423.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/0.4326, allocations: 24 kB / 423.2 MB, free: 12.06 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.000317/0.433, allocations: 205.7 kB / 423.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.4331, allocations: 118.6 kB / 423.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.4344, allocations: 471.5 kB / 424 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.4344, allocations: 4 kB / 424 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4344, allocations: 0 / 424 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4344, allocations: 0 / 424 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000693/0.4351, allocations: 0.5633 MB / 424.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.82e-05/0.4352, allocations: 16 kB / 424.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.4355, allocations: 55.94 kB / 424.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.4355, allocations: 7.938 kB / 424.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.4355, allocations: 11.94 kB / 424.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.4355, allocations: 0 / 424.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4355, allocations: 0 / 424.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.4365, allocations: 446.6 kB / 425.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.4369, allocations: 199.6 kB / 425.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.437, allocations: 8 kB / 425.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.4373, allocations: 31.95 kB / 425.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.4374, allocations: 31.91 kB / 425.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.4374, allocations: 12 kB / 425.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006672/0.4381, allocations: 0.5961 MB / 425.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4381, allocations: 4 kB / 425.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007852/0.4389, allocations: 215.8 kB / 426.2 MB, free: 8.969 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.0007238/0.4396, allocations: 489 kB / 426.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.4407, allocations: 350.3 kB / 427 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4408, allocations: 4.125 kB / 427 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005038/0.4413, allocations: 177.5 kB / 427.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007123/0.442, allocations: 142.7 kB / 427.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.4447, allocations: 1.455 MB / 428.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.4452, allocations: 0.9602 MB / 429.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003055/0.4455, allocations: 98.06 kB / 429.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.605e-05/0.4456, allocations: 51.44 kB / 429.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4456, allocations: 4 kB / 429.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of Templates: time 0.02181/0.4674, allocations: 12.88 MB / 442.7 MB, free: 8.293 MB / 366.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)