Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadModel(Modelica): time 1.922/1.922, allocations: 205.8 MB / 218.9 MB, free: 9.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.317e-05/3.358e-05, allocations: 4 kB / 269.4 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 47.58 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3434/0.4559, allocations: 78.23 MB / 395.2 MB, free: 9.902 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.4562, allocations: 75.33 kB / 395.2 MB, free: 9.863 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02534/0.4815, allocations: 5.688 MB / 400.9 MB, free: 4.977 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.007e-06/0.4816, allocations: 0 / 400.9 MB, free: 4.977 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.301e-05/0.4816, allocations: 8.766 kB / 400.9 MB, free: 4.969 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001251/0.4829, allocations: 0.564 MB / 401.5 MB, free: 4.371 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.483, allocations: 8.031 kB / 401.5 MB, free: 4.363 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.4831, allocations: 39.06 kB / 401.6 MB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.4836, allocations: 271.6 kB / 401.8 MB, free: 4.043 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.4836, allocations: 18.62 kB / 401.8 MB, free: 4.035 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.4837, allocations: 25.81 kB / 401.9 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/0.4843, allocations: 251.4 kB / 402.1 MB, free: 3.836 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.4843, allocations: 0 / 402.1 MB, free: 3.836 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.391e-05/0.4844, allocations: 13.56 kB / 402.1 MB, free: 3.832 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.4844, allocations: 4 kB / 402.1 MB, free: 3.828 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004625/0.4849, allocations: 167.9 kB / 402.3 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002421/0.4873, allocations: 1.106 MB / 403.4 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/0.4879, allocations: 144.7 kB / 403.5 MB, free: 2.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.488, allocations: 52.05 kB / 403.6 MB, free: 2.555 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.4881, allocations: 7.984 kB / 403.6 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.4884, allocations: 124.6 kB / 403.7 MB, free: 2.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 3.661e-06/0.4884, allocations: 4 kB / 403.7 MB, free: 2.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.000799/0.4892, allocations: 204.5 kB / 403.9 MB, free: 2.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.526e-05/0.4894, allocations: 102.8 kB / 404 MB, free: 2.125 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.4898, allocations: 253.4 kB / 404.3 MB, free: 1.918 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.4899, allocations: 33.64 kB / 404.3 MB, free: 1.883 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.49, allocations: 201.5 kB / 404.5 MB, free: 1.715 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.641e-05/0.4901, allocations: 39.25 kB / 404.5 MB, free: 1.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.4902, allocations: 7.875 kB / 404.5 MB, free: 1.676 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.4904, allocations: 334.2 kB / 404.9 MB, free: 1.352 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.4905, allocations: 53.92 kB / 404.9 MB, free: 1.316 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.4908, allocations: 160.5 kB / 405.1 MB, free: 1.137 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.4911, allocations: 112.8 kB / 405.2 MB, free: 1.047 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.646e-06/0.4911, allocations: 3.938 kB / 405.2 MB, free: 1.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001044/0.4921, allocations: 328.7 kB / 405.5 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.814e-05/0.4922, allocations: 41.62 kB / 405.6 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.4923, allocations: 8.406 kB / 405.6 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000282/0.4925, allocations: 52.22 kB / 405.6 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.4929, allocations: 59.83 kB / 405.7 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/0.4952, allocations: 1.517 MB / 407.2 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/0.4958, allocations: 55.53 kB / 407.2 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.4958, allocations: 19.92 kB / 407.3 MB, free: 15.02 MB / 330.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.0001524/0.496, allocations: 124.4 kB / 407.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.4961, allocations: 23.72 kB / 407.4 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.022e-05/0.4962, allocations: 25.64 kB / 407.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.513e-06/0.4962, allocations: 0 / 407.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.063e-06/0.4962, allocations: 3.953 kB / 407.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4962, allocations: 0 / 407.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/0.4966, allocations: 303.4 kB / 407.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.017e-06/0.4967, allocations: 192 / 407.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.4968, allocations: 27.98 kB / 407.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002327/0.4971, allocations: 52.27 kB / 407.8 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.4971, allocations: 7.688 kB / 407.8 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.4993, allocations: 1.502 MB / 409.3 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.358e-06/0.4993, allocations: 4.016 kB / 409.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007655/0.5001, allocations: 236.7 kB / 409.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.5003, allocations: 116.2 kB / 409.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.637e-05/0.5004, allocations: 3.812 kB / 409.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.5007, allocations: 35.97 kB / 409.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.5009, allocations: 27.83 kB / 409.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.5009, allocations: 4 kB / 409.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003003/0.5012, allocations: 197.5 kB / 409.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.5013, allocations: 0 / 409.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000563/0.5018, allocations: 87.41 kB / 410 MB, free: 12.33 MB / 330.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.0001881/0.502, allocations: 107.1 kB / 410.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007352/0.5028, allocations: 316.7 kB / 410.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5028, allocations: 0 / 410.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003361/0.5032, allocations: 182 kB / 410.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.5035, allocations: 45.58 kB / 410.7 MB, free: 11.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008474/0.5044, allocations: 278.5 kB / 410.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.5049, allocations: 0.756 MB / 411.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.5051, allocations: 26.06 kB / 411.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.5052, allocations: 19.44 kB / 411.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of SimCode: time 2.103e-06/0.5052, allocations: 0 / 411.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of Templates: time 0.0112/0.5164, allocations: 3.636 MB / 415.4 MB, free: 7.02 MB / 330.7 MB