Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadModel(Modelica): time 2.188/2.188, allocations: 224.7 MB / 241.1 MB, free: 1.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.213e-05, allocations: 4 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 50.42 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006236/0.1181, allocations: 4.006 MB / 349 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0199/0.1381, allocations: 8.905 MB / 357.9 MB, free: 12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009764/0.1391, allocations: 8 kB / 357.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002329/0.1415, allocations: 0.4895 MB / 358.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004089/0.1456, allocations: 0.7278 MB / 359.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.1476, allocations: 350.9 kB / 359.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004241/0.1519, allocations: 1.135 MB / 360.6 MB, free: 9.289 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003253/0.1522, allocations: 73.16 kB / 360.7 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005366/0.1528, allocations: 211.3 kB / 360.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006431/0.1535, allocations: 250.8 kB / 361.1 MB, free: 8.762 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003263/0.1567, allocations: 0.7064 MB / 361.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003163/0.1571, allocations: 52 kB / 361.9 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.1573, allocations: 83.39 kB / 362 MB, free: 7.922 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003484/0.1576, allocations: 72 kB / 362 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002166/0.1598, allocations: 0.8689 MB / 362.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1599, allocations: 0 / 362.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.1599, allocations: 0 / 362.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.281e-05/0.1599, allocations: 4 kB / 362.9 MB, free: 6.977 MB / 298.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.002819/0.1628, allocations: 1.026 MB / 363.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.1628, allocations: 8.031 kB / 363.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003122/0.1632, allocations: 114.6 kB / 364 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.1653, allocations: 0.7078 MB / 364.7 MB, free: 5.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/0.1653, allocations: 16.56 kB / 364.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.1655, allocations: 31.98 kB / 364.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.1669, allocations: 329.3 kB / 365.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.167, allocations: 3.938 kB / 365.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.751e-05/0.1671, allocations: 15.98 kB / 365.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.1671, allocations: 4 kB / 365.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.1687, allocations: 302.1 kB / 365.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004121/0.1729, allocations: 1.365 MB / 366.8 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.1745, allocations: 318.8 kB / 367.1 MB, free: 2.547 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008466/0.183, allocations: 3.612 MB / 370.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009243/0.184, allocations: 212.2 kB / 370.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 4.539e-06/0.184, allocations: 0 / 370.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.003709/0.1877, allocations: 0.8425 MB / 371.8 MB, free: 13.26 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.1878, allocations: 51.41 kB / 371.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.1897, allocations: 0.6926 MB / 372.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.5e-05/0.1898, allocations: 25.7 kB / 372.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005893/0.1904, allocations: 430.4 kB / 373 MB, free: 12.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.1906, allocations: 98.64 kB / 373.1 MB, free: 11.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.1907, allocations: 8 kB / 373.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1908, allocations: 330.8 kB / 373.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007119/0.1916, allocations: 128.7 kB / 373.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008146/0.1924, allocations: 228 kB / 373.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000755/0.1932, allocations: 156.4 kB / 373.9 MB, free: 11.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.1932, allocations: 0 / 373.9 MB, free: 11.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002067/0.1953, allocations: 458.6 kB / 374.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.1953, allocations: 8 kB / 374.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/0.1955, allocations: 31.98 kB / 374.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003821/0.1959, allocations: 61.64 kB / 374.4 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007493/0.1966, allocations: 76.3 kB / 374.5 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003556/0.2002, allocations: 2.658 MB / 377.2 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008149/0.2011, allocations: 51.77 kB / 377.2 MB, free: 7.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.2012, allocations: 20 kB / 377.2 MB, free: 7.414 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.0004353/0.2016, allocations: 205.7 kB / 377.4 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.2018, allocations: 110.7 kB / 377.5 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.2038, allocations: 0.509 MB / 378.1 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.2039, allocations: 4 kB / 378.1 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2039, allocations: 4 kB / 378.1 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.2039, allocations: 3.984 kB / 378.1 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009679/0.2049, allocations: 0.5467 MB / 378.6 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.716e-05/0.205, allocations: 31.98 kB / 378.6 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.2055, allocations: 47.88 kB / 378.7 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002512/0.2057, allocations: 49.69 kB / 378.7 MB, free: 5.832 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.2058, allocations: 19.92 kB / 378.8 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002635/0.2084, allocations: 2.658 MB / 381.4 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2085, allocations: 0 / 381.4 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.2106, allocations: 0.6309 MB / 382.1 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.211, allocations: 187.8 kB / 382.2 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.2111, allocations: 0 / 382.2 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.2116, allocations: 24.05 kB / 382.3 MB, free: 2.008 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.2117, allocations: 35.89 kB / 382.3 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.2118, allocations: 8 kB / 382.3 MB, free: 1.965 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001057/0.2128, allocations: 0.5427 MB / 382.8 MB, free: 1.414 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.2129, allocations: 0 / 382.8 MB, free: 1.414 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009429/0.2138, allocations: 239.7 kB / 383.1 MB, free: 1.18 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.0007999/0.2146, allocations: 344.5 kB / 383.4 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.2163, allocations: 0.6077 MB / 384 MB, free: 204 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.2163, allocations: 4 kB / 384 MB, free: 200 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009891/0.2173, allocations: 451 kB / 384.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/0.2182, allocations: 112.3 kB / 384.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.2223, allocations: 1.76 MB / 386.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007815/0.2231, allocations: 0.9756 MB / 387.3 MB, free: 12.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.2233, allocations: 43.44 kB / 387.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.573e-06/0.2234, allocations: 0 / 387.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of Templates: time 0.3568/0.5802, allocations: 16.69 MB / 404 MB, free: 52.1 MB / 330.7 MB