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.001437/0.001437, allocations: 116.3 kB / 17.07 MB, free: 5.973 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.001349/0.001349, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.359/1.359, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001158/0.001158, allocations: 47.94 kB / 327.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/0.09614, allocations: 46.61 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.2469/0.3431, allocations: 5.389 MB / 379.9 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02263/0.3658, allocations: 18.5 MB / 398.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.3674, allocations: 25.69 kB / 398.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003677/0.3711, allocations: 0.803 MB / 399.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009011/0.3802, allocations: 1.561 MB / 400.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007628/0.3878, allocations: 1.259 MB / 402 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005107/0.393, allocations: 1.752 MB / 403.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003973/0.3934, allocations: 177.1 kB / 403.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007326/0.3941, allocations: 328.5 kB / 404.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004888/0.3946, allocations: 354.7 kB / 404.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.301e-05/0.3947, allocations: 35.36 kB / 404.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006111/0.4008, allocations: 1.117 MB / 405.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.4011, allocations: 115.9 kB / 405.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006902/0.4018, allocations: 445 kB / 406.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004461/0.4063, allocations: 1.62 MB / 407.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4063, allocations: 0 / 407.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4063, allocations: 3.938 kB / 407.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.4063, allocations: 0.875 kB / 407.9 MB, free: 9.598 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.002794/0.4091, allocations: 1.383 MB / 409.3 MB, free: 8.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.4092, allocations: 12.7 kB / 409.3 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.4094, allocations: 116.7 kB / 409.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.4106, allocations: 0.778 MB / 410.2 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.4107, allocations: 26.58 kB / 410.2 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-05/0.4108, allocations: 23.25 kB / 410.3 MB, free: 7.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008875/0.4116, allocations: 335.7 kB / 410.6 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4117, allocations: 0 / 410.6 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.678e-05/0.4117, allocations: 14.56 kB / 410.6 MB, free: 7.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.4117, allocations: 5.5 kB / 410.6 MB, free: 7.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.4128, allocations: 344.8 kB / 410.9 MB, free: 7.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.4154, allocations: 1.234 MB / 412.2 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.4165, allocations: 267.3 kB / 412.4 MB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006113/0.4171, allocations: 232.2 kB / 412.7 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.4271, allocations: 7.796 MB / 420.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005692/0.4278, allocations: 206.1 kB / 420.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.174e-06/0.4278, allocations: 0 / 420.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001582/0.4294, allocations: 487 kB / 421.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.4294, allocations: 71.45 kB / 421.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.4308, allocations: 0.8832 MB / 422.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.4309, allocations: 28.23 kB / 422.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004451/0.4313, allocations: 472.1 kB / 422.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.203e-05/0.4314, allocations: 51.61 kB / 422.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.4315, allocations: 86.62 kB / 422.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4317, allocations: 318.1 kB / 423 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/0.4321, allocations: 128.1 kB / 423.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005595/0.4327, allocations: 262.5 kB / 423.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009584/0.4337, allocations: 394 kB / 423.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.4337, allocations: 4 kB / 423.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001179/0.4349, allocations: 0.5036 MB / 424.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.4349, allocations: 15.88 kB / 424.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.626e-05/0.435, allocations: 20 kB / 424.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.435, allocations: 8 kB / 424.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.4354, allocations: 95.23 kB / 424.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.4354, allocations: 8 kB / 424.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/0.436, allocations: 47.72 kB / 424.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.4361, allocations: 24 kB / 424.5 MB, free: 12.07 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.0003231/0.4364, allocations: 217.6 kB / 424.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.4365, allocations: 110.6 kB / 424.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.4379, allocations: 468.3 kB / 425.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.4379, allocations: 0 / 425.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.4379, allocations: 0 / 425.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.438, allocations: 3.984 kB / 425.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000818/0.4388, allocations: 0.5711 MB / 425.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.33e-05/0.4388, allocations: 20 kB / 425.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.4391, allocations: 44.02 kB / 425.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4391, allocations: 3.938 kB / 425.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.4391, allocations: 12 kB / 425.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.4392, allocations: 7.984 kB / 426 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.4392, allocations: 3.938 kB / 426 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009765/0.4401, allocations: 434.6 kB / 426.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.4405, allocations: 203.6 kB / 426.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.891e-05/0.4406, allocations: 7.984 kB / 426.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.4409, allocations: 31.97 kB / 426.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.441, allocations: 31.91 kB / 426.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.441, allocations: 19.98 kB / 426.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007023/0.4418, allocations: 0.5883 MB / 427.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4418, allocations: 0 / 427.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008473/0.4426, allocations: 223.8 kB / 427.5 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.0008652/0.4435, allocations: 490 kB / 428 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.4445, allocations: 354.4 kB / 428.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4445, allocations: 0 / 428.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004738/0.445, allocations: 173.5 kB / 428.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006721/0.4457, allocations: 152 kB / 428.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.4482, allocations: 1.447 MB / 430.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.4488, allocations: 0.9602 MB / 431 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003284/0.4491, allocations: 98.06 kB / 431.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.4492, allocations: 55.42 kB / 431.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4493, allocations: 3.938 kB / 431.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of Templates: time 0.02252/0.4718, allocations: 12.87 MB / 444.1 MB, free: 8.301 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)