Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.766e-05/3.781e-05, allocations: 7.984 kB / 292.1 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09278/0.09284, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4051/0.498, allocations: 80.05 MB / 422.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.4982, allocations: 74.58 kB / 422.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02423/0.5225, allocations: 5.912 MB / 428.6 MB, free: 8.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.189e-06/0.5225, allocations: 0 / 428.6 MB, free: 8.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.048e-05/0.5226, allocations: 4 kB / 428.6 MB, free: 8.977 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001145/0.5237, allocations: 0.5753 MB / 429.2 MB, free: 8.367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.5238, allocations: 8.031 kB / 429.2 MB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.5239, allocations: 31.62 kB / 429.2 MB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.5244, allocations: 273 kB / 429.5 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.5244, allocations: 15.88 kB / 429.5 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.5245, allocations: 21.06 kB / 429.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.5251, allocations: 261.6 kB / 429.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.5251, allocations: 0 / 429.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.5251, allocations: 15.06 kB / 429.8 MB, free: 7.828 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.5252, allocations: 4 kB / 429.8 MB, free: 7.824 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/0.5256, allocations: 168.2 kB / 430 MB, free: 7.723 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.5279, allocations: 1.119 MB / 431.1 MB, free: 6.684 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.5284, allocations: 135.7 kB / 431.2 MB, free: 6.582 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.5286, allocations: 58.3 kB / 431.3 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.5286, allocations: 4 kB / 431.3 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/0.5289, allocations: 134 kB / 431.4 MB, free: 6.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 3.298e-06/0.529, allocations: 0 / 431.4 MB, free: 6.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007535/0.5297, allocations: 201.2 kB / 431.6 MB, free: 6.238 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/0.5298, allocations: 102.8 kB / 431.7 MB, free: 6.113 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/0.5302, allocations: 262.2 kB / 432 MB, free: 5.898 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.5303, allocations: 33.08 kB / 432 MB, free: 5.863 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.5305, allocations: 195.1 kB / 432.2 MB, free: 5.699 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.5305, allocations: 40.08 kB / 432.2 MB, free: 5.668 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/0.5306, allocations: 7.375 kB / 432.2 MB, free: 5.664 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.5308, allocations: 332.9 kB / 432.5 MB, free: 5.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.5309, allocations: 53.11 kB / 432.6 MB, free: 5.305 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.5312, allocations: 168.1 kB / 432.8 MB, free: 5.121 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.5314, allocations: 97.45 kB / 432.9 MB, free: 5.039 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.035e-06/0.5314, allocations: 0 / 432.9 MB, free: 5.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009976/0.5324, allocations: 329.9 kB / 433.2 MB, free: 4.758 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.194e-05/0.5325, allocations: 45.02 kB / 433.2 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.5325, allocations: 4 kB / 433.2 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002869/0.5328, allocations: 53.64 kB / 433.3 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.5331, allocations: 51.91 kB / 433.3 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.5354, allocations: 1.523 MB / 434.9 MB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.536, allocations: 62.86 kB / 434.9 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.536, allocations: 16.06 kB / 434.9 MB, free: 3.012 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.5362, allocations: 120.2 kB / 435 MB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.5363, allocations: 19.81 kB / 435.1 MB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.488e-05/0.5364, allocations: 28.52 kB / 435.1 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.554e-06/0.5364, allocations: 0 / 435.1 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.788e-06/0.5364, allocations: 0 / 435.1 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.317e-06/0.5364, allocations: 0 / 435.1 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.5368, allocations: 308.9 kB / 435.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.691e-06/0.5368, allocations: 11.94 kB / 435.4 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.537, allocations: 19.98 kB / 435.4 MB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002135/0.5372, allocations: 51.58 kB / 435.5 MB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.5373, allocations: 4 kB / 435.5 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/0.5393, allocations: 1.515 MB / 437 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.556e-06/0.5394, allocations: 0 / 437 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000716/0.5401, allocations: 225.1 kB / 437.2 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.5403, allocations: 115.4 kB / 437.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.628e-05/0.5404, allocations: 7.453 kB / 437.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.5407, allocations: 35.95 kB / 437.4 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.5408, allocations: 22.47 kB / 437.4 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.5409, allocations: 4 kB / 437.4 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002859/0.5412, allocations: 202.5 kB / 437.6 MB, free: 420 kB / 346.7 MB Notification: Performance of sort global known variables: time 7.23e-07/0.5412, allocations: 3.938 kB / 437.6 MB, free: 416 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005123/0.5417, allocations: 79.2 kB / 437.7 MB, free: 340 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (7): * Single equations (assignments): 4 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001799/0.5419, allocations: 107.2 kB / 437.8 MB, free: 228 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007207/0.5426, allocations: 315 kB / 438.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.955e-06/0.5427, allocations: 8.188 kB / 438.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.543, allocations: 178.9 kB / 438.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.5434, allocations: 36.56 kB / 438.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008079/0.5442, allocations: 283.2 kB / 438.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.5447, allocations: 0.756 MB / 439.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.5449, allocations: 26.06 kB / 439.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.414e-05/0.5449, allocations: 19.44 kB / 439.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.788e-06/0.545, allocations: 4 kB / 439.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of Templates: time 0.01103/0.556, allocations: 3.638 MB / 443 MB, free: 11.04 MB / 362.7 MB