Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadModel(Modelica): time 1.756/1.756, allocations: 171.2 MB / 185.7 MB, free: 1.41 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/2.989e-05, allocations: 6.188 kB / 228.1 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07989/0.07994, allocations: 38.78 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.0101/0.09009, allocations: 6.549 MB / 273.5 MB, free: 9.902 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01736/0.1075, allocations: 9.133 MB / 282.6 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.109, allocations: 27.88 kB / 282.6 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002198/0.1112, allocations: 0.567 MB / 283.2 MB, free: 148 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.1154, allocations: 0.9342 MB / 284.1 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.118, allocations: 414.9 kB / 284.5 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.009518/0.1275, allocations: 2.174 MB / 286.7 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006281/0.1282, allocations: 145.6 kB / 286.9 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.1294, allocations: 390.8 kB / 287.2 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.131, allocations: 489.6 kB / 287.7 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003918/0.135, allocations: 0.6753 MB / 288.4 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006835/0.1357, allocations: 64 kB / 288.4 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004316/0.1362, allocations: 174.9 kB / 288.6 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008073/0.137, allocations: 136 kB / 288.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004496/0.1416, allocations: 1.484 MB / 290.2 MB, free: 9.086 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.1417, allocations: 0 / 290.2 MB, free: 9.086 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.967e-06/0.1417, allocations: 3.938 kB / 290.2 MB, free: 9.082 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.337e-05/0.1418, allocations: 0 / 290.2 MB, free: 9.082 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.006097/0.1479, allocations: 1.672 MB / 291.9 MB, free: 7.352 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.148, allocations: 8.031 kB / 291.9 MB, free: 7.344 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007716/0.1488, allocations: 225.3 kB / 292.1 MB, free: 7.121 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004696/0.1535, allocations: 1.216 MB / 293.4 MB, free: 5.832 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.486e-05/0.1537, allocations: 49.25 kB / 293.4 MB, free: 5.785 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002843/0.154, allocations: 55.91 kB / 293.5 MB, free: 5.73 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00339/0.1574, allocations: 0.7056 MB / 294.2 MB, free: 5.012 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/0.1575, allocations: 0 / 294.2 MB, free: 5.012 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.1576, allocations: 20 kB / 294.2 MB, free: 4.992 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.935e-05/0.1577, allocations: 23.98 kB / 294.2 MB, free: 4.969 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00369/0.1614, allocations: 0.618 MB / 294.8 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00949/0.171, allocations: 2.542 MB / 297.4 MB, free: 1.672 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003565/0.1746, allocations: 0.6622 MB / 298 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2578/0.4325, allocations: 7.52 MB / 305.5 MB, free: 25.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001423/0.434, allocations: 400.4 kB / 305.9 MB, free: 25.38 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 4.298e-06/0.434, allocations: 3.75 kB / 305.9 MB, free: 25.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=67): time 0.01058/0.4446, allocations: 2.114 MB / 308.1 MB, free: 24.8 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.4447, allocations: 91.2 kB / 308.1 MB, free: 24.7 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/0.4472, allocations: 1.201 MB / 309.3 MB, free: 24.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.4473, allocations: 37.11 kB / 309.4 MB, free: 24.19 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008294/0.4482, allocations: 0.8071 MB / 310.2 MB, free: 23.55 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002789/0.4485, allocations: 222.8 kB / 310.4 MB, free: 23.38 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.4486, allocations: 17.97 kB / 310.4 MB, free: 23.37 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.32e-05/0.4486, allocations: 339.3 kB / 310.8 MB, free: 23.05 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.4497, allocations: 273.8 kB / 311 MB, free: 22.96 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.4509, allocations: 471.2 kB / 311.5 MB, free: 22.64 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.4521, allocations: 333.9 kB / 311.8 MB, free: 22.49 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.4521, allocations: 2.656 kB / 311.8 MB, free: 22.49 MB / 250.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003525/0.4557, allocations: 1.178 MB / 313 MB, free: 22 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.4557, allocations: 7.219 kB / 313 MB, free: 22 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001648/0.4559, allocations: 71.69 kB / 313.1 MB, free: 22 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/0.4579, allocations: 0.7004 MB / 313.8 MB, free: 21.87 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008879/0.4589, allocations: 125.4 kB / 313.9 MB, free: 21.86 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.4608, allocations: 1.123 MB / 315 MB, free: 21.04 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.4621, allocations: 105.4 kB / 315.1 MB, free: 20.97 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.4622, allocations: 34.91 kB / 315.2 MB, free: 20.97 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007649/0.463, allocations: 287.8 kB / 315.4 MB, free: 20.75 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006089/0.4636, allocations: 198.1 kB / 315.6 MB, free: 20.65 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006649/0.4703, allocations: 1.151 MB / 316.8 MB, free: 20.04 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/0.4704, allocations: 8.141 kB / 316.8 MB, free: 20.04 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.4704, allocations: 0 / 316.8 MB, free: 20.04 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.4704, allocations: 0 / 316.8 MB, free: 20.04 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.4728, allocations: 0.9948 MB / 317.8 MB, free: 19.31 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002063/0.473, allocations: 68.83 kB / 317.8 MB, free: 19.3 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008823/0.4739, allocations: 70.72 kB / 317.9 MB, free: 19.29 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002193/0.4761, allocations: 0.6662 MB / 318.6 MB, free: 19.09 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.109e-05/0.4763, allocations: 11.84 kB / 318.6 MB, free: 19.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.478, allocations: 1.094 MB / 319.7 MB, free: 18.27 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.478, allocations: 0 / 319.7 MB, free: 18.27 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004139/0.4822, allocations: 1.416 MB / 321.1 MB, free: 17.52 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005082/0.4828, allocations: 284.4 kB / 321.4 MB, free: 17.28 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003027/0.4831, allocations: 14.12 kB / 321.4 MB, free: 17.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008417/0.4839, allocations: 55.88 kB / 321.4 MB, free: 17.24 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.4841, allocations: 50.14 kB / 321.5 MB, free: 17.22 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-05/0.4842, allocations: 26.61 kB / 321.5 MB, free: 17.21 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001619/0.4858, allocations: 0.9303 MB / 322.5 MB, free: 16.44 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4858, allocations: 0 / 322.5 MB, free: 16.44 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001234/0.4871, allocations: 429 kB / 322.9 MB, free: 16.04 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009509/0.488, allocations: 449.7 kB / 323.3 MB, free: 15.64 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003095/0.4912, allocations: 0.9014 MB / 324.2 MB, free: 14.73 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.4912, allocations: 3.938 kB / 324.2 MB, free: 14.73 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.493, allocations: 0.539 MB / 324.8 MB, free: 14.18 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009746/0.494, allocations: 176.1 kB / 324.9 MB, free: 14 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007162/0.5012, allocations: 3.415 MB / 328.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.5018, allocations: 1.247 MB / 329.6 MB, free: 9.273 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0008512/0.5027, allocations: 166.1 kB / 329.8 MB, free: 9.109 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.5029, allocations: 71.44 kB / 329.8 MB, free: 9.039 MB / 250.7 MB Notification: Performance of SimCode: time 1.853e-06/0.5029, allocations: 0 / 329.8 MB, free: 9.039 MB / 250.7 MB Notification: Performance of Templates: time 0.04158/0.5445, allocations: 14.51 MB / 344.3 MB, free: 10.55 MB / 266.7 MB