Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadModel(Modelica): time 1.903/1.903, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.19e-05/3.217e-05, allocations: 7.266 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07561/0.07566, allocations: 44.5 MB / 299.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.319/0.3947, allocations: 74.44 MB / 374.3 MB, free: 22.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.395, allocations: 78.58 kB / 374.4 MB, free: 22.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01994/0.415, allocations: 4.91 MB / 379.3 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.93e-06/0.415, allocations: 1.344 kB / 379.3 MB, free: 21.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.415, allocations: 7.375 kB / 379.3 MB, free: 21.84 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008303/0.4159, allocations: 0.5193 MB / 379.8 MB, free: 21.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4159, allocations: 9.156 kB / 379.8 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.573e-05/0.416, allocations: 26.17 kB / 379.8 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.4164, allocations: 257.1 kB / 380.1 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.4164, allocations: 15.41 kB / 380.1 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-05/0.4165, allocations: 16.91 kB / 380.1 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.4169, allocations: 178.5 kB / 380.3 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.4169, allocations: 1.125 kB / 380.3 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.417, allocations: 9.062 kB / 380.3 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.834e-06/0.417, allocations: 4.188 kB / 380.3 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003473/0.4173, allocations: 143.4 kB / 380.5 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.419, allocations: 0.8472 MB / 381.3 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.4195, allocations: 127.5 kB / 381.4 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.4196, allocations: 54.98 kB / 381.5 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.4196, allocations: 8.609 kB / 381.5 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.4199, allocations: 116.8 kB / 381.6 MB, free: 20.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 3.793e-06/0.4199, allocations: 0 / 381.6 MB, free: 20.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007249/0.4207, allocations: 198.1 kB / 381.8 MB, free: 20.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.4207, allocations: 79.8 kB / 381.9 MB, free: 20.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.421, allocations: 203.5 kB / 382.1 MB, free: 20.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.421, allocations: 27.98 kB / 382.1 MB, free: 20.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.872e-05/0.4211, allocations: 223.4 kB / 382.3 MB, free: 20.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.4212, allocations: 36.44 kB / 382.4 MB, free: 20.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.4212, allocations: 4.5 kB / 382.4 MB, free: 20.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.267e-05/0.4213, allocations: 321.9 kB / 382.7 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.4214, allocations: 46.78 kB / 382.7 MB, free: 19.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.4216, allocations: 113.8 kB / 382.8 MB, free: 19.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.4218, allocations: 86.45 kB / 382.9 MB, free: 19.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.468e-06/0.4218, allocations: 0 / 382.9 MB, free: 19.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007846/0.4226, allocations: 281.9 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.4226, allocations: 36.8 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.64e-06/0.4227, allocations: 1.594 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004423/0.4231, allocations: 77.8 kB / 383.3 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.4234, allocations: 56.22 kB / 383.4 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.4247, allocations: 1.326 MB / 384.7 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.4251, allocations: 47.92 kB / 384.7 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.4251, allocations: 9.062 kB / 384.7 MB, free: 18.21 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 18 * 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 9.146e-05/0.4252, allocations: 114.9 kB / 384.9 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.4253, allocations: 21.94 kB / 384.9 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.566e-05/0.4254, allocations: 21.45 kB / 384.9 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.855e-06/0.4254, allocations: 5.469 kB / 384.9 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4254, allocations: 0 / 384.9 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4254, allocations: 1.438 kB / 384.9 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.4257, allocations: 276.8 kB / 385.2 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.054e-06/0.4257, allocations: 4 kB / 385.2 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.426, allocations: 49.83 kB / 385.2 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004073/0.4264, allocations: 72.89 kB / 385.3 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.4265, allocations: 3.625 kB / 385.3 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.4276, allocations: 1.329 MB / 386.6 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.003e-06/0.4276, allocations: 4 kB / 386.6 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007751/0.4284, allocations: 274.6 kB / 386.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.4285, allocations: 107.3 kB / 387 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.4285, allocations: 6.438 kB / 387 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.4288, allocations: 25.33 kB / 387 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/0.4289, allocations: 17.83 kB / 387.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.429, allocations: 4.344 kB / 387.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000187/0.4292, allocations: 175.5 kB / 387.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.4292, allocations: 4 kB / 387.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000449/0.4296, allocations: 58.88 kB / 387.3 MB, free: 16.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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.0001483/0.4298, allocations: 112.7 kB / 387.4 MB, free: 16.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004976/0.4303, allocations: 282.6 kB / 387.7 MB, free: 16.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.299e-06/0.4303, allocations: 0 / 387.7 MB, free: 16.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.4306, allocations: 174.2 kB / 387.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.4309, allocations: 30.47 kB / 387.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007812/0.4317, allocations: 340.8 kB / 388.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/0.4323, allocations: 0.746 MB / 389 MB, free: 31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.4324, allocations: 17.25 kB / 389 MB, free: 31 MB / 330.7 MB Notification: Performance of SimCode: time 1.645e-06/0.4325, allocations: 0 / 389 MB, free: 31 MB / 330.7 MB Notification: Performance of Templates: time 0.006546/0.439, allocations: 3.64 MB / 392.6 MB, free: 30.8 MB / 330.7 MB