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_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 225.8 MB / 238.9 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.584e-05/3.594e-05, allocations: 4 kB / 292.1 MB, free: 8.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 50.42 MB / 342.6 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3921/0.5025, allocations: 83.18 MB / 425.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.5028, allocations: 78.33 kB / 425.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06179/0.5646, allocations: 15.78 MB / 441.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.131e-06/0.5646, allocations: 0 / 441.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.264e-05/0.5647, allocations: 20 kB / 441.6 MB, free: 13.63 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002728/0.5675, allocations: 1.113 MB / 442.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.5675, allocations: 12.03 kB / 442.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002799/0.5678, allocations: 110.7 kB / 442.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.569, allocations: 0.5559 MB / 443.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.269e-05/0.5691, allocations: 69.58 kB / 443.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.5693, allocations: 90.44 kB / 443.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.5712, allocations: 0.787 MB / 444.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.5712, allocations: 4 kB / 444.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.5714, allocations: 36.75 kB / 444.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.5714, allocations: 20 kB / 444.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.5733, allocations: 0.7645 MB / 445.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007522/0.5809, allocations: 3.296 MB / 448.5 MB, free: 8.281 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.5822, allocations: 0.6179 MB / 449.1 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008182/0.583, allocations: 398.6 kB / 449.5 MB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.741e-05/0.5831, allocations: 12.55 kB / 449.5 MB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.5832, allocations: 47.11 kB / 449.5 MB, free: 7.598 MB / 362.7 MB Notification: Performance of pre-optimization done (n=69): time 3.99e-06/0.5832, allocations: 0 / 449.5 MB, free: 7.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=73): time 0.004873/0.5881, allocations: 1.868 MB / 451.4 MB, free: 5.676 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.5882, allocations: 64.17 kB / 451.5 MB, free: 5.602 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009538/0.5891, allocations: 0.523 MB / 452 MB, free: 5.074 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.436e-05/0.5893, allocations: 41.7 kB / 452 MB, free: 5.027 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004124/0.5897, allocations: 447.2 kB / 452.5 MB, free: 4.582 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/0.59, allocations: 256.2 kB / 452.7 MB, free: 4.328 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.126e-05/0.5901, allocations: 19.94 kB / 452.7 MB, free: 4.309 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002628/0.5903, allocations: 386.7 kB / 453.1 MB, free: 3.922 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007524/0.5911, allocations: 286 kB / 453.4 MB, free: 3.645 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008882/0.592, allocations: 426.5 kB / 453.8 MB, free: 3.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008838/0.5929, allocations: 350 kB / 454.2 MB, free: 2.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.5929, allocations: 3.938 kB / 454.2 MB, free: 2.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002751/0.5957, allocations: 1.027 MB / 455.2 MB, free: 1.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.5957, allocations: 8 kB / 455.2 MB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.5958, allocations: 4 kB / 455.2 MB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007366/0.5965, allocations: 188.7 kB / 455.4 MB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.5977, allocations: 203.8 kB / 455.6 MB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004883/0.6026, allocations: 2.623 MB / 458.2 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008572/0.6035, allocations: 48.03 kB / 458.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.6036, allocations: 35.98 kB / 458.3 MB, free: 14.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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,72.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002567/0.6039, allocations: 141.6 kB / 458.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.6041, allocations: 83.02 kB / 458.5 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.6044, allocations: 95.27 kB / 458.6 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.6044, allocations: 8 kB / 458.6 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.6044, allocations: 0 / 458.6 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.6044, allocations: 7.984 kB / 458.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.6061, allocations: 0.8847 MB / 459.5 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.978e-06/0.6061, allocations: 0 / 459.5 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.6072, allocations: 155.8 kB / 459.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007123/0.6079, allocations: 180.6 kB / 459.8 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.227e-05/0.608, allocations: 23.97 kB / 459.8 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004832/0.6128, allocations: 2.619 MB / 462.5 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6129, allocations: 0 / 462.5 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003222/0.6161, allocations: 1.334 MB / 463.8 MB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.6164, allocations: 148.2 kB / 463.9 MB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.6166, allocations: 19.98 kB / 464 MB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007832/0.6174, allocations: 60.22 kB / 464 MB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.6175, allocations: 48.7 kB / 464.1 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.165e-05/0.6176, allocations: 31.97 kB / 464.1 MB, free: 8.496 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007436/0.6184, allocations: 415.2 kB / 464.5 MB, free: 8.094 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.6184, allocations: 0 / 464.5 MB, free: 8.094 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001123/0.6195, allocations: 259.9 kB / 464.8 MB, free: 7.84 MB / 378.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.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * 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,72.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003046/0.6199, allocations: 143.2 kB / 464.9 MB, free: 7.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002483/0.6224, allocations: 0.936 MB / 465.8 MB, free: 6.746 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.6224, allocations: 3.938 kB / 465.8 MB, free: 6.742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.624, allocations: 0.5869 MB / 466.4 MB, free: 6.145 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008757/0.6249, allocations: 135.5 kB / 466.6 MB, free: 6.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/0.6288, allocations: 1.648 MB / 468.2 MB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008204/0.6296, allocations: 1.001 MB / 469.2 MB, free: 3.312 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006324/0.6302, allocations: 89.47 kB / 469.3 MB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.6305, allocations: 55.42 kB / 469.4 MB, free: 3.168 MB / 378.7 MB Notification: Performance of SimCode: time 1.735e-06/0.6305, allocations: 3.938 kB / 469.4 MB, free: 3.164 MB / 378.7 MB Notification: Performance of Templates: time 0.02844/0.659, allocations: 10.01 MB / 479.4 MB, free: 9.246 MB / 394.7 MB