Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadModel(Modelica): time 1.997/1.997, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.327e-05/3.346e-05, allocations: 4 kB / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 50.41 MB / 343.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4377/0.552, allocations: 81.67 MB / 424.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005002/0.5526, allocations: 78.33 kB / 424.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04639/0.599, allocations: 6.289 MB / 431.1 MB, free: 7.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.599, allocations: 0 / 431.1 MB, free: 7.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.469e-05/0.5991, allocations: 8 kB / 431.1 MB, free: 7.156 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001209/0.6003, allocations: 0.5745 MB / 431.7 MB, free: 6.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.6004, allocations: 8.031 kB / 431.7 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.6005, allocations: 43.61 kB / 431.8 MB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.601, allocations: 283 kB / 432 MB, free: 6.211 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.6011, allocations: 20.56 kB / 432.1 MB, free: 6.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.046e-05/0.6011, allocations: 25.62 kB / 432.1 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005905/0.6017, allocations: 263.8 kB / 432.3 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.6018, allocations: 0 / 432.3 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.6018, allocations: 6.938 kB / 432.3 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.6019, allocations: 8 kB / 432.4 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.6023, allocations: 186.3 kB / 432.5 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002786/0.6051, allocations: 1.209 MB / 433.7 MB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/0.6056, allocations: 137.4 kB / 433.9 MB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.6058, allocations: 59.23 kB / 433.9 MB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.6058, allocations: 4.219 kB / 433.9 MB, free: 4.656 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002968/0.6062, allocations: 128.9 kB / 434.1 MB, free: 4.535 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 3.058e-06/0.6062, allocations: 0 / 434.1 MB, free: 4.535 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007747/0.607, allocations: 215.3 kB / 434.3 MB, free: 4.352 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.6071, allocations: 81.11 kB / 434.4 MB, free: 4.254 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.6074, allocations: 231.4 kB / 434.6 MB, free: 4.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.6075, allocations: 29.7 kB / 434.6 MB, free: 4.035 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.6077, allocations: 203.5 kB / 434.8 MB, free: 3.859 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.6078, allocations: 46.12 kB / 434.9 MB, free: 3.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.6078, allocations: 7.062 kB / 434.9 MB, free: 3.816 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.608, allocations: 331.4 kB / 435.2 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.6082, allocations: 59.09 kB / 435.2 MB, free: 3.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.6085, allocations: 137.9 kB / 435.4 MB, free: 3.309 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.6087, allocations: 100.2 kB / 435.5 MB, free: 3.227 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.324e-06/0.6087, allocations: 0 / 435.5 MB, free: 3.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000993/0.6097, allocations: 332.9 kB / 435.8 MB, free: 2.945 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.472e-05/0.6098, allocations: 37.69 kB / 435.8 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.6098, allocations: 3.984 kB / 435.8 MB, free: 2.898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/0.61, allocations: 40.48 kB / 435.9 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.6104, allocations: 59.2 kB / 435.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.6122, allocations: 1.381 MB / 437.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.6128, allocations: 58.92 kB / 437.4 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.6128, allocations: 15.94 kB / 437.4 MB, free: 1.297 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 (25): * Single equations (assignments): 23 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.613, allocations: 124.1 kB / 437.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.613, allocations: 27.7 kB / 437.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.85e-05/0.6131, allocations: 16.84 kB / 437.6 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.423e-06/0.6131, allocations: 0 / 437.6 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.583e-06/0.6132, allocations: 4 kB / 437.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.92e-06/0.6132, allocations: 3.984 kB / 437.6 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.6136, allocations: 314.4 kB / 437.9 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.46e-06/0.6136, allocations: 0 / 437.9 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.6139, allocations: 43.91 kB / 437.9 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001312/0.6141, allocations: 27.72 kB / 437.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.6141, allocations: 7.25 kB / 437.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.6158, allocations: 1.363 MB / 439.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.96e-06/0.6158, allocations: 3.984 kB / 439.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009239/0.6168, allocations: 319.2 kB / 439.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.6169, allocations: 100.8 kB / 439.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.617, allocations: 0 / 439.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.6173, allocations: 39.27 kB / 439.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.707e-05/0.6174, allocations: 27.67 kB / 439.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.6175, allocations: 4 kB / 439.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002735/0.6178, allocations: 186.5 kB / 440 MB, free: 14.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.6178, allocations: 0 / 440 MB, free: 14.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004999/0.6183, allocations: 70.94 kB / 440 MB, free: 14.67 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * 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 (11): * Single equations (assignments): 8 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002081/0.6185, allocations: 111.8 kB / 440.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006493/0.6192, allocations: 307 kB / 440.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6192, allocations: 0 / 440.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.6195, allocations: 169.6 kB / 440.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.6199, allocations: 35.61 kB / 440.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.6218, allocations: 0.5153 MB / 441.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.6223, allocations: 0.7599 MB / 441.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001853/0.6225, allocations: 33.94 kB / 442 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.801e-05/0.6226, allocations: 19.44 kB / 442 MB, free: 12.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.879e-06/0.6226, allocations: 0 / 442 MB, free: 12.77 MB / 362.7 MB Notification: Performance of Templates: time 0.01009/0.6327, allocations: 3.215 MB / 445.2 MB, free: 9.582 MB / 362.7 MB