Running command: translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.151e-05/2.159e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.267, allocations: 44.49 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.3908, allocations: 75.04 MB / 369.1 MB, free: 6.945 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.3911, allocations: 71.95 kB / 369.2 MB, free: 6.875 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07068/0.4618, allocations: 15.37 MB / 384.6 MB, free: 7.449 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.19e-06/0.4618, allocations: 224 / 384.6 MB, free: 7.449 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7e-05/0.4619, allocations: 27.98 kB / 384.6 MB, free: 7.422 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.004586/0.4665, allocations: 1.22 MB / 385.8 MB, free: 6.156 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.4666, allocations: 12.03 kB / 385.8 MB, free: 6.145 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004751/0.4671, allocations: 102.8 kB / 385.9 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.4684, allocations: 0.5219 MB / 386.5 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/0.4684, allocations: 28 kB / 386.5 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/0.4687, allocations: 47.91 kB / 386.5 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002606/0.4713, allocations: 0.8475 MB / 387.4 MB, free: 4.559 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/0.4743, allocations: 0.8415 MB / 388.2 MB, free: 3.699 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.4743, allocations: 0 / 388.2 MB, free: 3.699 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.4745, allocations: 3.953 kB / 388.2 MB, free: 3.695 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.4745, allocations: 20 kB / 388.2 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008934/0.4835, allocations: 3.346 MB / 391.6 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.4859, allocations: 0.778 MB / 392.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.487, allocations: 445.4 kB / 392.8 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.547e-05/0.4871, allocations: 12.55 kB / 392.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/0.4872, allocations: 51.11 kB / 392.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 4.258e-06/0.4872, allocations: 4 kB / 392.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=71): time 0.006734/0.4939, allocations: 1.981 MB / 394.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.494, allocations: 64.12 kB / 394.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007864/0.4948, allocations: 410 kB / 395.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001601/0.495, allocations: 29.7 kB / 395.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.4954, allocations: 449.6 kB / 395.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/0.4957, allocations: 240.4 kB / 396 MB, free: 11.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-05/0.4958, allocations: 0 / 396 MB, free: 11.69 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.4961, allocations: 350.7 kB / 396.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009647/0.497, allocations: 350.6 kB / 396.7 MB, free: 10.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.4981, allocations: 466.2 kB / 397.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.4993, allocations: 388.4 kB / 397.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.397e-06/0.4994, allocations: 0 / 397.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003489/0.5029, allocations: 1.036 MB / 398.6 MB, free: 9.078 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.5029, allocations: 6.031 kB / 398.6 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.503, allocations: 4 kB / 398.6 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007741/0.5038, allocations: 178.7 kB / 398.8 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/0.5056, allocations: 283.7 kB / 399 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005462/0.5111, allocations: 2.532 MB / 401.6 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.5126, allocations: 111.9 kB / 401.7 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.5128, allocations: 32.05 kB / 401.7 MB, free: 5.828 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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: 1 {(5,60.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002928/0.5131, allocations: 112.9 kB / 401.8 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.5133, allocations: 71.16 kB / 401.9 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.5136, allocations: 78.31 kB / 402 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.5136, allocations: 8 kB / 402 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.5137, allocations: 4 kB / 402 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.5137, allocations: 7.938 kB / 402 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.5154, allocations: 0.8928 MB / 402.9 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.418e-06/0.5155, allocations: 0 / 402.9 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/0.5175, allocations: 247.7 kB / 403.1 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009028/0.5184, allocations: 176.7 kB / 403.3 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/0.5186, allocations: 15.97 kB / 403.3 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004906/0.5236, allocations: 2.532 MB / 405.8 MB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.5236, allocations: 3.984 kB / 405.8 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00476/0.5284, allocations: 1.533 MB / 407.4 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/0.5287, allocations: 128.4 kB / 407.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.5289, allocations: 11.98 kB / 407.5 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.5302, allocations: 136 kB / 407.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.5304, allocations: 56.64 kB / 407.7 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.5306, allocations: 27.97 kB / 407.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005315/0.5311, allocations: 307 kB / 408 MB, free: 15.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.88e-07/0.5311, allocations: 192 / 408 MB, free: 15.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001209/0.5324, allocations: 212 kB / 408.2 MB, free: 15.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.C.v,Transistor2.ct.v,Transistor2.Tr.C.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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: 1 {(5,68.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002977/0.5327, allocations: 118.6 kB / 408.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003424/0.5361, allocations: 1.069 MB / 409.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.847e-06/0.5361, allocations: 4 kB / 409.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.538, allocations: 0.6574 MB / 410.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007473/0.5388, allocations: 74 kB / 410.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.5429, allocations: 1.679 MB / 411.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008038/0.5438, allocations: 0.9813 MB / 412.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009719/0.5448, allocations: 63.39 kB / 412.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.767e-06/0.5448, allocations: 0 / 412.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.2408/0.7856, allocations: 14.25 MB / 427.1 MB, free: 105 MB / 362.7 MB