Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadModel(Modelica): time 1.962/1.962, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.875e-05/2.885e-05, allocations: 5.562 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09336/0.09341, allocations: 50.41 MB / 342.5 MB, free: 6.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3961/0.4896, allocations: 92.74 MB / 435.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.4898, allocations: 72.58 kB / 435.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1388/0.6287, allocations: 46.26 MB / 481.6 MB, free: 7.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.263e-06/0.6287, allocations: 0 / 481.6 MB, free: 7.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.697e-05/0.6288, allocations: 12 kB / 481.6 MB, free: 7.969 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.002141/0.6309, allocations: 1.109 MB / 482.7 MB, free: 6.816 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.631, allocations: 8.031 kB / 482.8 MB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.6312, allocations: 118.7 kB / 482.9 MB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.6326, allocations: 0.7209 MB / 483.6 MB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.6327, allocations: 28.45 kB / 483.6 MB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.802e-05/0.6328, allocations: 24 kB / 483.6 MB, free: 5.867 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006814/0.6335, allocations: 289.1 kB / 483.9 MB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.6335, allocations: 4 kB / 483.9 MB, free: 5.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/0.6335, allocations: 12 kB / 483.9 MB, free: 5.559 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.6336, allocations: 7.984 kB / 483.9 MB, free: 5.551 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005537/0.6341, allocations: 221.2 kB / 484.2 MB, free: 5.336 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00271/0.6369, allocations: 1.404 MB / 485.6 MB, free: 3.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005831/0.6375, allocations: 242.9 kB / 485.8 MB, free: 3.594 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/0.6379, allocations: 224.7 kB / 486 MB, free: 3.371 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007676/0.6456, allocations: 4.228 MB / 490.3 MB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008193/0.6465, allocations: 168.2 kB / 490.4 MB, free: 14.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 6.876e-06/0.6466, allocations: 0 / 490.4 MB, free: 14.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.002011/0.6486, allocations: 382.9 kB / 490.8 MB, free: 13.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.56e-05/0.6487, allocations: 55.59 kB / 490.8 MB, free: 13.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/0.6513, allocations: 0.7132 MB / 491.6 MB, free: 13.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.248e-05/0.6514, allocations: 33.7 kB / 491.6 MB, free: 13.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007547/0.6522, allocations: 426.4 kB / 492 MB, free: 12.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.6525, allocations: 98.62 kB / 492.1 MB, free: 12.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.6526, allocations: 8 kB / 492.1 MB, free: 12.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002832/0.6529, allocations: 326.8 kB / 492.4 MB, free: 12.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004937/0.6534, allocations: 92.7 kB / 492.5 MB, free: 12.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006423/0.654, allocations: 199.7 kB / 492.7 MB, free: 11.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005854/0.6546, allocations: 120.4 kB / 492.8 MB, free: 11.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.946e-06/0.6547, allocations: 4 kB / 492.8 MB, free: 11.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001878/0.6566, allocations: 367.1 kB / 493.2 MB, free: 11.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.6567, allocations: 12.06 kB / 493.2 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001237/0.6568, allocations: 31.98 kB / 493.2 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004663/0.6573, allocations: 61.59 kB / 493.3 MB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007926/0.6581, allocations: 83.67 kB / 493.4 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004628/0.6628, allocations: 2.635 MB / 496 MB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.6639, allocations: 51.52 kB / 496.1 MB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.664, allocations: 24 kB / 496.1 MB, free: 8.246 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.0002686/0.6643, allocations: 128.9 kB / 496.2 MB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003214/0.6647, allocations: 106.7 kB / 496.3 MB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/0.6672, allocations: 458.2 kB / 496.8 MB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.6673, allocations: 4 kB / 496.8 MB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.978e-06/0.6673, allocations: 0 / 496.8 MB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.6673, allocations: 0 / 496.8 MB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.669, allocations: 0.5623 MB / 497.3 MB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001161/0.6692, allocations: 35.92 kB / 497.4 MB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006098/0.6698, allocations: 51.95 kB / 497.4 MB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003716/0.6702, allocations: 45.69 kB / 497.5 MB, free: 6.797 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.381e-05/0.6703, allocations: 12 kB / 497.5 MB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004576/0.6749, allocations: 2.632 MB / 0.4884 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-05/0.675, allocations: 7.984 kB / 0.4884 GB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.6773, allocations: 0.5257 MB / 0.4889 GB, free: 3.328 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000619/0.678, allocations: 195.9 kB / 0.4891 GB, free: 3.117 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002483/0.6782, allocations: 7.984 kB / 0.4891 GB, free: 3.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007502/0.679, allocations: 19.98 kB / 0.4891 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.6792, allocations: 27.95 kB / 0.4891 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/0.6793, allocations: 12 kB / 0.4892 GB, free: 3.051 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001993/0.6813, allocations: 0.5593 MB / 0.4897 GB, free: 2.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.156e-06/0.6813, allocations: 0 / 0.4897 GB, free: 2.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001905/0.6833, allocations: 283.6 kB / 0.49 GB, free: 2.203 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.001532/0.6848, allocations: 437.2 kB / 0.4904 GB, free: 1.766 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00184/0.6867, allocations: 0.5161 MB / 0.4909 GB, free: 1.227 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.554e-06/0.6867, allocations: 0 / 0.4909 GB, free: 1.227 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.6879, allocations: 401.1 kB / 0.4913 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.6892, allocations: 113.2 kB / 0.4914 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005192/0.6944, allocations: 1.167 MB / 0.4925 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.6957, allocations: 0.9719 MB / 0.4935 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.696, allocations: 51.44 kB / 0.4935 GB, free: 14.45 MB / 426.7 MB Notification: Performance of SimCode: time 2.321e-06/0.696, allocations: 0 / 0.4935 GB, free: 14.45 MB / 426.7 MB Notification: Performance of Templates: time 0.0418/0.7379, allocations: 17.41 MB / 0.5105 GB, free: 13.03 MB / 442.7 MB