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_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadModel(Modelica): time 2.117/2.117, allocations: 194.9 MB / 211.2 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.73e-05/2.727e-05, allocations: 4 kB / 258.8 MB, free: 8.703 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3063, allocations: 44.5 MB / 303.3 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006666/0.313, allocations: 4.033 MB / 307.3 MB, free: 9.562 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01637/0.3294, allocations: 8.627 MB / 315.9 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.3305, allocations: 8 kB / 316 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.3324, allocations: 497.3 kB / 316.4 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003758/0.3362, allocations: 0.7201 MB / 317.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.338, allocations: 347 kB / 317.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003539/0.3416, allocations: 1.135 MB / 318.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.3419, allocations: 69.16 kB / 318.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003815/0.3423, allocations: 195.4 kB / 318.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004329/0.3427, allocations: 246.8 kB / 319.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.3452, allocations: 0.6597 MB / 319.8 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000299/0.3455, allocations: 48 kB / 319.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.3457, allocations: 79.39 kB / 319.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002985/0.346, allocations: 72 kB / 320 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.3478, allocations: 0.886 MB / 320.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3478, allocations: 0 / 320.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3479, allocations: 0 / 320.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.486e-05/0.3479, allocations: 3.938 kB / 320.9 MB, free: 12.07 MB / 266.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.002447/0.3503, allocations: 1.022 MB / 321.9 MB, free: 11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.3504, allocations: 8.031 kB / 321.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.3507, allocations: 118.7 kB / 322 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.3528, allocations: 0.6961 MB / 322.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.308e-05/0.3529, allocations: 24.55 kB / 322.7 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.565e-05/0.353, allocations: 24 kB / 322.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.3541, allocations: 329.3 kB / 323.1 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.3541, allocations: 0 / 323.1 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.792e-05/0.3542, allocations: 15.95 kB / 323.1 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.3542, allocations: 4 kB / 323.1 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.3553, allocations: 302.1 kB / 323.4 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003262/0.3586, allocations: 1.376 MB / 324.8 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.3599, allocations: 314.8 kB / 325.1 MB, free: 7.645 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006799/0.3667, allocations: 3.616 MB / 328.7 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000714/0.3675, allocations: 200.4 kB / 328.9 MB, free: 3.277 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 3.286e-06/0.3675, allocations: 0 / 328.9 MB, free: 3.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002802/0.3703, allocations: 0.8495 MB / 329.7 MB, free: 2.359 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.3704, allocations: 59.39 kB / 329.8 MB, free: 2.289 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.3718, allocations: 0.6849 MB / 330.5 MB, free: 1.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.888e-05/0.3719, allocations: 29.7 kB / 330.5 MB, free: 1.555 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004723/0.3724, allocations: 434.3 kB / 330.9 MB, free: 1.125 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.3725, allocations: 98.64 kB / 331 MB, free: 1.027 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.3726, allocations: 8 kB / 331 MB, free: 1.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.3728, allocations: 322.8 kB / 331.4 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005539/0.3733, allocations: 132.7 kB / 331.5 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006204/0.374, allocations: 224.1 kB / 331.7 MB, free: 308 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/0.3746, allocations: 151.8 kB / 331.9 MB, free: 156 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.3746, allocations: 4 kB / 331.9 MB, free: 152 kB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001627/0.3762, allocations: 470.8 kB / 332.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.3763, allocations: 8 kB / 332.3 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.151e-05/0.3764, allocations: 35.98 kB / 332.4 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000332/0.3767, allocations: 49.69 kB / 332.4 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/0.3773, allocations: 75.89 kB / 332.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/0.3802, allocations: 2.666 MB / 335.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006636/0.3809, allocations: 47.58 kB / 335.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-05/0.381, allocations: 20 kB / 335.2 MB, free: 12.5 MB / 282.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.0004359/0.3815, allocations: 205.8 kB / 335.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.3817, allocations: 102.8 kB / 335.5 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.3837, allocations: 0.5129 MB / 336 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.3837, allocations: 7.938 kB / 336 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3838, allocations: 0 / 336 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.3838, allocations: 3.984 kB / 336 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.3848, allocations: 0.5467 MB / 336.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-05/0.3849, allocations: 31.98 kB / 336.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004666/0.3854, allocations: 47.97 kB / 336.7 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002659/0.3857, allocations: 53.67 kB / 336.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-05/0.3858, allocations: 4 kB / 336.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/0.3885, allocations: 2.67 MB / 339.4 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3886, allocations: 0 / 339.4 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.3908, allocations: 0.6348 MB / 340 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/0.3912, allocations: 183.7 kB / 340.2 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.3914, allocations: 8 kB / 340.2 MB, free: 7.113 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/0.3919, allocations: 23.94 kB / 340.2 MB, free: 7.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.392, allocations: 27.95 kB / 340.3 MB, free: 7.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.3921, allocations: 16 kB / 340.3 MB, free: 7.047 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001142/0.3932, allocations: 0.5428 MB / 340.8 MB, free: 6.496 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.3933, allocations: 0 / 340.8 MB, free: 6.496 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009816/0.3942, allocations: 235.7 kB / 341.1 MB, free: 6.266 MB / 282.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.0008431/0.3951, allocations: 340.5 kB / 341.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.397, allocations: 0.6128 MB / 342 MB, free: 5.273 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.3971, allocations: 0 / 342 MB, free: 5.273 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.3981, allocations: 453.5 kB / 342.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006735/0.3988, allocations: 92.33 kB / 342.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/0.4031, allocations: 1.763 MB / 344.3 MB, free: 2.914 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007138/0.4038, allocations: 0.9717 MB / 345.3 MB, free: 1.914 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.4041, allocations: 43.44 kB / 345.3 MB, free: 1.871 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4041, allocations: 0 / 345.3 MB, free: 1.871 MB / 282.7 MB Notification: Performance of Templates: time 0.03424/0.4383, allocations: 16.68 MB / 362 MB, free: 1.18 MB / 298.7 MB