Running command: translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadModel(Modelica): time 1.91/1.91, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.814e-05/2.822e-05, allocations: 7.984 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09123/0.09128, allocations: 50.41 MB / 342.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3634/0.4547, allocations: 83.24 MB / 425.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.4549, allocations: 74.14 kB / 425.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05441/0.5094, allocations: 14.64 MB / 440.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5094, allocations: 0 / 440.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.621e-05/0.5095, allocations: 16 kB / 440.5 MB, free: 14.51 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.001705/0.5112, allocations: 0.8945 MB / 441.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.5113, allocations: 12.03 kB / 441.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.5115, allocations: 98.78 kB / 441.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.5126, allocations: 0.5214 MB / 442 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.313e-05/0.5127, allocations: 59 kB / 442.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.5128, allocations: 87.08 kB / 442.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.5145, allocations: 0.8001 MB / 443 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.458e-05/0.5146, allocations: 19.77 kB / 443 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.956e-05/0.5147, allocations: 36.89 kB / 443 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/0.5147, allocations: 24 kB / 443.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.5159, allocations: 421.1 kB / 443.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005417/0.5213, allocations: 4.402 MB / 447.9 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007303/0.5221, allocations: 282.8 kB / 448.1 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.5224, allocations: 135.5 kB / 448.3 MB, free: 7.469 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/0.5226, allocations: 166.6 kB / 448.4 MB, free: 7.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.5227, allocations: 34.19 kB / 448.5 MB, free: 7.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 4.035e-06/0.5227, allocations: 0 / 448.5 MB, free: 7.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.004022/0.5267, allocations: 1.59 MB / 450.1 MB, free: 5.844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.5268, allocations: 67.86 kB / 450.1 MB, free: 5.766 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000752/0.5276, allocations: 463.9 kB / 450.6 MB, free: 5.398 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.5276, allocations: 32.58 kB / 450.6 MB, free: 5.367 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003987/0.528, allocations: 0.5038 MB / 451.1 MB, free: 4.961 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.5283, allocations: 210 kB / 451.3 MB, free: 4.781 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.5283, allocations: 19.5 kB / 451.3 MB, free: 4.777 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.5285, allocations: 340.6 kB / 451.7 MB, free: 4.449 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.5289, allocations: 147.5 kB / 451.8 MB, free: 4.352 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005986/0.5295, allocations: 432 kB / 452.2 MB, free: 3.875 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/0.53, allocations: 228.2 kB / 452.5 MB, free: 3.715 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.883e-06/0.53, allocations: 4 kB / 452.5 MB, free: 3.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001436/0.5315, allocations: 0.6439 MB / 453.1 MB, free: 3.199 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.5315, allocations: 13.47 kB / 453.1 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.5315, allocations: 12 kB / 453.1 MB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002008/0.5318, allocations: 46.66 kB / 453.2 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007805/0.5326, allocations: 181.1 kB / 453.4 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.5343, allocations: 1.503 MB / 454.9 MB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.5348, allocations: 29.94 kB / 454.9 MB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-05/0.5349, allocations: 38.55 kB / 454.9 MB, free: 1.387 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.000193/0.5351, allocations: 165.1 kB / 455.1 MB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.5353, allocations: 71.22 kB / 455.2 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.5355, allocations: 77.95 kB / 455.2 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.545e-06/0.5355, allocations: 4.047 kB / 455.2 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.526e-06/0.5355, allocations: 3.984 kB / 455.2 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.5355, allocations: 3.984 kB / 455.2 MB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/0.5384, allocations: 1.395 MB / 456.6 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.5384, allocations: 4 kB / 456.6 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/0.5391, allocations: 111.9 kB / 456.8 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.5392, allocations: 24.84 kB / 456.8 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.5393, allocations: 24 kB / 456.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.5412, allocations: 1.265 MB / 458.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.797e-05/0.5412, allocations: 7.938 kB / 458.1 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/0.5444, allocations: 0.8804 MB / 459 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.5448, allocations: 132.2 kB / 459.1 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.545, allocations: 16 kB / 459.1 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006645/0.5457, allocations: 19.98 kB / 459.1 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.5459, allocations: 47.88 kB / 459.2 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-05/0.546, allocations: 20 kB / 459.2 MB, free: 12.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001122/0.5471, allocations: 351.2 kB / 459.5 MB, free: 12.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.183e-06/0.5471, allocations: 0 / 459.5 MB, free: 12.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00194/0.5491, allocations: 140 kB / 459.7 MB, free: 12.51 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.0003248/0.5495, allocations: 131.1 kB / 459.8 MB, free: 12.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002168/0.5516, allocations: 0.5247 MB / 460.3 MB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.653e-06/0.5517, allocations: 192 / 460.3 MB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009716/0.5527, allocations: 290.2 kB / 460.6 MB, free: 11.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.5539, allocations: 86.91 kB / 460.7 MB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006111/0.56, allocations: 1.584 MB / 462.3 MB, free: 9.809 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.5615, allocations: 0.989 MB / 463.3 MB, free: 8.793 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.5619, allocations: 63.42 kB / 463.3 MB, free: 8.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.395e-06/0.562, allocations: 0 / 463.3 MB, free: 8.73 MB / 378.7 MB Notification: Performance of Templates: time 0.03792/0.5999, allocations: 11.63 MB / 475 MB, free: 13.09 MB / 394.7 MB