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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") Notification: Performance of loadModel(Modelica): time 2.091/2.091, allocations: 225.8 MB / 239.4 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.486e-05, allocations: 4 kB / 292.7 MB, free: 11.49 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09386/0.09392, allocations: 50.41 MB / 343.1 MB, free: 9.07 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4239/0.5178, allocations: 82.73 MB / 425.8 MB, free: 8.191 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.5181, allocations: 84.03 kB / 425.9 MB, free: 8.191 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03581/0.5539, allocations: 9.794 MB / 435.7 MB, free: 4.738 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.312e-06/0.554, allocations: 0 / 435.7 MB, free: 4.738 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.221e-05/0.554, allocations: 11.53 kB / 435.7 MB, free: 4.738 MB / 330.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.001466/0.5555, allocations: 0.7872 MB / 436.5 MB, free: 4.152 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.5556, allocations: 11.72 kB / 436.5 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.5558, allocations: 69.97 kB / 436.6 MB, free: 4.117 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007048/0.5565, allocations: 396.5 kB / 436.9 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.5566, allocations: 41.41 kB / 437 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.285e-05/0.5567, allocations: 53.16 kB / 437 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.5578, allocations: 0.5089 MB / 437.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.5579, allocations: 0 / 437.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.341e-05/0.5579, allocations: 27.69 kB / 437.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.558, allocations: 11.62 kB / 437.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008492/0.5588, allocations: 351.8 kB / 437.9 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003971/0.5628, allocations: 1.854 MB / 439.8 MB, free: 2.672 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007731/0.5636, allocations: 0.497 MB / 440.3 MB, free: 2.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009276/0.5646, allocations: 386 kB / 440.7 MB, free: 2.367 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.5647, allocations: 4.172 kB / 440.7 MB, free: 2.367 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004882/0.5652, allocations: 278.4 kB / 440.9 MB, free: 2.215 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 4.184e-06/0.5652, allocations: 0 / 440.9 MB, free: 2.215 MB / 330.7 MB Notification: Performance of matching and sorting (n=41): time 0.001652/0.5668, allocations: 0.5748 MB / 441.5 MB, free: 2.047 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.5669, allocations: 239.1 kB / 441.7 MB, free: 1.762 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000596/0.5676, allocations: 382.3 kB / 442.1 MB, free: 1.617 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.045e-05/0.5676, allocations: 36.36 kB / 442.2 MB, free: 1.586 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.5679, allocations: 308.1 kB / 442.5 MB, free: 1.387 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.568, allocations: 134.4 kB / 442.6 MB, free: 1.289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.5681, allocations: 12.62 kB / 442.6 MB, free: 1.289 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.5682, allocations: 355.5 kB / 442.9 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.5685, allocations: 125.9 kB / 443.1 MB, free: 0.957 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.5689, allocations: 285.8 kB / 443.3 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/0.5693, allocations: 165.9 kB / 443.5 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.406e-06/0.5693, allocations: 3.812 kB / 443.5 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001982/0.5713, allocations: 0.6953 MB / 444.2 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.5713, allocations: 15.42 kB / 444.2 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.5714, allocations: 7.734 kB / 444.2 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006584/0.572, allocations: 164.4 kB / 444.4 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/0.5725, allocations: 93.36 kB / 444.5 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004095/0.5766, allocations: 2.415 MB / 446.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007162/0.5774, allocations: 88.66 kB / 447 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.5774, allocations: 23 kB / 447 MB, free: 14.85 MB / 346.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.0001891/0.5776, allocations: 135.9 kB / 447.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.5778, allocations: 49.88 kB / 447.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.5779, allocations: 59.02 kB / 447.2 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.243e-06/0.5779, allocations: 3.875 kB / 447.3 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5779, allocations: 0 / 447.3 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.102e-06/0.578, allocations: 0 / 447.3 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002625/0.5806, allocations: 1.212 MB / 448.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.716e-06/0.5806, allocations: 0 / 448.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.581, allocations: 42.56 kB / 448.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006058/0.5816, allocations: 166.9 kB / 448.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-05/0.5817, allocations: 7.391 kB / 448.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003989/0.5857, allocations: 2.373 MB / 451 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.478e-06/0.5857, allocations: 7.922 kB / 451.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.5878, allocations: 0.8403 MB / 451.9 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.5881, allocations: 134.8 kB / 452 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.5882, allocations: 10.41 kB / 452 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004957/0.5887, allocations: 52.41 kB / 452.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.5888, allocations: 30.27 kB / 452.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.5889, allocations: 10.84 kB / 452.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004495/0.5894, allocations: 290.2 kB / 452.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.68e-07/0.5894, allocations: 0 / 452.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000911/0.5903, allocations: 193 kB / 452.6 MB, free: 11.93 MB / 346.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.0002557/0.5906, allocations: 125.3 kB / 452.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.5918, allocations: 0.5103 MB / 453.2 MB, free: 11.67 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.865e-06/0.5918, allocations: 0 / 453.2 MB, free: 11.67 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007156/0.5925, allocations: 351.4 kB / 453.6 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006122/0.5932, allocations: 66.06 kB / 453.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.5949, allocations: 0.6215 MB / 454.3 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006238/0.5955, allocations: 0.871 MB / 455.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003453/0.5959, allocations: 47.61 kB / 455.2 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.596, allocations: 38.03 kB / 455.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.977e-06/0.596, allocations: 3.938 kB / 455.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of Templates: time 0.0205/0.6166, allocations: 6.664 MB / 461.9 MB, free: 4.457 MB / 346.7 MB