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.843/1.843, allocations: 171.2 MB / 185.7 MB, free: 1.387 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.03e-05, allocations: 4 kB / 228.2 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08106/0.08112, allocations: 38.75 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006375/0.08755, allocations: 4.03 MB / 270.9 MB, free: 12.43 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.1033, allocations: 8.609 MB / 279.5 MB, free: 3.797 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008186/0.1041, allocations: 19.94 kB / 279.6 MB, free: 3.777 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.1058, allocations: 489.3 kB / 280 MB, free: 3.297 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003182/0.109, allocations: 0.72 MB / 280.8 MB, free: 2.574 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.1106, allocations: 358.8 kB / 281.1 MB, free: 2.223 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003198/0.1138, allocations: 1.112 MB / 282.2 MB, free: 1.109 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.1141, allocations: 65.17 kB / 282.3 MB, free: 1.047 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.1145, allocations: 199.4 kB / 282.5 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004288/0.1149, allocations: 242.8 kB / 282.7 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.1173, allocations: 0.6596 MB / 283.4 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002785/0.1176, allocations: 48 kB / 283.4 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.1178, allocations: 95.42 kB / 283.5 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.1181, allocations: 68 kB / 283.6 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.1198, allocations: 0.8689 MB / 284.5 MB, free: 14.88 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1198, allocations: 3.938 kB / 284.5 MB, free: 14.87 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1198, allocations: 0 / 284.5 MB, free: 14.87 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.1199, allocations: 0 / 284.5 MB, free: 14.87 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.002207/0.1221, allocations: 1.022 MB / 285.5 MB, free: 13.8 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1221, allocations: 12.03 kB / 285.5 MB, free: 13.79 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.1224, allocations: 122.5 kB / 285.6 MB, free: 13.67 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.124, allocations: 0.6962 MB / 286.3 MB, free: 12.92 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.124, allocations: 20.56 kB / 286.3 MB, free: 12.89 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.1242, allocations: 31.91 kB / 286.4 MB, free: 12.86 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.1252, allocations: 325.3 kB / 286.7 MB, free: 12.55 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1252, allocations: 0 / 286.7 MB, free: 12.55 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.1253, allocations: 12 kB / 286.7 MB, free: 12.54 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.1253, allocations: 11.98 kB / 286.7 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.1265, allocations: 294.1 kB / 287 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003065/0.1295, allocations: 1.377 MB / 288.4 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.1307, allocations: 310.6 kB / 288.7 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006478/0.1372, allocations: 3.623 MB / 292.3 MB, free: 6.281 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006771/0.138, allocations: 204.4 kB / 292.5 MB, free: 6.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 3.236e-06/0.138, allocations: 0 / 292.5 MB, free: 6.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.002761/0.1408, allocations: 0.8411 MB / 293.3 MB, free: 5.16 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.1409, allocations: 59.41 kB / 293.4 MB, free: 5.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.1422, allocations: 0.6926 MB / 294.1 MB, free: 4.383 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/0.1423, allocations: 29.7 kB / 294.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005571/0.1429, allocations: 440.5 kB / 294.5 MB, free: 3.914 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.143, allocations: 98.64 kB / 294.6 MB, free: 3.816 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.1431, allocations: 8 kB / 294.6 MB, free: 3.809 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1432, allocations: 322 kB / 295 MB, free: 3.488 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005623/0.1438, allocations: 132.6 kB / 295.1 MB, free: 3.359 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/0.1444, allocations: 232 kB / 295.3 MB, free: 3.086 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005739/0.145, allocations: 159.8 kB / 295.5 MB, free: 2.93 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.145, allocations: 3.938 kB / 295.5 MB, free: 2.926 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001749/0.1468, allocations: 0.5407 MB / 296 MB, free: 2.371 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.1468, allocations: 4 kB / 296 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.59e-05/0.1469, allocations: 39.98 kB / 296.1 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003126/0.1473, allocations: 53.62 kB / 296.1 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005866/0.1479, allocations: 80.11 kB / 296.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2105/0.3584, allocations: 2.652 MB / 298.8 MB, free: 30.38 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/0.3591, allocations: 44.94 kB / 298.9 MB, free: 30.38 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-05/0.3592, allocations: 18.25 kB / 298.9 MB, free: 30.38 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.0004714/0.3597, allocations: 211.1 kB / 299.1 MB, free: 30.26 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.3598, allocations: 104.3 kB / 299.2 MB, free: 30.26 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.3619, allocations: 0.5103 MB / 299.7 MB, free: 30.19 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.3619, allocations: 3.578 kB / 299.7 MB, free: 30.19 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3619, allocations: 0 / 299.7 MB, free: 30.19 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3619, allocations: 2.266 kB / 299.7 MB, free: 30.19 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009786/0.3629, allocations: 0.5593 MB / 300.3 MB, free: 29.99 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.348e-05/0.363, allocations: 30.94 kB / 300.3 MB, free: 29.99 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/0.3635, allocations: 49.66 kB / 300.4 MB, free: 29.99 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/0.3638, allocations: 52.59 kB / 300.4 MB, free: 29.98 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/0.3638, allocations: 9.875 kB / 300.4 MB, free: 29.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.3658, allocations: 2.656 MB / 303.1 MB, free: 27.47 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3659, allocations: 1.031 kB / 303.1 MB, free: 27.47 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.368, allocations: 0.6341 MB / 303.7 MB, free: 27.25 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.3683, allocations: 185 kB / 303.9 MB, free: 27.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.3685, allocations: 10.2 kB / 303.9 MB, free: 27.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/0.3689, allocations: 17.7 kB / 303.9 MB, free: 27.09 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.3691, allocations: 32.78 kB / 304 MB, free: 27.08 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.3691, allocations: 13.56 kB / 304 MB, free: 27.08 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.00113/0.3703, allocations: 0.539 MB / 304.5 MB, free: 26.84 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3703, allocations: 0 / 304.5 MB, free: 26.84 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0009533/0.3712, allocations: 242.5 kB / 304.7 MB, free: 26.82 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.0008068/0.3721, allocations: 340 kB / 305.1 MB, free: 26.71 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.3737, allocations: 0.6028 MB / 305.7 MB, free: 26.36 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3737, allocations: 0 / 305.7 MB, free: 26.36 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008729/0.3746, allocations: 456.9 kB / 306.1 MB, free: 26.05 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006247/0.3752, allocations: 99.81 kB / 306.2 MB, free: 26 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.3789, allocations: 1.722 MB / 307.9 MB, free: 25.05 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006071/0.3796, allocations: 0.9774 MB / 308.9 MB, free: 24.34 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0005273/0.3801, allocations: 85.06 kB / 309 MB, free: 24.32 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.3803, allocations: 42.06 kB / 309.1 MB, free: 24.31 MB / 250.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3803, allocations: 0 / 309.1 MB, free: 24.31 MB / 250.7 MB Notification: Performance of Templates: time 0.02974/0.41, allocations: 7.891 MB / 316.9 MB, free: 21.27 MB / 250.7 MB