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_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadModel(Modelica): time 2.062/2.062, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.663e-05, allocations: 4 kB / 292.1 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09065/0.0907, allocations: 50.4 MB / 342.5 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3618/0.4526, allocations: 83.19 MB / 425.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.4528, allocations: 71.14 kB / 425.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05845/0.5113, allocations: 14.64 MB / 440.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.776e-06/0.5114, allocations: 0 / 440.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001177/0.5115, allocations: 23.98 kB / 440.5 MB, free: 14.61 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.002272/0.5138, allocations: 0.8939 MB / 441.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.5139, allocations: 16.02 kB / 441.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/0.5141, allocations: 102.8 kB / 441.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.5152, allocations: 0.5109 MB / 442 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.5153, allocations: 64.88 kB / 442 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.5155, allocations: 82.22 kB / 442.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.5171, allocations: 0.7975 MB / 442.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.333e-05/0.5172, allocations: 15.83 kB / 442.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.54e-05/0.5173, allocations: 40.83 kB / 443 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.5173, allocations: 20 kB / 443 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.5185, allocations: 421.8 kB / 443.4 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006015/0.5245, allocations: 4.401 MB / 447.8 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.5259, allocations: 280.3 kB / 448.1 MB, free: 7.668 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000485/0.5264, allocations: 141.2 kB / 448.2 MB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003341/0.5267, allocations: 162.6 kB / 448.4 MB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.5268, allocations: 42.36 kB / 448.4 MB, free: 7.336 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 5.94e-06/0.5268, allocations: 0 / 448.4 MB, free: 7.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.006583/0.5334, allocations: 1.579 MB / 450 MB, free: 5.957 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.5336, allocations: 71.84 kB / 450.1 MB, free: 5.875 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.5347, allocations: 460.1 kB / 450.5 MB, free: 5.512 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.017e-05/0.5348, allocations: 36.52 kB / 450.6 MB, free: 5.477 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005539/0.5354, allocations: 487.7 kB / 451 MB, free: 5.113 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/0.5357, allocations: 209.9 kB / 451.2 MB, free: 4.938 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.5357, allocations: 17.44 kB / 451.3 MB, free: 4.934 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002331/0.536, allocations: 379.6 kB / 451.6 MB, free: 4.582 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.5364, allocations: 145.9 kB / 451.8 MB, free: 4.488 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.537, allocations: 435.3 kB / 452.2 MB, free: 4.008 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005095/0.5375, allocations: 230.5 kB / 452.4 MB, free: 3.848 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.267e-06/0.5375, allocations: 0 / 452.4 MB, free: 3.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001613/0.5391, allocations: 0.6963 MB / 453.1 MB, free: 3.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.5392, allocations: 8 kB / 453.1 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.5392, allocations: 12 kB / 453.1 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002151/0.5394, allocations: 52.91 kB / 453.2 MB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007817/0.5402, allocations: 179.7 kB / 453.4 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.5421, allocations: 1.506 MB / 454.9 MB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005399/0.5426, allocations: 28 kB / 454.9 MB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.895e-05/0.5427, allocations: 32 kB / 454.9 MB, free: 1.316 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.0002105/0.543, allocations: 169.3 kB / 455.1 MB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.5431, allocations: 75.06 kB / 455.2 MB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.5433, allocations: 79.06 kB / 455.2 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.177e-06/0.5434, allocations: 4 kB / 455.2 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.5434, allocations: 4 kB / 455.3 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.483e-06/0.5434, allocations: 0 / 455.3 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.5463, allocations: 1.39 MB / 456.6 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.684e-06/0.5463, allocations: 4 kB / 456.6 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007156/0.547, allocations: 111.9 kB / 456.8 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001288/0.5472, allocations: 24.84 kB / 456.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/0.5472, allocations: 16.34 kB / 456.8 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.5485, allocations: 1.277 MB / 458.1 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.801e-06/0.5486, allocations: 4 kB / 458.1 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.5502, allocations: 0.8803 MB / 459 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.5504, allocations: 140.2 kB / 459.1 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/0.5504, allocations: 12 kB / 459.1 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.5508, allocations: 12 kB / 459.1 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.5509, allocations: 55.83 kB / 459.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.551, allocations: 16 kB / 459.2 MB, free: 12.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005959/0.5516, allocations: 347.2 kB / 459.5 MB, free: 12.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.095e-06/0.5516, allocations: 0 / 459.5 MB, free: 12.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009213/0.5525, allocations: 140.1 kB / 459.7 MB, free: 12.19 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.0002096/0.5527, allocations: 131.1 kB / 459.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.554, allocations: 0.5243 MB / 460.3 MB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.504e-06/0.554, allocations: 0.6875 kB / 460.3 MB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000541/0.5546, allocations: 297.4 kB / 460.6 MB, free: 11.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006018/0.5552, allocations: 78.97 kB / 460.7 MB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.5584, allocations: 1.553 MB / 462.2 MB, free: 9.527 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008136/0.5592, allocations: 0.989 MB / 463.2 MB, free: 8.512 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004066/0.5596, allocations: 81.92 kB / 463.3 MB, free: 8.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.5598, allocations: 59.42 kB / 463.4 MB, free: 8.371 MB / 378.7 MB Notification: Performance of SimCode: time 1.7e-06/0.5598, allocations: 0 / 463.4 MB, free: 8.371 MB / 378.7 MB Notification: Performance of Templates: time 0.01646/0.5763, allocations: 4.827 MB / 468.2 MB, free: 3.566 MB / 378.7 MB