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.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadModel(Modelica): time 1.746/1.746, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.69e-05/2.71e-05, allocations: 6.391 kB / 255.4 MB, free: 2.715 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07684/0.07689, allocations: 44.5 MB / 299.9 MB, free: 6.152 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3528/0.4297, allocations: 86.01 MB / 385.9 MB, free: 21.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/0.4301, allocations: 72.67 kB / 386 MB, free: 21.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1395/0.5697, allocations: 43.54 MB / 429.5 MB, free: 3.117 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.76e-06/0.5697, allocations: 0 / 429.5 MB, free: 3.117 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.328e-05/0.5698, allocations: 15.41 kB / 429.5 MB, free: 3.117 MB / 314.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.001766/0.5715, allocations: 1.109 MB / 430.6 MB, free: 2.316 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.5716, allocations: 7.75 kB / 430.6 MB, free: 2.316 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.5717, allocations: 116.2 kB / 430.8 MB, free: 2.258 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.5728, allocations: 0.7157 MB / 431.5 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.5729, allocations: 19.19 kB / 431.5 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.573, allocations: 29.66 kB / 431.5 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/0.5736, allocations: 286.2 kB / 431.8 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.5736, allocations: 0 / 431.8 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.5736, allocations: 6.75 kB / 431.8 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.5737, allocations: 19.31 kB / 431.8 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004644/0.5741, allocations: 220.9 kB / 432 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.5762, allocations: 1.405 MB / 433.4 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.5768, allocations: 245.5 kB / 433.7 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/0.5771, allocations: 216.1 kB / 433.9 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005845/0.583, allocations: 4.225 MB / 438.1 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000354/0.5834, allocations: 167.3 kB / 438.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.309e-06/0.5834, allocations: 3.688 kB / 438.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008487/0.5842, allocations: 383.5 kB / 438.7 MB, free: 12.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.5843, allocations: 58.98 kB / 438.7 MB, free: 12.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.5854, allocations: 0.7098 MB / 439.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.5855, allocations: 25.7 kB / 439.5 MB, free: 12.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.5859, allocations: 460.4 kB / 439.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.586, allocations: 97.12 kB / 440 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.586, allocations: 7.219 kB / 440 MB, free: 12.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5862, allocations: 320.9 kB / 440.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.5864, allocations: 86.33 kB / 440.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.5867, allocations: 193.6 kB / 440.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.587, allocations: 122.9 kB / 440.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.196e-06/0.587, allocations: 0 / 440.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009354/0.588, allocations: 472.7 kB / 441.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.588, allocations: 3.906 kB / 441.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.547e-05/0.5881, allocations: 30.72 kB / 441.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002575/0.5883, allocations: 68.36 kB / 441.3 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.5887, allocations: 73.52 kB / 441.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002605/0.5914, allocations: 2.648 MB / 444 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.5919, allocations: 46.28 kB / 444 MB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/0.5919, allocations: 22.12 kB / 444.1 MB, free: 8.883 MB / 330.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.0001556/0.5921, allocations: 130.5 kB / 444.2 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.5923, allocations: 111.4 kB / 444.3 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.5935, allocations: 452.5 kB / 444.7 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.303e-06/0.5936, allocations: 7.938 kB / 444.8 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.864e-06/0.5936, allocations: 0 / 444.8 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.5936, allocations: 0 / 444.8 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008429/0.5944, allocations: 0.5655 MB / 445.3 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.46e-05/0.5945, allocations: 39.88 kB / 445.4 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.5949, allocations: 51.16 kB / 445.4 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002351/0.5951, allocations: 49.17 kB / 445.5 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.5952, allocations: 11.67 kB / 445.5 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002608/0.5978, allocations: 2.638 MB / 448.1 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.431e-06/0.5978, allocations: 0 / 448.1 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.599, allocations: 0.5307 MB / 448.6 MB, free: 4.625 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003495/0.5994, allocations: 187.3 kB / 448.8 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.5995, allocations: 13.17 kB / 448.8 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.5999, allocations: 26.31 kB / 448.9 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.6, allocations: 22.22 kB / 448.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.6001, allocations: 18.23 kB / 448.9 MB, free: 4.367 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009996/0.6011, allocations: 0.558 MB / 449.5 MB, free: 3.938 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.21e-07/0.6011, allocations: 0 / 449.5 MB, free: 3.938 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009898/0.6021, allocations: 280.8 kB / 449.7 MB, free: 3.676 MB / 330.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.0008836/0.603, allocations: 442.1 kB / 450.2 MB, free: 3.242 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.604, allocations: 0.5143 MB / 450.7 MB, free: 2.793 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.303e-06/0.604, allocations: 0 / 450.7 MB, free: 2.793 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006274/0.6047, allocations: 400.6 kB / 451.1 MB, free: 2.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.6052, allocations: 99.33 kB / 451.2 MB, free: 2.371 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.6079, allocations: 1.122 MB / 452.3 MB, free: 1.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007352/0.6087, allocations: 0.9719 MB / 453.3 MB, free: 328 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004138/0.6091, allocations: 93.72 kB / 453.3 MB, free: 232 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.6092, allocations: 51.44 kB / 453.4 MB, free: 180 kB / 330.7 MB Notification: Performance of SimCode: time 1.6e-06/0.6092, allocations: 0 / 453.4 MB, free: 180 kB / 330.7 MB Notification: Performance of Templates: time 0.02747/0.6367, allocations: 10.21 MB / 463.6 MB, free: 5.988 MB / 346.7 MB