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_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadModel(Modelica): time 1.933/1.933, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.771e-05/2.783e-05, allocations: 4 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07762/0.07767, allocations: 44.5 MB / 299.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.378/0.4557, allocations: 75.7 MB / 375.6 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.4559, allocations: 70.45 kB / 375.6 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06463/0.5206, allocations: 15.52 MB / 391.2 MB, free: 20.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.038e-06/0.5206, allocations: 0 / 391.2 MB, free: 20.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.691e-05/0.5207, allocations: 23.47 kB / 391.2 MB, free: 20.71 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.003234/0.5239, allocations: 1.222 MB / 392.4 MB, free: 20.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.524, allocations: 7.906 kB / 392.4 MB, free: 20.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002661/0.5243, allocations: 105.7 kB / 392.5 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008793/0.5252, allocations: 0.5157 MB / 393 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.226e-05/0.5252, allocations: 60.66 kB / 393.1 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/0.5254, allocations: 85.38 kB / 393.2 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.5276, allocations: 0.9455 MB / 394.1 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.5276, allocations: 0 / 394.1 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.5278, allocations: 32.44 kB / 394.2 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.5278, allocations: 28.62 kB / 394.2 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.5301, allocations: 0.8753 MB / 395.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006784/0.5369, allocations: 3.505 MB / 398.6 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.5387, allocations: 0.7968 MB / 399.4 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009261/0.5397, allocations: 455.9 kB / 399.8 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.463e-05/0.5398, allocations: 23.66 kB / 399.8 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.5398, allocations: 42.88 kB / 399.9 MB, free: 18.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.597e-06/0.5398, allocations: 0 / 399.9 MB, free: 18.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.005315/0.5451, allocations: 2.064 MB / 401.9 MB, free: 18.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.5452, allocations: 59.94 kB / 402 MB, free: 17.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006628/0.5459, allocations: 457.9 kB / 402.4 MB, free: 17.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.396e-05/0.546, allocations: 40.83 kB / 402.5 MB, free: 17.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.5462, allocations: 409.4 kB / 402.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.5464, allocations: 245.9 kB / 403.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.649e-05/0.5465, allocations: 14.62 kB / 403.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5467, allocations: 379.9 kB / 403.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009189/0.5476, allocations: 368.8 kB / 403.9 MB, free: 17.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009722/0.5486, allocations: 478.6 kB / 404.3 MB, free: 17.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000945/0.5496, allocations: 392.6 kB / 404.7 MB, free: 17.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.503e-06/0.5496, allocations: 0 / 404.7 MB, free: 17.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002931/0.5525, allocations: 1.133 MB / 405.9 MB, free: 16.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5526, allocations: 5.938 kB / 405.9 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.5526, allocations: 3.906 kB / 405.9 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006624/0.5533, allocations: 185.8 kB / 406 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.5552, allocations: 282.7 kB / 406.3 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004144/0.5593, allocations: 2.6 MB / 408.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.5608, allocations: 129.5 kB / 409 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.561, allocations: 32.38 kB / 409.1 MB, free: 15.44 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.0002486/0.5612, allocations: 149.4 kB / 409.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.5614, allocations: 69.66 kB / 409.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.5617, allocations: 94.03 kB / 409.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.568e-06/0.5617, allocations: 11.66 kB / 409.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.5617, allocations: 3.812 kB / 409.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.591e-06/0.5618, allocations: 3.844 kB / 409.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.5632, allocations: 0.9988 MB / 410.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5633, allocations: 0 / 410.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/0.565, allocations: 243.3 kB / 410.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006418/0.5656, allocations: 181.5 kB / 410.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.672e-05/0.5658, allocations: 26.27 kB / 410.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003967/0.5697, allocations: 2.601 MB / 413.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.144e-06/0.5698, allocations: 3.953 kB / 413.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003674/0.5734, allocations: 1.573 MB / 415 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.5737, allocations: 142.6 kB / 415.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.5739, allocations: 18.97 kB / 415.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.5753, allocations: 150.2 kB / 415.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.5755, allocations: 48.12 kB / 415.4 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.5756, allocations: 26.86 kB / 415.4 MB, free: 13.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005153/0.5761, allocations: 364.9 kB / 415.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.5761, allocations: 0 / 415.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001075/0.5772, allocations: 245.3 kB / 416 MB, free: 13.14 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.000261/0.5775, allocations: 140.4 kB / 416.1 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002751/0.5803, allocations: 1.085 MB / 417.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.5803, allocations: 0.6875 kB / 417.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.5822, allocations: 0.6616 MB / 417.9 MB, free: 28.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008017/0.583, allocations: 111.7 kB / 418 MB, free: 28.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/0.5866, allocations: 1.69 MB / 419.7 MB, free: 27.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006472/0.5873, allocations: 0.9752 MB / 420.7 MB, free: 27.22 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007765/0.5881, allocations: 80.28 kB / 420.7 MB, free: 27.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/0.5885, allocations: 57 kB / 420.8 MB, free: 27.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.937e-06/0.5885, allocations: 0 / 420.8 MB, free: 27.16 MB / 330.7 MB Notification: Performance of Templates: time 0.02403/0.6125, allocations: 10.35 MB / 431.1 MB, free: 22.06 MB / 330.7 MB