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.832/1.832, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.624e-05/2.636e-05, allocations: 5.875 kB / 255.3 MB, free: 3.203 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07738/0.07742, allocations: 44.5 MB / 299.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3274/0.4049, allocations: 75.68 MB / 375.5 MB, free: 22.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.4051, allocations: 71.17 kB / 375.6 MB, free: 22.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06042/0.4656, allocations: 15.53 MB / 391.1 MB, free: 20.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.877e-06/0.4656, allocations: 0 / 391.1 MB, free: 20.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.812e-05/0.4657, allocations: 19.62 kB / 391.1 MB, free: 20.87 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.003353/0.469, allocations: 1.226 MB / 392.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4691, allocations: 11.88 kB / 392.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000341/0.4695, allocations: 105.5 kB / 392.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008804/0.4703, allocations: 0.5134 MB / 393 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.968e-05/0.4704, allocations: 62 kB / 393.1 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.4706, allocations: 83.81 kB / 393.1 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.4727, allocations: 0.9491 MB / 394.1 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.4727, allocations: 3.938 kB / 394.1 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/0.4729, allocations: 34.88 kB / 394.1 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.4729, allocations: 28.69 kB / 394.1 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/0.475, allocations: 0.8874 MB / 395 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007189/0.4823, allocations: 3.507 MB / 398.5 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.4841, allocations: 0.8079 MB / 399.4 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008824/0.485, allocations: 451.4 kB / 399.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.784e-05/0.4851, allocations: 23.58 kB / 399.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.4851, allocations: 38.59 kB / 399.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.253e-06/0.4851, allocations: 0 / 399.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.005125/0.4903, allocations: 2.065 MB / 401.9 MB, free: 18.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.4903, allocations: 60.09 kB / 402 MB, free: 18.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006878/0.491, allocations: 456.5 kB / 402.4 MB, free: 18.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001481/0.4912, allocations: 36.86 kB / 402.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.4914, allocations: 445.7 kB / 402.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.4917, allocations: 241.3 kB / 403.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.4918, allocations: 18.09 kB / 403.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.522e-05/0.4918, allocations: 344.7 kB / 403.5 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008506/0.4927, allocations: 371 kB / 403.8 MB, free: 17.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009014/0.4936, allocations: 481.6 kB / 404.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008764/0.4945, allocations: 395.6 kB / 404.7 MB, free: 17.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.476e-06/0.4945, allocations: 3.938 kB / 404.7 MB, free: 17.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002633/0.4972, allocations: 1.093 MB / 405.8 MB, free: 16.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.4972, allocations: 3.812 kB / 405.8 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.4972, allocations: 8.094 kB / 405.8 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006751/0.4979, allocations: 181.1 kB / 406 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/0.4997, allocations: 286.1 kB / 406.3 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004022/0.5038, allocations: 2.606 MB / 408.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.5054, allocations: 125.2 kB / 409 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.5055, allocations: 33.86 kB / 409 MB, free: 15.54 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.0002862/0.5058, allocations: 142.1 kB / 409.2 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.5061, allocations: 73.47 kB / 409.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.5063, allocations: 91.8 kB / 409.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.021e-06/0.5064, allocations: 7.844 kB / 409.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.5064, allocations: 3.906 kB / 409.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.5064, allocations: 4.922 kB / 409.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.5079, allocations: 1.004 MB / 410.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.508, allocations: 7.844 kB / 410.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/0.5095, allocations: 244 kB / 410.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006755/0.5102, allocations: 171.9 kB / 410.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/0.5104, allocations: 31.33 kB / 410.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/0.5143, allocations: 2.588 MB / 413.4 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5144, allocations: 3.953 kB / 413.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003623/0.518, allocations: 1.576 MB / 415 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.5183, allocations: 137.7 kB / 415.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.5185, allocations: 15.09 kB / 415.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.5197, allocations: 149.8 kB / 415.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.5199, allocations: 52.17 kB / 415.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.52, allocations: 26.17 kB / 415.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005155/0.5205, allocations: 363 kB / 415.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.5206, allocations: 0 / 415.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00108/0.5216, allocations: 244 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.0002495/0.5219, allocations: 136.4 kB / 416.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002779/0.5247, allocations: 1.116 MB / 417.2 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.104e-06/0.5247, allocations: 3.938 kB / 417.2 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.5265, allocations: 0.6723 MB / 417.9 MB, free: 12.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008935/0.5274, allocations: 106.9 kB / 418 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/0.5314, allocations: 1.73 MB / 419.7 MB, free: 28.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/0.5321, allocations: 0.9754 MB / 420.7 MB, free: 27.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006029/0.5327, allocations: 66.31 kB / 420.7 MB, free: 27.32 MB / 330.7 MB Notification: Performance of SimCode: time 2.19e-06/0.5327, allocations: 3.938 kB / 420.7 MB, free: 27.31 MB / 330.7 MB Notification: Performance of Templates: time 0.02026/0.553, allocations: 14.61 MB / 435.3 MB, free: 19.9 MB / 330.7 MB