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_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadModel(Modelica): time 2.199/2.199, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.612e-05, allocations: 4 kB / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 50.41 MB / 345 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009834/0.1198, allocations: 6.545 MB / 351.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01795/0.1378, allocations: 9.413 MB / 360.9 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.1393, allocations: 19.94 kB / 360.9 MB, free: 8.941 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002305/0.1417, allocations: 0.5748 MB / 361.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004452/0.1462, allocations: 0.9342 MB / 362.5 MB, free: 7.426 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.1484, allocations: 422.8 kB / 362.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006271/0.1547, allocations: 2.186 MB / 365.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004599/0.1553, allocations: 141.6 kB / 365.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000953/0.1562, allocations: 434.6 kB / 365.6 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.1573, allocations: 493.6 kB / 366.1 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.16, allocations: 0.7181 MB / 366.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004657/0.1605, allocations: 64 kB / 366.9 MB, free: 2.992 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.1608, allocations: 170.9 kB / 367 MB, free: 2.824 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005432/0.1614, allocations: 140 kB / 367.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003077/0.1645, allocations: 1.484 MB / 368.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1645, allocations: 0 / 368.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1645, allocations: 4 kB / 368.7 MB, free: 1.195 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.017e-05/0.1646, allocations: 0 / 368.7 MB, free: 1.195 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.004291/0.1689, allocations: 1.66 MB / 370.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.169, allocations: 8.031 kB / 370.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005407/0.1695, allocations: 229.4 kB / 370.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003248/0.1728, allocations: 1.231 MB / 371.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.721e-05/0.1729, allocations: 37.31 kB / 371.8 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.1731, allocations: 56 kB / 371.9 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.1754, allocations: 0.7056 MB / 372.6 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.1754, allocations: 0 / 372.6 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-05/0.1755, allocations: 27.98 kB / 372.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/0.1756, allocations: 19.98 kB / 372.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/0.1781, allocations: 0.6102 MB / 373.2 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00614/0.1843, allocations: 2.534 MB / 375.8 MB, free: 9.805 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/0.1866, allocations: 0.6661 MB / 376.4 MB, free: 9.125 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01371/0.2004, allocations: 7.531 MB / 384 MB, free: 464 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001383/0.2018, allocations: 405.9 kB / 384.4 MB, free: 52 kB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 5.3e-06/0.2019, allocations: 4 kB / 384.4 MB, free: 48 kB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.01095/0.2128, allocations: 2.11 MB / 386.5 MB, free: 13.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/0.2129, allocations: 93.48 kB / 386.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002579/0.2155, allocations: 1.202 MB / 387.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001548/0.2157, allocations: 37.7 kB / 387.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009358/0.2167, allocations: 0.7092 MB / 388.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003696/0.2171, allocations: 224.8 kB / 388.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.2172, allocations: 12 kB / 388.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2174, allocations: 338.8 kB / 389.1 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.2185, allocations: 273.8 kB / 389.4 MB, free: 10.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.2199, allocations: 474.3 kB / 389.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.2212, allocations: 334.8 kB / 390.1 MB, free: 10.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.2212, allocations: 4 kB / 390.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003521/0.2248, allocations: 1.012 MB / 391.2 MB, free: 9.074 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.2248, allocations: 8 kB / 391.2 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001681/0.225, allocations: 71.98 kB / 391.2 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002025/0.2271, allocations: 0.6998 MB / 391.9 MB, free: 8.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009503/0.2281, allocations: 127.8 kB / 392.1 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.2303, allocations: 1.112 MB / 393.2 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.2316, allocations: 99.28 kB / 393.3 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/0.2318, allocations: 40 kB / 393.3 MB, free: 6.891 MB / 330.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.0007962/0.2326, allocations: 285.6 kB / 393.6 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004341/0.233, allocations: 209.6 kB / 393.8 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004358/0.2374, allocations: 1.146 MB / 394.9 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/0.2375, allocations: 15.98 kB / 395 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.2375, allocations: 4.125 kB / 395 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.2375, allocations: 3.984 kB / 395 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.2394, allocations: 0.9756 MB / 395.9 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001827/0.2397, allocations: 67.98 kB / 396 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007551/0.2404, allocations: 67.94 kB / 396.1 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001986/0.2425, allocations: 0.6672 MB / 396.7 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/0.2426, allocations: 23.98 kB / 396.8 MB, free: 3.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.2447, allocations: 1.088 MB / 397.9 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.2447, allocations: 0 / 397.9 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004825/0.2496, allocations: 1.413 MB / 399.3 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006854/0.2503, allocations: 290.5 kB / 399.6 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003598/0.2507, allocations: 8 kB / 399.6 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000941/0.2517, allocations: 47.95 kB / 399.6 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.2519, allocations: 48.38 kB / 399.7 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.558e-05/0.252, allocations: 23.98 kB / 399.7 MB, free: 376 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.2929/0.5449, allocations: 0.9303 MB / 400.6 MB, free: 52.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.132e-06/0.545, allocations: 0 / 400.6 MB, free: 52.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001643/0.5466, allocations: 427 kB / 401 MB, free: 52.45 MB / 330.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.001422/0.5481, allocations: 447.5 kB / 401.5 MB, free: 52.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003851/0.552, allocations: 0.8966 MB / 402.4 MB, free: 52.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.687e-06/0.552, allocations: 3.062 kB / 402.4 MB, free: 52.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002152/0.5542, allocations: 0.5493 MB / 402.9 MB, free: 52.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.5559, allocations: 197.2 kB / 403.1 MB, free: 52.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009062/0.565, allocations: 3.464 MB / 406.6 MB, free: 50.51 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009892/0.566, allocations: 1.253 MB / 407.8 MB, free: 49.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.5664, allocations: 75.31 kB / 407.9 MB, free: 49.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.863e-06/0.5664, allocations: 0 / 407.9 MB, free: 49.77 MB / 330.7 MB Notification: Performance of Templates: time 0.04553/0.6119, allocations: 23.73 MB / 431.6 MB, free: 32.57 MB / 330.7 MB