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.001106/0.001106, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001051/0.001051, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.0004874/0.0004874, allocations: 8 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2597, allocations: 47.58 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.004903/0.2647, allocations: 4.37 MB / 330.8 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01844/0.2832, allocations: 15.65 MB / 346.5 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.2844, allocations: 7.938 kB / 346.5 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002495/0.2869, allocations: 0.7314 MB / 347.2 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005288/0.2922, allocations: 1.34 MB / 348.5 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003992/0.2962, allocations: 1.055 MB / 349.6 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003477/0.2997, allocations: 1.647 MB / 351.2 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002878/0.3, allocations: 147.8 kB / 351.4 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003558/0.3004, allocations: 270.7 kB / 351.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.3007, allocations: 322.2 kB / 352 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.3008, allocations: 16 kB / 352 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0033/0.3041, allocations: 1.191 MB / 353.2 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.3042, allocations: 95.36 kB / 353.3 MB, free: 8.617 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.3045, allocations: 205.1 kB / 353.5 MB, free: 8.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.3058, allocations: 1.081 MB / 354.5 MB, free: 7.328 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3058, allocations: 0 / 354.5 MB, free: 7.328 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3058, allocations: 0 / 354.5 MB, free: 7.328 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.3058, allocations: 0 / 354.5 MB, free: 7.328 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.002129/0.308, allocations: 1.274 MB / 355.8 MB, free: 6 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.308, allocations: 11.97 kB / 355.8 MB, free: 5.988 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.3082, allocations: 118.5 kB / 355.9 MB, free: 5.871 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.3093, allocations: 0.7403 MB / 356.7 MB, free: 5.078 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.3093, allocations: 20.56 kB / 356.7 MB, free: 5.059 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-05/0.3094, allocations: 20 kB / 356.7 MB, free: 5.039 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007608/0.3101, allocations: 356.7 kB / 357.1 MB, free: 4.684 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3102, allocations: 4 kB / 357.1 MB, free: 4.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.3102, allocations: 8 kB / 357.1 MB, free: 4.672 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.3102, allocations: 8 kB / 357.1 MB, free: 4.664 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009106/0.3111, allocations: 394 kB / 357.5 MB, free: 4.277 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.3131, allocations: 1.242 MB / 358.7 MB, free: 2.961 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008472/0.314, allocations: 310.8 kB / 359 MB, free: 2.648 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008157/0.3222, allocations: 7.818 MB / 366.8 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005601/0.3228, allocations: 231 kB / 367.1 MB, free: 9.547 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.244e-06/0.3228, allocations: 0 / 367.1 MB, free: 9.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.001489/0.3243, allocations: 0.6183 MB / 367.7 MB, free: 8.902 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.3243, allocations: 63.34 kB / 367.7 MB, free: 8.828 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.3254, allocations: 0.8788 MB / 368.6 MB, free: 7.938 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.3254, allocations: 29.7 kB / 368.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/0.3258, allocations: 464.3 kB / 369.1 MB, free: 7.441 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/0.3259, allocations: 67.2 kB / 369.2 MB, free: 7.375 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/0.3259, allocations: 4 kB / 369.2 MB, free: 7.371 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.326, allocations: 326 kB / 369.5 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.3264, allocations: 135.9 kB / 369.6 MB, free: 6.914 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004867/0.3269, allocations: 285.8 kB / 369.9 MB, free: 6.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.3274, allocations: 159.9 kB / 370.1 MB, free: 6.414 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.3274, allocations: 4 kB / 370.1 MB, free: 6.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001139/0.3285, allocations: 0.5389 MB / 370.6 MB, free: 5.863 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.3286, allocations: 8 kB / 370.6 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-05/0.3286, allocations: 20.56 kB / 370.6 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.3286, allocations: 8 kB / 370.6 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.329, allocations: 99.81 kB / 370.7 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.329, allocations: 8 kB / 370.7 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.3295, allocations: 67.64 kB / 370.8 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.747e-05/0.3295, allocations: 24 kB / 370.8 MB, free: 5.633 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 ($PRE.VDS.counter,VDS.counter,$PRE.VGS.counter,VGS.counter,$whenCondition2,$whenCondition1,$PRE.VDS.T0,VDS.T0,$PRE.VDS.counter2,VDS.counter2,$PRE.VGS.T0,VGS.T0,$PRE.VGS.counter2,VGS.counter2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003065/0.3298, allocations: 205.7 kB / 371 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.3299, allocations: 118.5 kB / 371.1 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.3313, allocations: 0.5074 MB / 371.7 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.3313, allocations: 11.88 kB / 371.7 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.3314, allocations: 0 / 371.7 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.3314, allocations: 7.938 kB / 371.7 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006425/0.332, allocations: 0.5634 MB / 372.2 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.638e-05/0.3321, allocations: 20 kB / 372.3 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.3323, allocations: 55.95 kB / 372.3 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.3324, allocations: 4 kB / 372.3 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.3324, allocations: 8 kB / 372.3 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3324, allocations: 4 kB / 372.3 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3324, allocations: 0 / 372.3 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009937/0.3334, allocations: 0.5009 MB / 372.8 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.3337, allocations: 195.6 kB / 373 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.3338, allocations: 15.92 kB / 373 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.3341, allocations: 39.97 kB / 373.1 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.3342, allocations: 31.95 kB / 373.1 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.3342, allocations: 15.98 kB / 373.1 MB, free: 3.211 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006546/0.3349, allocations: 0.5805 MB / 373.7 MB, free: 2.625 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3349, allocations: 0 / 373.7 MB, free: 2.625 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006758/0.3356, allocations: 215.8 kB / 373.9 MB, free: 2.414 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006623/0.3363, allocations: 480.1 kB / 374.4 MB, free: 1.934 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009957/0.3373, allocations: 394.3 kB / 374.8 MB, free: 1.543 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3373, allocations: 3.938 kB / 374.8 MB, free: 1.539 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004666/0.3377, allocations: 205.7 kB / 375 MB, free: 1.328 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.3382, allocations: 128.5 kB / 375.1 MB, free: 1.203 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.3406, allocations: 1.671 MB / 376.8 MB, free: 15.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005802/0.3412, allocations: 0.9761 MB / 377.7 MB, free: 14.49 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003532/0.3416, allocations: 98.06 kB / 377.8 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.109e-05/0.3417, allocations: 47.44 kB / 377.9 MB, free: 14.35 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3417, allocations: 0 / 377.9 MB, free: 14.35 MB / 318.1 MB Notification: Performance of Templates: time 0.02005/0.3618, allocations: 11.69 MB / 389.6 MB, free: 2.645 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: