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.892/1.892, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.04e-05/3.038e-05, allocations: 4 kB / 258.8 MB, free: 8.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2954, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006266/0.3017, allocations: 4.029 MB / 307.3 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01501/0.3167, allocations: 8.626 MB / 316 MB, free: 0.918 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008881/0.3177, allocations: 11.94 kB / 316 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.3194, allocations: 0.4895 MB / 316.5 MB, free: 424 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00325/0.3227, allocations: 0.7202 MB / 317.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.3242, allocations: 350.8 kB / 317.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003099/0.3273, allocations: 1.116 MB / 318.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.3275, allocations: 69.16 kB / 318.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.3279, allocations: 199.4 kB / 318.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004264/0.3284, allocations: 246.8 kB / 319.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.3306, allocations: 0.6519 MB / 319.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.3308, allocations: 48 kB / 319.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.331, allocations: 83.38 kB / 319.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.3312, allocations: 72 kB / 320 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.3327, allocations: 0.8826 MB / 320.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3327, allocations: 4 kB / 320.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3327, allocations: 3.938 kB / 320.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.3328, allocations: 0 / 320.9 MB, free: 11.97 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.002104/0.3349, allocations: 1.026 MB / 321.9 MB, free: 10.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3349, allocations: 8.031 kB / 321.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.3352, allocations: 118.7 kB / 322 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.3367, allocations: 0.6922 MB / 322.7 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.3367, allocations: 20.56 kB / 322.8 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.547e-05/0.3368, allocations: 24 kB / 322.8 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.3379, allocations: 325.3 kB / 323.1 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3379, allocations: 0 / 323.1 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/0.3379, allocations: 15.95 kB / 323.1 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.338, allocations: 11.98 kB / 323.1 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.3391, allocations: 294.2 kB / 323.4 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/0.342, allocations: 1.384 MB / 324.8 MB, free: 7.867 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.3431, allocations: 310.8 kB / 325.1 MB, free: 7.555 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006347/0.3495, allocations: 3.616 MB / 328.7 MB, free: 3.395 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007009/0.3503, allocations: 200.4 kB / 328.9 MB, free: 3.188 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 3.055e-06/0.3503, allocations: 0 / 328.9 MB, free: 3.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002667/0.353, allocations: 0.8495 MB / 329.8 MB, free: 2.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.353, allocations: 59.34 kB / 329.8 MB, free: 2.199 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.3543, allocations: 0.6888 MB / 330.5 MB, free: 1.496 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.3544, allocations: 29.7 kB / 330.5 MB, free: 1.461 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005158/0.3549, allocations: 452.4 kB / 331 MB, free: 1.012 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.3551, allocations: 94.64 kB / 331.1 MB, free: 0.918 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.3551, allocations: 8 kB / 331.1 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3552, allocations: 318 kB / 331.4 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/0.3558, allocations: 128.7 kB / 331.5 MB, free: 480 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005915/0.3564, allocations: 232.1 kB / 331.7 MB, free: 200 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005486/0.3569, allocations: 151.8 kB / 331.9 MB, free: 48 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.357, allocations: 0 / 331.9 MB, free: 48 kB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001731/0.3587, allocations: 0.5447 MB / 332.4 MB, free: 15.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.3587, allocations: 12 kB / 332.5 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.297e-05/0.3588, allocations: 35.98 kB / 332.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002951/0.3591, allocations: 49.69 kB / 332.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/0.3597, allocations: 75.89 kB / 332.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.3624, allocations: 2.67 MB / 335.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006009/0.363, allocations: 43.67 kB / 335.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/0.3631, allocations: 20 kB / 335.3 MB, free: 12.31 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.0004099/0.3635, allocations: 204.9 kB / 335.5 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.3637, allocations: 106.7 kB / 335.6 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/0.3656, allocations: 0.5129 MB / 336.2 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.3656, allocations: 7.984 kB / 336.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/0.3657, allocations: 0 / 336.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3657, allocations: 0 / 336.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008964/0.3666, allocations: 0.5583 MB / 336.7 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.319e-05/0.3667, allocations: 31.98 kB / 336.8 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.3671, allocations: 51.95 kB / 336.8 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002423/0.3674, allocations: 49.69 kB / 336.9 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.3674, allocations: 4 kB / 336.9 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.3701, allocations: 2.662 MB / 339.5 MB, free: 7.789 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3701, allocations: 0 / 339.5 MB, free: 7.789 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/0.3722, allocations: 0.6347 MB / 340.2 MB, free: 7.129 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/0.3725, allocations: 179.8 kB / 340.3 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.3727, allocations: 8 kB / 340.3 MB, free: 6.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/0.3731, allocations: 27.92 kB / 340.4 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.3733, allocations: 19.97 kB / 340.4 MB, free: 6.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.3733, allocations: 16.06 kB / 340.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001061/0.3744, allocations: 0.5428 MB / 340.9 MB, free: 6.312 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3744, allocations: 0 / 340.9 MB, free: 6.312 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008876/0.3753, allocations: 239.7 kB / 341.2 MB, free: 6.078 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.0007753/0.3761, allocations: 344.4 kB / 341.5 MB, free: 5.727 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.3777, allocations: 0.6127 MB / 342.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3778, allocations: 0 / 342.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009646/0.3788, allocations: 453.8 kB / 342.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006113/0.3794, allocations: 92.33 kB / 342.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/0.3833, allocations: 1.722 MB / 344.4 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006694/0.384, allocations: 0.9717 MB / 345.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004837/0.3845, allocations: 85.19 kB / 345.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.3846, allocations: 43.44 kB / 345.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3846, allocations: 0 / 345.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of Templates: time 0.02588/0.4105, allocations: 7.886 MB / 353.4 MB, free: 9.762 MB / 298.7 MB