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.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadModel(Modelica): time 1.86/1.86, allocations: 171.2 MB / 183.3 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.949e-05, allocations: 0 / 225 MB, free: 2.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2127, allocations: 38.77 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.3379, allocations: 81.88 MB / 345.7 MB, free: 7.82 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.3382, allocations: 75.95 kB / 345.7 MB, free: 7.746 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3094/0.6476, allocations: 44 MB / 389.7 MB, free: 80.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.418e-06/0.6476, allocations: 0 / 389.7 MB, free: 80.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.608e-05/0.6477, allocations: 17.53 kB / 389.8 MB, free: 80.93 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.001818/0.6495, allocations: 1.1 MB / 390.9 MB, free: 80.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.6496, allocations: 9.719 kB / 390.9 MB, free: 80.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.6498, allocations: 115.7 kB / 391 MB, free: 80.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.651, allocations: 0.7188 MB / 391.7 MB, free: 79.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.6511, allocations: 27.17 kB / 391.7 MB, free: 79.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-05/0.6512, allocations: 25.88 kB / 391.7 MB, free: 79.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006361/0.6518, allocations: 289.1 kB / 392 MB, free: 79.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.6519, allocations: 0 / 392 MB, free: 79.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/0.6519, allocations: 12 kB / 392 MB, free: 79.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.6519, allocations: 7.797 kB / 392 MB, free: 79.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004914/0.6524, allocations: 224.9 kB / 392.3 MB, free: 79.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.6548, allocations: 1.39 MB / 393.7 MB, free: 78.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/0.6554, allocations: 246.6 kB / 393.9 MB, free: 77.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.6557, allocations: 212.7 kB / 394.1 MB, free: 77.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004949/0.6607, allocations: 4.241 MB / 398.3 MB, free: 73.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003302/0.6611, allocations: 171.4 kB / 398.5 MB, free: 72.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.646e-06/0.6611, allocations: 0 / 398.5 MB, free: 72.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008499/0.6619, allocations: 381.1 kB / 398.9 MB, free: 72.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.662, allocations: 59.53 kB / 398.9 MB, free: 72.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.6631, allocations: 0.71 MB / 399.7 MB, free: 71.81 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/0.6631, allocations: 33.7 kB / 399.7 MB, free: 71.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.6635, allocations: 441.3 kB / 400.1 MB, free: 71.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.6636, allocations: 97.45 kB / 400.2 MB, free: 71.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.6636, allocations: 11.94 kB / 400.2 MB, free: 71.28 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.064e-05/0.6637, allocations: 325.5 kB / 400.5 MB, free: 70.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.6639, allocations: 92.77 kB / 400.6 MB, free: 70.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.6642, allocations: 195.3 kB / 400.8 MB, free: 70.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.6644, allocations: 119.2 kB / 400.9 MB, free: 70.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6645, allocations: 7.938 kB / 400.9 MB, free: 70.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009621/0.6654, allocations: 477.4 kB / 401.4 MB, free: 70.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.6655, allocations: 4 kB / 401.4 MB, free: 70.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.979e-05/0.6655, allocations: 32 kB / 401.5 MB, free: 70.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002478/0.6658, allocations: 52.38 kB / 401.5 MB, free: 69.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.6662, allocations: 82.44 kB / 401.6 MB, free: 69.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.6679, allocations: 2.641 MB / 404.2 MB, free: 67.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006025/0.6686, allocations: 47.48 kB / 404.3 MB, free: 67.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/0.6686, allocations: 20.06 kB / 404.3 MB, free: 67 MB / 314.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.0001188/0.6688, allocations: 132.8 kB / 404.4 MB, free: 66.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.6689, allocations: 106.6 kB / 404.5 MB, free: 66.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.6702, allocations: 458.4 kB / 405 MB, free: 66.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.381e-06/0.6702, allocations: 4 kB / 405 MB, free: 66.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.646e-06/0.6702, allocations: 7.953 kB / 405 MB, free: 66.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.529e-06/0.6702, allocations: 0 / 405 MB, free: 66.35 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007624/0.671, allocations: 0.5585 MB / 405.5 MB, free: 65.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.288e-05/0.6711, allocations: 31.23 kB / 405.6 MB, free: 65.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.6714, allocations: 52.66 kB / 405.6 MB, free: 65.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002083/0.6716, allocations: 54.47 kB / 405.7 MB, free: 65.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.6717, allocations: 12.08 kB / 405.7 MB, free: 65.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.6733, allocations: 2.635 MB / 408.3 MB, free: 62.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.393e-06/0.6734, allocations: 3.625 kB / 408.3 MB, free: 62.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.6745, allocations: 0.5372 MB / 408.9 MB, free: 62.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.6748, allocations: 179.9 kB / 409 MB, free: 62.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.6749, allocations: 11.98 kB / 409.1 MB, free: 62.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/0.6753, allocations: 19.98 kB / 409.1 MB, free: 62.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.6754, allocations: 19.97 kB / 409.1 MB, free: 62.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.6754, allocations: 24.05 kB / 409.1 MB, free: 61.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009012/0.6764, allocations: 0.5516 MB / 409.7 MB, free: 61.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.467e-06/0.6764, allocations: 0 / 409.7 MB, free: 61.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001044/0.6774, allocations: 283.5 kB / 409.9 MB, free: 61.14 MB / 314.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.0007567/0.6782, allocations: 448.8 kB / 410.4 MB, free: 60.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008812/0.6791, allocations: 0.5088 MB / 410.9 MB, free: 60.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.332e-06/0.6791, allocations: 0 / 410.9 MB, free: 60.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.6797, allocations: 410 kB / 411.3 MB, free: 59.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006185/0.6803, allocations: 92.3 kB / 411.4 MB, free: 59.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.6827, allocations: 1.127 MB / 412.5 MB, free: 58.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.6832, allocations: 0.9756 MB / 413.5 MB, free: 57.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004471/0.6837, allocations: 97.7 kB / 413.6 MB, free: 57.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.6838, allocations: 43.44 kB / 413.6 MB, free: 57.35 MB / 314.7 MB Notification: Performance of SimCode: time 1.779e-06/0.6838, allocations: 0 / 413.6 MB, free: 57.35 MB / 314.7 MB Notification: Performance of Templates: time 0.02481/0.7086, allocations: 10.22 MB / 423.8 MB, free: 47.14 MB / 314.7 MB