Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") Notification: Performance of loadModel(Modelica): time 2.018/2.018, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.479e-05/3.495e-05, allocations: 4 kB / 292.2 MB, free: 8.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1479, allocations: 50.41 MB / 342.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3867/0.5347, allocations: 82.97 MB / 425.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.535, allocations: 82.39 kB / 425.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03964/0.5746, allocations: 9.792 MB / 435.4 MB, free: 2.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.343e-06/0.5747, allocations: 0 / 435.4 MB, free: 2.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.357e-05/0.5747, allocations: 19.98 kB / 435.4 MB, free: 2.773 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001789/0.5765, allocations: 0.7809 MB / 436.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.5766, allocations: 8.031 kB / 436.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.5769, allocations: 75.16 kB / 436.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008444/0.5777, allocations: 392.1 kB / 436.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/0.5778, allocations: 39.06 kB / 436.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.5779, allocations: 56.66 kB / 436.8 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.5791, allocations: 0.5167 MB / 437.3 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.5792, allocations: 0 / 437.3 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-05/0.5793, allocations: 24.94 kB / 437.3 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.5793, allocations: 12 kB / 437.3 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009073/0.5802, allocations: 351.5 kB / 437.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004521/0.5848, allocations: 1.855 MB / 439.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009515/0.5858, allocations: 0.4896 MB / 440 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.5869, allocations: 396 kB / 440.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.757e-05/0.587, allocations: 12.33 kB / 440.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005867/0.5876, allocations: 261.9 kB / 440.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 3.698e-06/0.5876, allocations: 0 / 440.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.001883/0.5895, allocations: 0.5758 MB / 441.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001725/0.5897, allocations: 247.2 kB / 441.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007053/0.5904, allocations: 375.7 kB / 441.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.739e-05/0.5905, allocations: 35.45 kB / 441.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.5908, allocations: 308.2 kB / 442.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.591, allocations: 131 kB / 442.3 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.591, allocations: 15.31 kB / 442.3 MB, free: 12.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.5913, allocations: 359.3 kB / 442.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.5916, allocations: 125.4 kB / 442.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004921/0.5921, allocations: 285.9 kB / 443.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.5925, allocations: 161.6 kB / 443.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.303e-06/0.5926, allocations: 8 kB / 443.2 MB, free: 12.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002087/0.5947, allocations: 0.703 MB / 443.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.5947, allocations: 11.97 kB / 444 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.5947, allocations: 4 kB / 444 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007312/0.5955, allocations: 166 kB / 444.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000505/0.596, allocations: 86.95 kB / 444.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004539/0.6006, allocations: 2.418 MB / 446.6 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007658/0.6014, allocations: 86.53 kB / 446.7 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.6015, allocations: 27.17 kB / 446.7 MB, free: 9.086 MB / 362.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: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002021/0.6017, allocations: 139.3 kB / 446.9 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.6018, allocations: 47.44 kB / 446.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.602, allocations: 56.09 kB / 447 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.628e-06/0.602, allocations: 4 kB / 447 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.602, allocations: 0 / 447 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.181e-06/0.602, allocations: 3.984 kB / 447 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.6049, allocations: 1.208 MB / 448.2 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.6049, allocations: 0 / 448.2 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/0.6053, allocations: 51.91 kB / 448.2 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006659/0.6059, allocations: 164.7 kB / 448.4 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.606, allocations: 15.06 kB / 448.4 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004207/0.6102, allocations: 2.36 MB / 450.8 MB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.873e-06/0.6103, allocations: 0 / 450.8 MB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.6125, allocations: 0.8371 MB / 451.6 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.6128, allocations: 140.4 kB / 451.7 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.6129, allocations: 12.06 kB / 451.8 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005408/0.6135, allocations: 51.89 kB / 451.8 MB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.6136, allocations: 35.95 kB / 451.8 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.6137, allocations: 12 kB / 451.9 MB, free: 4.648 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005177/0.6142, allocations: 289.2 kB / 452.1 MB, free: 4.367 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.15e-07/0.6142, allocations: 0 / 452.1 MB, free: 4.367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009797/0.6152, allocations: 187.5 kB / 452.3 MB, free: 4.184 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002685/0.6155, allocations: 131.9 kB / 452.5 MB, free: 4.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.6169, allocations: 0.5015 MB / 453 MB, free: 3.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.422e-06/0.6169, allocations: 0 / 453 MB, free: 3.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000811/0.6177, allocations: 357.8 kB / 453.3 MB, free: 3.176 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/0.6184, allocations: 61.53 kB / 453.4 MB, free: 3.117 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.6202, allocations: 0.6202 MB / 454 MB, free: 2.473 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006694/0.6209, allocations: 0.8715 MB / 454.9 MB, free: 1.574 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000343/0.6213, allocations: 56.48 kB / 454.9 MB, free: 1.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.6214, allocations: 35.42 kB / 454.9 MB, free: 1.484 MB / 362.7 MB Notification: Performance of SimCode: time 1.778e-06/0.6214, allocations: 3.938 kB / 454.9 MB, free: 1.48 MB / 362.7 MB Notification: Performance of Templates: time 0.01975/0.6412, allocations: 6.669 MB / 461.6 MB, free: 10.87 MB / 378.7 MB