Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") Notification: Performance of loadModel(Modelica): time 2.004/2.004, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.455e-05, allocations: 4 kB / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09177, allocations: 50.41 MB / 342.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3645/0.4563, allocations: 83.03 MB / 425.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.4566, allocations: 82.08 kB / 425.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0387/0.4953, allocations: 9.797 MB / 435.5 MB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.252e-06/0.4954, allocations: 0 / 435.5 MB, free: 2.684 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.272e-05/0.4954, allocations: 12 kB / 435.5 MB, free: 2.672 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.001652/0.4971, allocations: 0.7896 MB / 436.3 MB, free: 1.879 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.4971, allocations: 12.03 kB / 436.3 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.4973, allocations: 71.16 kB / 436.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007749/0.4981, allocations: 389.5 kB / 436.7 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/0.4982, allocations: 41 kB / 436.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.4983, allocations: 54.72 kB / 436.8 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.4995, allocations: 0.5053 MB / 437.3 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.4995, allocations: 4 kB / 437.3 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.331e-05/0.4996, allocations: 29.73 kB / 437.4 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.4997, allocations: 16 kB / 437.4 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000916/0.5006, allocations: 349.6 kB / 437.7 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004352/0.505, allocations: 1.852 MB / 439.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009579/0.506, allocations: 0.4906 MB / 440.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.507, allocations: 391 kB / 440.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/0.5071, allocations: 4.328 kB / 440.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000581/0.5077, allocations: 273.8 kB / 440.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 4.314e-06/0.5077, allocations: 0 / 440.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.001803/0.5096, allocations: 0.5768 MB / 441.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001677/0.5098, allocations: 246.5 kB / 441.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007011/0.5105, allocations: 373.4 kB / 441.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.692e-05/0.5106, allocations: 36.7 kB / 441.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.5109, allocations: 352.7 kB / 442.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.511, allocations: 138.2 kB / 442.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.5111, allocations: 10.94 kB / 442.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.5113, allocations: 330.1 kB / 442.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.5116, allocations: 121.5 kB / 442.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004924/0.5121, allocations: 287.8 kB / 443.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.5126, allocations: 169.2 kB / 443.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.174e-06/0.5126, allocations: 0 / 443.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002028/0.5146, allocations: 0.6806 MB / 444 MB, free: 11.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.5147, allocations: 8 kB / 444 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.5147, allocations: 8 kB / 444 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006844/0.5154, allocations: 165.7 kB / 444.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/0.5159, allocations: 78.84 kB / 444.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004466/0.5204, allocations: 2.425 MB / 446.7 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007206/0.5212, allocations: 82.62 kB / 446.7 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/0.5213, allocations: 23.61 kB / 446.8 MB, free: 8.969 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.0002006/0.5215, allocations: 145.9 kB / 446.9 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.5216, allocations: 47.44 kB / 447 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.5218, allocations: 52.72 kB / 447 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.874e-06/0.5218, allocations: 4 kB / 447 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.042e-06/0.5218, allocations: 0 / 447 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.5218, allocations: 3.984 kB / 447 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/0.5247, allocations: 1.205 MB / 448.2 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.36e-06/0.5248, allocations: 0 / 448.2 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.5251, allocations: 47.34 kB / 448.3 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006463/0.5258, allocations: 161 kB / 448.4 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/0.5259, allocations: 11.62 kB / 448.4 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004279/0.5302, allocations: 2.371 MB / 450.8 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.11e-06/0.5302, allocations: 3.938 kB / 450.8 MB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.5325, allocations: 0.8502 MB / 451.7 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.5328, allocations: 131.6 kB / 451.8 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.5329, allocations: 11.86 kB / 451.8 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004986/0.5334, allocations: 51.34 kB / 451.9 MB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.5336, allocations: 31.02 kB / 451.9 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.5336, allocations: 11.5 kB / 451.9 MB, free: 4.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004846/0.5341, allocations: 288.5 kB / 452.2 MB, free: 4.363 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.5341, allocations: 0 / 452.2 MB, free: 4.363 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009529/0.5351, allocations: 185.2 kB / 452.4 MB, free: 4.199 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.0002665/0.5354, allocations: 133.7 kB / 452.5 MB, free: 4.066 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.5367, allocations: 0.5055 MB / 453 MB, free: 3.672 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5368, allocations: 4.062 kB / 453 MB, free: 3.668 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000767/0.5375, allocations: 345.1 kB / 453.3 MB, free: 3.391 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006134/0.5382, allocations: 70.97 kB / 453.4 MB, free: 3.348 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.54, allocations: 0.6574 MB / 454.1 MB, free: 2.719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/0.5406, allocations: 0.8715 MB / 454.9 MB, free: 1.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.5408, allocations: 31.44 kB / 455 MB, free: 1.789 MB / 362.7 MB Notification: Performance of SimCode: time 1.885e-06/0.5408, allocations: 3.938 kB / 455 MB, free: 1.785 MB / 362.7 MB Notification: Performance of Templates: time 0.01545/0.5563, allocations: 8.095 MB / 463.1 MB, free: 9.703 MB / 378.7 MB