Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") Notification: Performance of loadModel(Modelica): time 2.119/2.119, allocations: 225.8 MB / 238.8 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.809e-05/2.826e-05, allocations: 4 kB / 292.2 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09068/0.09073, allocations: 50.41 MB / 342.6 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.368/0.4588, allocations: 81.32 MB / 423.9 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.4591, allocations: 81.56 kB / 424 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02617/0.4853, allocations: 6.402 MB / 430.4 MB, free: 7.359 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.069e-06/0.4853, allocations: 0 / 430.4 MB, free: 7.359 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.942e-05/0.4853, allocations: 4 kB / 430.4 MB, free: 7.355 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001219/0.4866, allocations: 0.5833 MB / 431 MB, free: 6.738 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4866, allocations: 16.03 kB / 431 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.4868, allocations: 31.62 kB / 431 MB, free: 6.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.4873, allocations: 294.1 kB / 431.3 MB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.4873, allocations: 14.62 kB / 431.3 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.4874, allocations: 29.94 kB / 431.3 MB, free: 6.375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006541/0.4881, allocations: 265.5 kB / 431.6 MB, free: 6.191 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.4881, allocations: 3.953 kB / 431.6 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.348e-05/0.4882, allocations: 10.44 kB / 431.6 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.856e-06/0.4882, allocations: 8 kB / 431.6 MB, free: 6.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/0.4887, allocations: 193 kB / 431.8 MB, free: 6.062 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00276/0.4915, allocations: 1.191 MB / 433 MB, free: 5.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.492, allocations: 141.5 kB / 433.1 MB, free: 4.922 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.4922, allocations: 64.58 kB / 433.2 MB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.4922, allocations: 4 kB / 433.2 MB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003251/0.4925, allocations: 137.4 kB / 433.3 MB, free: 4.746 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.507e-06/0.4926, allocations: 0 / 433.3 MB, free: 4.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008611/0.4934, allocations: 238.8 kB / 433.6 MB, free: 4.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.716e-05/0.4936, allocations: 114.8 kB / 433.7 MB, free: 4.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004003/0.494, allocations: 247.5 kB / 433.9 MB, free: 4.215 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.494, allocations: 37.52 kB / 434 MB, free: 4.176 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.4942, allocations: 197.9 kB / 434.2 MB, free: 4.008 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.4943, allocations: 38.45 kB / 434.2 MB, free: 3.977 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.4943, allocations: 11.25 kB / 434.2 MB, free: 3.969 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.4945, allocations: 330 kB / 434.5 MB, free: 3.648 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.4947, allocations: 64.58 kB / 434.6 MB, free: 3.605 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.495, allocations: 153.7 kB / 434.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.4952, allocations: 102.2 kB / 434.8 MB, free: 3.367 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.964e-06/0.4953, allocations: 0 / 434.8 MB, free: 3.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00109/0.4964, allocations: 366.8 kB / 435.2 MB, free: 3.059 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.756e-05/0.4964, allocations: 37.84 kB / 435.2 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.4965, allocations: 11.98 kB / 435.2 MB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/0.4968, allocations: 50.03 kB / 435.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.4971, allocations: 54.66 kB / 435.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/0.4996, allocations: 1.658 MB / 437 MB, free: 1.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/0.5001, allocations: 62.95 kB / 437.1 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.5002, allocations: 8 kB / 437.1 MB, free: 1.195 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: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.5004, allocations: 131.2 kB / 437.2 MB, free: 1.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.115e-05/0.5005, allocations: 23.72 kB / 437.2 MB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.961e-05/0.5005, allocations: 28.58 kB / 437.3 MB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.759e-06/0.5006, allocations: 4 kB / 437.3 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.579e-06/0.5006, allocations: 0 / 437.3 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.259e-06/0.5006, allocations: 0 / 437.3 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000448/0.501, allocations: 333 kB / 437.6 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.816e-06/0.5011, allocations: 0 / 437.6 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.5013, allocations: 27.97 kB / 437.6 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/0.5015, allocations: 51.28 kB / 437.7 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.5015, allocations: 0 / 437.7 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.5037, allocations: 1.537 MB / 439.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.259e-06/0.5037, allocations: 4.062 kB / 439.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008181/0.5046, allocations: 277.2 kB / 439.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.5047, allocations: 103.9 kB / 439.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.5048, allocations: 3.422 kB / 439.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.5051, allocations: 43.91 kB / 439.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.5053, allocations: 30.64 kB / 439.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.5053, allocations: 4 kB / 439.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003047/0.5056, allocations: 190.8 kB / 439.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.85e-07/0.5056, allocations: 0 / 439.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005692/0.5062, allocations: 78.59 kB / 439.9 MB, free: 14.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001871/0.5064, allocations: 106.6 kB / 440 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007585/0.5072, allocations: 340.9 kB / 440.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.082e-06/0.5072, allocations: 0 / 440.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.5076, allocations: 188.9 kB / 440.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.5081, allocations: 42.78 kB / 440.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000861/0.5089, allocations: 288.2 kB / 440.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.5094, allocations: 0.7677 MB / 441.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.5096, allocations: 22.08 kB / 441.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.789e-05/0.5097, allocations: 19.44 kB / 441.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of SimCode: time 2.22e-06/0.5098, allocations: 0 / 441.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of Templates: time 0.0117/0.5215, allocations: 3.654 MB / 445.3 MB, free: 9.125 MB / 362.7 MB