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.738/1.738, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.936e-05, allocations: 3.219 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07632/0.07637, allocations: 44.51 MB / 299.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3276/0.404, allocations: 75.69 MB / 375.5 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.4042, allocations: 70.91 kB / 375.6 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05973/0.464, allocations: 15.52 MB / 391.1 MB, free: 20.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.878e-06/0.464, allocations: 0 / 391.1 MB, free: 20.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.864e-05/0.4641, allocations: 29.55 kB / 391.2 MB, free: 20.85 MB / 314.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.003194/0.4673, allocations: 1.223 MB / 392.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.4674, allocations: 7.812 kB / 392.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.4676, allocations: 105.4 kB / 392.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008054/0.4684, allocations: 0.5176 MB / 393 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.4685, allocations: 66.06 kB / 393.1 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.4687, allocations: 83.22 kB / 393.2 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.4708, allocations: 0.9427 MB / 394.1 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.4708, allocations: 3.938 kB / 394.1 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.471, allocations: 33.16 kB / 394.1 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.471, allocations: 23.48 kB / 394.2 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/0.4735, allocations: 0.8713 MB / 395 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006766/0.4803, allocations: 3.511 MB / 398.5 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.4821, allocations: 0.7926 MB / 399.3 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008994/0.483, allocations: 459.9 kB / 399.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.83e-05/0.4831, allocations: 19.5 kB / 399.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.4831, allocations: 46.44 kB / 399.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 3.54e-06/0.4831, allocations: 0 / 399.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.005072/0.4882, allocations: 2.064 MB / 401.9 MB, free: 18.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.4883, allocations: 60 kB / 402 MB, free: 18.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.4889, allocations: 453.8 kB / 402.4 MB, free: 18.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.68e-05/0.489, allocations: 40.86 kB / 402.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.4892, allocations: 445.1 kB / 402.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.4894, allocations: 247.3 kB / 403.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.4895, allocations: 15.19 kB / 403.2 MB, free: 17.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.31e-05/0.4896, allocations: 344.9 kB / 403.5 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009036/0.4905, allocations: 364.2 kB / 403.8 MB, free: 17.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009494/0.4914, allocations: 486.2 kB / 404.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009331/0.4924, allocations: 392.8 kB / 404.7 MB, free: 17.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.031e-06/0.4924, allocations: 0 / 404.7 MB, free: 17.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002799/0.4952, allocations: 1.083 MB / 405.8 MB, free: 16.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4953, allocations: 9.375 kB / 405.8 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.672e-06/0.4953, allocations: 3.906 kB / 405.8 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007268/0.496, allocations: 174.9 kB / 406 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.4978, allocations: 292.7 kB / 406.3 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004062/0.5019, allocations: 2.594 MB / 408.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.5034, allocations: 128.8 kB / 409 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.5036, allocations: 30.69 kB / 409 MB, free: 15.55 MB / 314.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.00025/0.5038, allocations: 153.1 kB / 409.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.504, allocations: 70.22 kB / 409.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.5043, allocations: 92.95 kB / 409.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.126e-06/0.5043, allocations: 11.84 kB / 409.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.5043, allocations: 3.969 kB / 409.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.106e-06/0.5043, allocations: 3.844 kB / 409.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.5058, allocations: 1.002 MB / 410.3 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.375e-06/0.5058, allocations: 0 / 410.3 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/0.5075, allocations: 240.1 kB / 410.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006587/0.5082, allocations: 179.2 kB / 410.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.78e-05/0.5083, allocations: 25.92 kB / 410.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003896/0.5122, allocations: 2.601 MB / 413.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.559e-06/0.5123, allocations: 3.953 kB / 413.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003497/0.5158, allocations: 1.573 MB / 414.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.516, allocations: 142.7 kB / 415.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.5162, allocations: 15.03 kB / 415.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/0.5176, allocations: 151 kB / 415.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.5178, allocations: 50.66 kB / 415.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.5179, allocations: 26.86 kB / 415.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005031/0.5184, allocations: 353.5 kB / 415.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.5184, allocations: 0 / 415.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001034/0.5195, allocations: 253 kB / 415.9 MB, free: 13.25 MB / 314.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.0002488/0.5197, allocations: 137.2 kB / 416.1 MB, free: 13.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002817/0.5226, allocations: 1.086 MB / 417.1 MB, free: 28.99 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5226, allocations: 4.656 kB / 417.1 MB, free: 28.99 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.5243, allocations: 0.6612 MB / 417.8 MB, free: 28.85 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006919/0.525, allocations: 113.9 kB / 417.9 MB, free: 28.83 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/0.5286, allocations: 1.725 MB / 419.6 MB, free: 28.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006492/0.5293, allocations: 0.9749 MB / 420.6 MB, free: 27.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/0.5298, allocations: 64.34 kB / 420.7 MB, free: 27.33 MB / 330.7 MB Notification: Performance of SimCode: time 1.647e-06/0.5298, allocations: 0 / 420.7 MB, free: 27.33 MB / 330.7 MB Notification: Performance of Templates: time 0.0208/0.5506, allocations: 14.57 MB / 435.2 MB, free: 20.03 MB / 330.7 MB