Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadModel(Modelica): time 2.071/2.071, allocations: 225.8 MB / 239.4 MB, free: 1.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.127e-05/4.144e-05, allocations: 4 kB / 292.7 MB, free: 11.48 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09142/0.09148, allocations: 50.41 MB / 343.1 MB, free: 9.074 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3847/0.4762, allocations: 79.8 MB / 422.9 MB, free: 8.23 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/0.4765, allocations: 74.52 kB / 422.9 MB, free: 8.227 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02526/0.5018, allocations: 5.911 MB / 428.9 MB, free: 6.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.809e-06/0.5018, allocations: 3.844 kB / 428.9 MB, free: 6.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.642e-05/0.5019, allocations: 7.844 kB / 428.9 MB, free: 6.977 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001477/0.5034, allocations: 0.5805 MB / 429.5 MB, free: 6.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.5034, allocations: 7.688 kB / 429.5 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.5036, allocations: 31.16 kB / 429.5 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.5042, allocations: 263.5 kB / 429.7 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.5042, allocations: 15.19 kB / 429.8 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.206e-05/0.5043, allocations: 26.38 kB / 429.8 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008408/0.5052, allocations: 261.2 kB / 430 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.5052, allocations: 4 kB / 430 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-05/0.5053, allocations: 11.19 kB / 430.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.5053, allocations: 3.844 kB / 430.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007465/0.5061, allocations: 166.5 kB / 430.2 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003075/0.5092, allocations: 1.123 MB / 431.3 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007271/0.51, allocations: 139.9 kB / 431.5 MB, free: 5.297 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.5103, allocations: 59.12 kB / 431.5 MB, free: 5.281 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.5103, allocations: 3.812 kB / 431.5 MB, free: 5.281 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003997/0.5107, allocations: 127.2 kB / 431.7 MB, free: 5.191 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 4.466e-06/0.5108, allocations: 0 / 431.7 MB, free: 5.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.001183/0.512, allocations: 199.8 kB / 431.9 MB, free: 5.113 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.5121, allocations: 114.7 kB / 432 MB, free: 4.977 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.5126, allocations: 250.6 kB / 432.2 MB, free: 4.863 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/0.5127, allocations: 25.7 kB / 432.2 MB, free: 4.832 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.5129, allocations: 195.8 kB / 432.4 MB, free: 4.688 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.628e-05/0.513, allocations: 40.44 kB / 432.5 MB, free: 4.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.513, allocations: 7.188 kB / 432.5 MB, free: 4.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.655e-05/0.5131, allocations: 336.1 kB / 432.8 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.5134, allocations: 54.92 kB / 432.9 MB, free: 4.336 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/0.5138, allocations: 170.2 kB / 433 MB, free: 4.191 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.5141, allocations: 97.61 kB / 433.1 MB, free: 4.141 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.5142, allocations: 3.812 kB / 433.1 MB, free: 4.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001609/0.5158, allocations: 330.5 kB / 433.5 MB, free: 4.004 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.757e-05/0.5159, allocations: 33.3 kB / 433.5 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.5159, allocations: 3.844 kB / 433.5 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004158/0.5164, allocations: 57.33 kB / 433.5 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.5169, allocations: 57.22 kB / 433.6 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003264/0.5202, allocations: 1.52 MB / 435.1 MB, free: 18.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008665/0.5211, allocations: 66.47 kB / 435.2 MB, free: 18.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/0.5212, allocations: 11.48 kB / 435.2 MB, free: 18.56 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.0002289/0.5215, allocations: 127.6 kB / 435.3 MB, free: 18.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.326e-05/0.5216, allocations: 23.31 kB / 435.3 MB, free: 18.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.5217, allocations: 24.55 kB / 435.4 MB, free: 18.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.9e-06/0.5217, allocations: 3.906 kB / 435.4 MB, free: 18.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.316e-06/0.5218, allocations: 0 / 435.4 MB, free: 18.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.957e-06/0.5218, allocations: 4 kB / 435.4 MB, free: 18.42 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005666/0.5224, allocations: 303.7 kB / 435.7 MB, free: 18.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.425e-06/0.5224, allocations: 0 / 435.7 MB, free: 18.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.5227, allocations: 23.44 kB / 435.7 MB, free: 18.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003522/0.5231, allocations: 59.97 kB / 435.8 MB, free: 18.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.5232, allocations: 3.984 kB / 435.8 MB, free: 18.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003138/0.5263, allocations: 1.51 MB / 437.3 MB, free: 16.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.011e-06/0.5264, allocations: 0 / 437.3 MB, free: 16.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.5276, allocations: 234.2 kB / 437.5 MB, free: 16.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.528, allocations: 106.7 kB / 437.6 MB, free: 16.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.5281, allocations: 10.88 kB / 437.6 MB, free: 16.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005807/0.5287, allocations: 34.38 kB / 437.6 MB, free: 16.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.5289, allocations: 22.62 kB / 437.7 MB, free: 16.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.529, allocations: 14.64 kB / 437.7 MB, free: 16.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004377/0.5294, allocations: 193.3 kB / 437.9 MB, free: 16.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.577e-06/0.5294, allocations: 0 / 437.9 MB, free: 16.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009214/0.5304, allocations: 83.66 kB / 438 MB, free: 16.44 MB / 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.0002699/0.5307, allocations: 106.3 kB / 438.1 MB, free: 16.35 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.5319, allocations: 320.1 kB / 438.4 MB, free: 16.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.648e-06/0.5319, allocations: 7.812 kB / 438.4 MB, free: 16.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005593/0.5325, allocations: 167.3 kB / 438.5 MB, free: 16.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005816/0.5331, allocations: 42.23 kB / 438.6 MB, free: 16.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.5344, allocations: 280.1 kB / 438.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.5351, allocations: 0.7579 MB / 439.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003185/0.5354, allocations: 29.64 kB / 439.6 MB, free: 15.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.5356, allocations: 19.09 kB / 439.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of SimCode: time 2.196e-06/0.5356, allocations: 0 / 439.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of Templates: time 0.01654/0.5522, allocations: 3.645 MB / 443.3 MB, free: 13.31 MB / 346.7 MB