Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadModel(Modelica): time 1.82/1.82, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.909e-05/2.913e-05, allocations: 4 kB / 269.3 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08198/0.08203, allocations: 47.58 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.347/0.4291, allocations: 90.29 MB / 407.2 MB, free: 14.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.4293, allocations: 71.22 kB / 407.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1223/0.5516, allocations: 43.53 MB / 450.8 MB, free: 7.871 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.035e-06/0.5517, allocations: 0 / 450.8 MB, free: 7.871 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.163e-05/0.5517, allocations: 12 kB / 450.8 MB, free: 7.859 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002186/0.5539, allocations: 1.108 MB / 451.9 MB, free: 6.762 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.554, allocations: 8.031 kB / 451.9 MB, free: 6.754 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.5542, allocations: 118.7 kB / 452.1 MB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.5556, allocations: 0.7253 MB / 452.8 MB, free: 5.969 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.5557, allocations: 19.44 kB / 452.8 MB, free: 5.957 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.156e-05/0.5557, allocations: 23.56 kB / 452.8 MB, free: 5.941 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006719/0.5564, allocations: 286.6 kB / 453.1 MB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.5565, allocations: 0 / 453.1 MB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.5565, allocations: 16.17 kB / 453.1 MB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.5565, allocations: 11.98 kB / 453.1 MB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000572/0.5571, allocations: 220.6 kB / 453.3 MB, free: 5.586 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004339/0.5615, allocations: 1.41 MB / 454.8 MB, free: 4.422 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008556/0.5624, allocations: 240.2 kB / 455 MB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/0.563, allocations: 213 kB / 455.2 MB, free: 4.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009676/0.5727, allocations: 4.237 MB / 459.4 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003776/0.5731, allocations: 169.1 kB / 459.6 MB, free: 15.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 6.329e-06/0.5732, allocations: 0 / 459.6 MB, free: 15.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009505/0.5741, allocations: 383.3 kB / 460 MB, free: 15.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.5742, allocations: 59.55 kB / 460 MB, free: 15.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.5755, allocations: 0.7136 MB / 460.7 MB, free: 14.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.5755, allocations: 28.58 kB / 460.8 MB, free: 14.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000421/0.576, allocations: 450.2 kB / 461.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.5761, allocations: 100.7 kB / 461.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.5761, allocations: 7.188 kB / 461.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.5763, allocations: 325.1 kB / 461.6 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.5766, allocations: 92.45 kB / 461.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.5769, allocations: 194.5 kB / 461.9 MB, free: 13.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.5772, allocations: 113.2 kB / 462 MB, free: 13.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.404e-06/0.5772, allocations: 0 / 462 MB, free: 13.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001118/0.5783, allocations: 470.6 kB / 462.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.5784, allocations: 8 kB / 462.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.106e-05/0.5785, allocations: 36 kB / 462.5 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002662/0.5788, allocations: 58.03 kB / 462.6 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.5792, allocations: 83.88 kB / 462.7 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/0.5819, allocations: 2.623 MB / 465.3 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.5825, allocations: 59.69 kB / 465.3 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.5825, allocations: 16 kB / 465.4 MB, free: 9.859 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001657/0.5827, allocations: 136.8 kB / 465.5 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.5829, allocations: 102.8 kB / 465.6 MB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.5842, allocations: 458.1 kB / 466 MB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.5843, allocations: 7.953 kB / 466.1 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.5843, allocations: 0 / 466.1 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.588e-06/0.5843, allocations: 0 / 466.1 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008962/0.5852, allocations: 0.5701 MB / 466.6 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-05/0.5853, allocations: 31.98 kB / 466.7 MB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.5856, allocations: 47.91 kB / 466.7 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000209/0.5858, allocations: 53.69 kB / 466.8 MB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.5859, allocations: 15.94 kB / 466.8 MB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002668/0.5886, allocations: 2.639 MB / 469.4 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5886, allocations: 128 / 469.4 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.5898, allocations: 0.5217 MB / 469.9 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003349/0.5902, allocations: 191.8 kB / 470.1 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.5903, allocations: 4 kB / 470.1 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.5907, allocations: 20.05 kB / 470.1 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.5908, allocations: 31.95 kB / 470.2 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.5908, allocations: 8 kB / 470.2 MB, free: 4.652 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009941/0.5918, allocations: 0.5632 MB / 470.7 MB, free: 4.078 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.99e-07/0.5919, allocations: 0 / 470.7 MB, free: 4.078 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009982/0.5929, allocations: 279.5 kB / 471 MB, free: 3.805 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008663/0.5937, allocations: 445.8 kB / 471.5 MB, free: 3.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.5948, allocations: 0.5096 MB / 472 MB, free: 2.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.145e-06/0.5948, allocations: 8.062 kB / 472 MB, free: 2.812 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006331/0.5954, allocations: 397.1 kB / 472.4 MB, free: 2.398 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.5959, allocations: 102.9 kB / 472.5 MB, free: 2.301 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.5986, allocations: 1.123 MB / 473.6 MB, free: 1.156 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007473/0.5994, allocations: 0.9836 MB / 474.6 MB, free: 148 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004009/0.5998, allocations: 85.73 kB / 474.6 MB, free: 60 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.5999, allocations: 47.44 kB / 474.7 MB, free: 12 kB / 378.7 MB Notification: Performance of SimCode: time 1.5e-06/0.5999, allocations: 4 kB / 474.7 MB, free: 8 kB / 378.7 MB Notification: Performance of Templates: time 0.02692/0.6269, allocations: 10.2 MB / 484.9 MB, free: 5.812 MB / 394.7 MB