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_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadModel(Modelica): time 1.901/1.901, allocations: 171.2 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.178e-05, allocations: 4 kB / 228.1 MB, free: 8.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08382/0.08388, allocations: 38.77 MB / 266.9 MB, free: 1.148 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006247/0.09019, allocations: 4.025 MB / 270.9 MB, free: 13.09 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01568/0.1059, allocations: 8.613 MB / 279.5 MB, free: 4.457 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008982/0.1069, allocations: 11.94 kB / 279.5 MB, free: 4.445 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.1088, allocations: 497.3 kB / 280 MB, free: 3.957 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003401/0.1122, allocations: 0.72 MB / 280.7 MB, free: 3.234 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.1139, allocations: 354.9 kB / 281.1 MB, free: 2.887 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003423/0.1173, allocations: 1.112 MB / 282.2 MB, free: 1.773 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002775/0.1177, allocations: 69.16 kB / 282.3 MB, free: 1.707 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000396/0.1181, allocations: 195.4 kB / 282.5 MB, free: 1.516 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004471/0.1185, allocations: 246.8 kB / 282.7 MB, free: 1.273 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.1208, allocations: 0.6635 MB / 283.4 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.1211, allocations: 48 kB / 283.4 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.1212, allocations: 75.45 kB / 283.5 MB, free: 500 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002785/0.1215, allocations: 72 kB / 283.6 MB, free: 428 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.1232, allocations: 0.8845 MB / 284.4 MB, free: 15.53 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1232, allocations: 0 / 284.4 MB, free: 15.53 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.1233, allocations: 0 / 284.4 MB, free: 15.53 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.29e-05/0.1233, allocations: 0 / 284.4 MB, free: 15.53 MB / 250.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.002239/0.1255, allocations: 1.022 MB / 285.5 MB, free: 14.46 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.1256, allocations: 12.03 kB / 285.5 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002317/0.1259, allocations: 122.5 kB / 285.6 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.1274, allocations: 0.6962 MB / 286.3 MB, free: 13.58 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.1275, allocations: 20.56 kB / 286.3 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-05/0.1276, allocations: 35.83 kB / 286.3 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.1286, allocations: 329.3 kB / 286.7 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1286, allocations: 0 / 286.7 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/0.1287, allocations: 12 kB / 286.7 MB, free: 13.19 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.1287, allocations: 8 kB / 286.7 MB, free: 13.18 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.1299, allocations: 294.2 kB / 287 MB, free: 12.89 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/0.1329, allocations: 1.369 MB / 288.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.1342, allocations: 310.9 kB / 288.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00631/0.1405, allocations: 3.627 MB / 292.3 MB, free: 6.938 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006873/0.1412, allocations: 204.4 kB / 292.5 MB, free: 6.727 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 3.567e-06/0.1413, allocations: 0 / 292.5 MB, free: 6.727 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.002727/0.144, allocations: 0.8411 MB / 293.3 MB, free: 5.816 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.1441, allocations: 55.41 kB / 293.4 MB, free: 5.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.1454, allocations: 0.6926 MB / 294.1 MB, free: 5.043 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.622e-05/0.1455, allocations: 33.7 kB / 294.1 MB, free: 5.004 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/0.1459, allocations: 426.5 kB / 294.5 MB, free: 4.586 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.1461, allocations: 98.64 kB / 294.6 MB, free: 4.488 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.1461, allocations: 4 kB / 294.6 MB, free: 4.484 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1463, allocations: 322.8 kB / 294.9 MB, free: 4.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005195/0.1468, allocations: 132.7 kB / 295.1 MB, free: 4.031 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005869/0.1474, allocations: 228 kB / 295.3 MB, free: 3.762 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005637/0.148, allocations: 163.7 kB / 295.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.148, allocations: 0 / 295.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001568/0.1496, allocations: 451 kB / 295.9 MB, free: 3.148 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.1496, allocations: 13.59 kB / 295.9 MB, free: 3.137 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.878e-05/0.1497, allocations: 35.98 kB / 295.9 MB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003153/0.1501, allocations: 53.62 kB / 296 MB, free: 3.043 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/0.1506, allocations: 79.89 kB / 296.1 MB, free: 2.965 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/0.1535, allocations: 2.67 MB / 298.7 MB, free: 28 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.233/0.3865, allocations: 40.94 kB / 298.8 MB, free: 31.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.3867, allocations: 16.84 kB / 298.8 MB, free: 31.09 MB / 250.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.0004897/0.3872, allocations: 204.3 kB / 299 MB, free: 30.98 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.3873, allocations: 109.2 kB / 299.1 MB, free: 30.98 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/0.3894, allocations: 0.5072 MB / 299.6 MB, free: 30.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.3895, allocations: 2.75 kB / 299.6 MB, free: 30.91 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3895, allocations: 2.469 kB / 299.6 MB, free: 30.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.3895, allocations: 1.031 kB / 299.6 MB, free: 30.91 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009948/0.3905, allocations: 0.5599 MB / 300.2 MB, free: 30.72 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-05/0.3906, allocations: 31.17 kB / 300.2 MB, free: 30.72 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004542/0.3911, allocations: 44.08 kB / 300.2 MB, free: 30.72 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002455/0.3913, allocations: 55.27 kB / 300.3 MB, free: 30.71 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.3914, allocations: 12.28 kB / 300.3 MB, free: 30.71 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.3934, allocations: 2.654 MB / 303 MB, free: 28.21 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3935, allocations: 0 / 303 MB, free: 28.21 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.3955, allocations: 0.6364 MB / 303.6 MB, free: 28.02 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/0.3959, allocations: 182.7 kB / 303.8 MB, free: 27.86 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.396, allocations: 8.062 kB / 303.8 MB, free: 27.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/0.3965, allocations: 20.66 kB / 303.8 MB, free: 27.86 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.3966, allocations: 30.81 kB / 303.8 MB, free: 27.86 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.3967, allocations: 15.19 kB / 303.8 MB, free: 27.85 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001147/0.3978, allocations: 0.5377 MB / 304.4 MB, free: 27.62 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3979, allocations: 0 / 304.4 MB, free: 27.62 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0009566/0.3988, allocations: 242 kB / 304.6 MB, free: 27.6 MB / 250.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.0007958/0.3996, allocations: 352 kB / 305 MB, free: 27.49 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.4013, allocations: 0.599 MB / 305.6 MB, free: 27.14 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.4013, allocations: 0 / 305.6 MB, free: 27.14 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008764/0.4022, allocations: 457.5 kB / 306 MB, free: 26.82 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006543/0.4029, allocations: 96.69 kB / 306.1 MB, free: 26.77 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.4066, allocations: 1.756 MB / 307.9 MB, free: 25.81 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005811/0.4073, allocations: 0.9731 MB / 308.8 MB, free: 25.1 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.4075, allocations: 52.12 kB / 308.9 MB, free: 25.08 MB / 250.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4075, allocations: 0 / 308.9 MB, free: 25.08 MB / 250.7 MB Notification: Performance of Templates: time 0.03105/0.4386, allocations: 16.68 MB / 325.6 MB, free: 13.84 MB / 250.7 MB