Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=198,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadModel(Modelica): time 2.036/2.036, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003863, allocations: 12 kB / 233.9 MB, free: 2.379 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09432/0.09474, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4623/0.557, allocations: 93.95 MB / 366.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003573/0.5575, allocations: 76.84 kB / 366.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5914/1.149, allocations: 75.48 MB / 442.1 MB, free: 83.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.806e-06/1.149, allocations: 1.125 kB / 442.1 MB, free: 83.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.8e-05/1.149, allocations: 15.81 kB / 442.1 MB, free: 83.66 MB / 346.7 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.004162/1.153, allocations: 1.409 MB / 443.5 MB, free: 82.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/1.153, allocations: 14.61 kB / 443.6 MB, free: 82.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/1.153, allocations: 117.3 kB / 443.7 MB, free: 82.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/1.155, allocations: 0.7654 MB / 444.4 MB, free: 82.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/1.155, allocations: 19.75 kB / 444.5 MB, free: 82.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-05/1.155, allocations: 20.91 kB / 444.5 MB, free: 82.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/1.157, allocations: 410.1 kB / 444.9 MB, free: 82.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/1.157, allocations: 0 / 444.9 MB, free: 82.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.772e-05/1.157, allocations: 8.125 kB / 444.9 MB, free: 82.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/1.157, allocations: 8.75 kB / 444.9 MB, free: 82.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/1.158, allocations: 388.2 kB / 445.3 MB, free: 82.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/1.162, allocations: 1.285 MB / 446.6 MB, free: 81.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/1.163, allocations: 308.9 kB / 446.9 MB, free: 81.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01272/1.176, allocations: 9.235 MB / 456.1 MB, free: 75.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008605/1.177, allocations: 229.1 kB / 456.3 MB, free: 75.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 3.697e-06/1.177, allocations: 0 / 456.3 MB, free: 75.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.002458/1.18, allocations: 0.6128 MB / 456.9 MB, free: 74.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/1.18, allocations: 113.8 kB / 457 MB, free: 74.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/1.181, allocations: 0.8972 MB / 457.9 MB, free: 74.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.677e-05/1.181, allocations: 33.33 kB / 458 MB, free: 74.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004228/1.182, allocations: 465.3 kB / 458.4 MB, free: 74.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.875e-05/1.182, allocations: 60.12 kB / 458.5 MB, free: 74.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/1.182, allocations: 12.91 kB / 458.5 MB, free: 74.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.085e-05/1.182, allocations: 320 kB / 458.8 MB, free: 74.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006845/1.183, allocations: 149.8 kB / 459 MB, free: 74.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007437/1.183, allocations: 293.1 kB / 459.2 MB, free: 73.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006968/1.184, allocations: 161.7 kB / 459.4 MB, free: 73.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/1.184, allocations: 3.688 kB / 459.4 MB, free: 73.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001958/1.186, allocations: 0.5422 MB / 459.9 MB, free: 73.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/1.186, allocations: 7.656 kB / 460 MB, free: 73.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-05/1.186, allocations: 26.31 kB / 460 MB, free: 73.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/1.186, allocations: 8.969 kB / 460 MB, free: 73.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/1.187, allocations: 95.53 kB / 460.1 MB, free: 73.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/1.187, allocations: 6.031 kB / 460.1 MB, free: 73.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009058/1.188, allocations: 71.27 kB / 460.2 MB, free: 73.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/1.188, allocations: 22.62 kB / 460.2 MB, free: 73.84 MB / 346.7 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.0004835/1.188, allocations: 208.2 kB / 460.4 MB, free: 73.72 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/1.189, allocations: 112.5 kB / 460.5 MB, free: 73.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/1.191, allocations: 0.518 MB / 461 MB, free: 73.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/1.191, allocations: 3.719 kB / 461 MB, free: 73.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/1.191, allocations: 3.953 kB / 461 MB, free: 73.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/1.191, allocations: 3.188 kB / 461 MB, free: 73.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/1.192, allocations: 0.57 MB / 461.6 MB, free: 73.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.485e-05/1.192, allocations: 24.69 kB / 461.6 MB, free: 73.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/1.193, allocations: 53.86 kB / 461.7 MB, free: 73.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/1.193, allocations: 3.781 kB / 461.7 MB, free: 73.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/1.193, allocations: 11.53 kB / 461.7 MB, free: 73.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/1.193, allocations: 0 / 461.7 MB, free: 73.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.193, allocations: 3.344 kB / 461.7 MB, free: 73.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/1.194, allocations: 493.8 kB / 462.2 MB, free: 73.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/1.195, allocations: 206.2 kB / 462.4 MB, free: 73.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/1.195, allocations: 6.062 kB / 462.4 MB, free: 73.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005798/1.196, allocations: 46.77 kB / 462.4 MB, free: 73.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/1.196, allocations: 28.95 kB / 462.5 MB, free: 73.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/1.196, allocations: 17.28 kB / 462.5 MB, free: 73.06 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001033/1.197, allocations: 0.6027 MB / 463.1 MB, free: 72.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.197, allocations: 0 / 463.1 MB, free: 72.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001205/1.198, allocations: 247 kB / 463.3 MB, free: 72.92 MB / 346.7 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.001026/1.199, allocations: 0.528 MB / 463.8 MB, free: 72.81 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00165/1.201, allocations: 387.8 kB / 464.2 MB, free: 72.78 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.201, allocations: 3 kB / 464.2 MB, free: 72.78 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008005/1.202, allocations: 199.7 kB / 464.4 MB, free: 72.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009748/1.203, allocations: 145.8 kB / 464.6 MB, free: 72.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/1.206, allocations: 1.65 MB / 466.2 MB, free: 71.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/1.207, allocations: 0.9877 MB / 467.2 MB, free: 71.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001269/1.208, allocations: 106.3 kB / 467.3 MB, free: 71.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/1.208, allocations: 49.47 kB / 467.4 MB, free: 71.19 MB / 346.7 MB Notification: Performance of SimCode: time 2.535e-06/1.208, allocations: 0 / 467.4 MB, free: 71.19 MB / 346.7 MB Notification: Performance of Templates: time 0.0432/1.251, allocations: 13.12 MB / 480.5 MB, free: 70.29 MB / 346.7 MB