Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadModel(Modelica): time 1.854/1.854, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.697e-05/2.704e-05, allocations: 7.797 kB / 292.1 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08874/0.08878, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3731/0.462, allocations: 92.67 MB / 435.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.4622, allocations: 75.83 kB / 435.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1319/0.5942, allocations: 46.26 MB / 481.6 MB, free: 7.699 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.558e-06/0.5942, allocations: 0 / 481.6 MB, free: 7.699 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.719e-05/0.5943, allocations: 16 kB / 481.6 MB, free: 7.684 MB / 394.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.002043/0.5964, allocations: 1.108 MB / 482.7 MB, free: 6.531 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.5964, allocations: 8.031 kB / 482.7 MB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.5966, allocations: 114.7 kB / 482.8 MB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.598, allocations: 0.717 MB / 483.5 MB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.5981, allocations: 24.45 kB / 483.6 MB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.753e-05/0.5982, allocations: 36 kB / 483.6 MB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006588/0.5988, allocations: 285 kB / 483.9 MB, free: 5.297 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.5989, allocations: 0 / 483.9 MB, free: 5.297 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/0.5989, allocations: 16 kB / 483.9 MB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.599, allocations: 8 kB / 483.9 MB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000551/0.5995, allocations: 221.3 kB / 484.1 MB, free: 5.059 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00263/0.6022, allocations: 1.4 MB / 485.5 MB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/0.6028, allocations: 238.9 kB / 485.7 MB, free: 3.324 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004309/0.6032, allocations: 220.8 kB / 486 MB, free: 3.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006389/0.6096, allocations: 4.24 MB / 490.2 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003848/0.61, allocations: 166.8 kB / 490.4 MB, free: 14.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.563e-06/0.61, allocations: 0 / 490.4 MB, free: 14.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009299/0.611, allocations: 378.9 kB / 490.7 MB, free: 13.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.611, allocations: 59.59 kB / 490.8 MB, free: 13.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.6123, allocations: 0.7132 MB / 491.5 MB, free: 12.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.6124, allocations: 29.7 kB / 491.5 MB, free: 12.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004987/0.6129, allocations: 448.4 kB / 492 MB, free: 12.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.613, allocations: 98.62 kB / 492.1 MB, free: 12.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.613, allocations: 11.94 kB / 492.1 MB, free: 12.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.6132, allocations: 321.9 kB / 492.4 MB, free: 11.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.6135, allocations: 88.77 kB / 492.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.6138, allocations: 199.7 kB / 492.7 MB, free: 11.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.6141, allocations: 120.4 kB / 492.8 MB, free: 11.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.115e-06/0.6141, allocations: 0 / 492.8 MB, free: 11.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001029/0.6152, allocations: 461.7 kB / 493.2 MB, free: 11.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.6152, allocations: 8.438 kB / 493.2 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-05/0.6153, allocations: 39.98 kB / 493.3 MB, free: 11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002657/0.6156, allocations: 61.58 kB / 493.3 MB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/0.616, allocations: 83.73 kB / 493.4 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0027/0.6187, allocations: 2.632 MB / 496.1 MB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.6192, allocations: 47.61 kB / 496.1 MB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/0.6193, allocations: 20 kB / 496.1 MB, free: 7.879 MB / 410.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.0001572/0.6194, allocations: 128.9 kB / 496.3 MB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.6196, allocations: 110.6 kB / 496.4 MB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.6209, allocations: 462.2 kB / 496.8 MB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.588e-06/0.6209, allocations: 0 / 496.8 MB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.613e-06/0.6209, allocations: 4 kB / 496.8 MB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.621, allocations: 3.938 kB / 496.8 MB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008751/0.6218, allocations: 0.5661 MB / 497.4 MB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-05/0.6219, allocations: 31.98 kB / 497.4 MB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.6223, allocations: 47.95 kB / 497.5 MB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002037/0.6225, allocations: 49.69 kB / 497.5 MB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.6225, allocations: 8 kB / 497.5 MB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/0.6252, allocations: 2.639 MB / 0.4884 GB, free: 3.504 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.355e-06/0.6252, allocations: 3.953 kB / 0.4884 GB, free: 3.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.6264, allocations: 0.5283 MB / 0.489 GB, free: 2.949 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/0.6267, allocations: 187.8 kB / 0.4891 GB, free: 2.746 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.6269, allocations: 8.125 kB / 0.4891 GB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.6272, allocations: 23.98 kB / 0.4892 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.6273, allocations: 27.95 kB / 0.4892 GB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/0.6274, allocations: 8 kB / 0.4892 GB, free: 2.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009717/0.6284, allocations: 0.5632 MB / 0.4898 GB, free: 2.105 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.606e-06/0.6284, allocations: 0 / 0.4898 GB, free: 2.105 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000938/0.6293, allocations: 287.4 kB / 0.49 GB, free: 1.824 MB / 410.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.0008749/0.6302, allocations: 445.2 kB / 0.4905 GB, free: 1.375 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009962/0.6313, allocations: 0.513 MB / 0.491 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.913e-06/0.6313, allocations: 4 kB / 0.491 GB, free: 0.832 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006232/0.6319, allocations: 393.2 kB / 0.4913 GB, free: 432 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006119/0.6325, allocations: 113.3 kB / 0.4914 GB, free: 320 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.6352, allocations: 1.134 MB / 0.4925 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007355/0.636, allocations: 0.9719 MB / 0.4935 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004281/0.6364, allocations: 89.72 kB / 0.4936 GB, free: 14.06 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.6366, allocations: 51.44 kB / 0.4936 GB, free: 14.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.41e-06/0.6366, allocations: 0 / 0.4936 GB, free: 14.01 MB / 426.7 MB Notification: Performance of Templates: time 0.02886/0.6655, allocations: 10.22 MB / 0.5036 GB, free: 3.828 MB / 426.7 MB