Running command: translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadModel(Modelica): time 2.14/2.14, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.554e-05/2.564e-05, allocations: 4 kB / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08948/0.08953, allocations: 50.42 MB / 343.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4009/0.4905, allocations: 83.19 MB / 426.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.4907, allocations: 75.73 kB / 426.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05479/0.5456, allocations: 14.63 MB / 441 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.203e-06/0.5456, allocations: 0 / 441 MB, free: 14.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.549e-05/0.5457, allocations: 24 kB / 441 MB, free: 14.62 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001681/0.5474, allocations: 0.8956 MB / 441.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.5474, allocations: 12.03 kB / 441.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.5477, allocations: 102.8 kB / 442 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.5487, allocations: 0.5096 MB / 442.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.296e-05/0.5488, allocations: 61 kB / 442.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.5489, allocations: 84.78 kB / 442.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.5506, allocations: 0.805 MB / 443.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.875e-05/0.5507, allocations: 11.84 kB / 443.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.352e-05/0.5508, allocations: 42.95 kB / 443.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.5508, allocations: 20 kB / 443.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.5519, allocations: 426.9 kB / 443.9 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005307/0.5573, allocations: 4.394 MB / 448.3 MB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007492/0.5581, allocations: 283.1 kB / 448.6 MB, free: 7.672 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.5584, allocations: 140.5 kB / 448.8 MB, free: 7.582 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002361/0.5586, allocations: 170.6 kB / 448.9 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.5587, allocations: 38.69 kB / 449 MB, free: 7.336 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.52e-06/0.5587, allocations: 0 / 449 MB, free: 7.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.003977/0.5627, allocations: 1.584 MB / 450.5 MB, free: 5.953 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.5627, allocations: 67.86 kB / 450.6 MB, free: 5.875 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007403/0.5635, allocations: 460.8 kB / 451.1 MB, free: 5.512 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.5636, allocations: 36.45 kB / 451.1 MB, free: 5.477 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.5639, allocations: 480.6 kB / 451.6 MB, free: 5.121 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.5642, allocations: 212.3 kB / 451.8 MB, free: 4.941 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.5642, allocations: 14.94 kB / 451.8 MB, free: 4.938 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.5645, allocations: 381.6 kB / 452.2 MB, free: 4.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.5648, allocations: 147.9 kB / 452.3 MB, free: 4.492 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006001/0.5654, allocations: 436.3 kB / 452.7 MB, free: 4.012 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/0.566, allocations: 221.7 kB / 452.9 MB, free: 3.855 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.703e-06/0.566, allocations: 4 kB / 453 MB, free: 3.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001535/0.5675, allocations: 0.6872 MB / 453.6 MB, free: 3.293 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.5676, allocations: 11.98 kB / 453.6 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.5676, allocations: 8 kB / 453.7 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/0.5678, allocations: 45.83 kB / 453.7 MB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008187/0.5687, allocations: 189.5 kB / 453.9 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.5705, allocations: 1.512 MB / 455.4 MB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/0.571, allocations: 28.25 kB / 455.4 MB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.126e-05/0.5711, allocations: 40 kB / 455.5 MB, free: 1.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002029/0.5713, allocations: 164.6 kB / 455.6 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.5715, allocations: 79.05 kB / 455.7 MB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.5717, allocations: 71.08 kB / 455.8 MB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.5717, allocations: 8 kB / 455.8 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.491e-06/0.5717, allocations: 0 / 455.8 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.5717, allocations: 3.984 kB / 455.8 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/0.5746, allocations: 1.394 MB / 457.2 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.486e-06/0.5746, allocations: 0 / 457.2 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007072/0.5753, allocations: 116.2 kB / 457.3 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/0.5755, allocations: 28.84 kB / 457.3 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/0.5755, allocations: 12 kB / 457.3 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.5768, allocations: 1.273 MB / 458.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/0.5768, allocations: 4 kB / 458.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.5784, allocations: 0.8763 MB / 459.5 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.5786, allocations: 136.3 kB / 459.6 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.362e-05/0.5787, allocations: 16 kB / 459.6 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.579, allocations: 16 kB / 459.6 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.5791, allocations: 51.83 kB / 459.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.5792, allocations: 12 kB / 459.7 MB, free: 12.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000598/0.5798, allocations: 355.2 kB / 460.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.05e-07/0.5798, allocations: 4 kB / 460.1 MB, free: 12.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009088/0.5807, allocations: 136.1 kB / 460.2 MB, free: 12.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002079/0.581, allocations: 135 kB / 460.3 MB, free: 12.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.5822, allocations: 0.5247 MB / 460.9 MB, free: 11.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.012e-06/0.5822, allocations: 4 kB / 460.9 MB, free: 11.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005289/0.5827, allocations: 289.3 kB / 461.1 MB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/0.5834, allocations: 83.77 kB / 461.2 MB, free: 11.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.5866, allocations: 1.547 MB / 462.8 MB, free: 9.559 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008318/0.5875, allocations: 0.9892 MB / 463.8 MB, free: 8.543 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004263/0.5879, allocations: 85.92 kB / 463.8 MB, free: 8.457 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.5881, allocations: 67.36 kB / 463.9 MB, free: 8.391 MB / 378.7 MB Notification: Performance of SimCode: time 1.852e-06/0.5881, allocations: 0 / 463.9 MB, free: 8.391 MB / 378.7 MB Notification: Performance of Templates: time 0.01704/0.6052, allocations: 4.816 MB / 468.7 MB, free: 3.59 MB / 378.7 MB