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 2.038/2.038, allocations: 224.7 MB / 241.1 MB, free: 1.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.115e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 50.41 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006363/0.1188, allocations: 3.703 MB / 348.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003169/0.1221, allocations: 1.139 MB / 349.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009036/0.123, allocations: 39.81 kB / 349.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.1233, allocations: 83.25 kB / 349.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009124/0.1242, allocations: 187.3 kB / 350.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.1253, allocations: 235.7 kB / 350.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.127, allocations: 0.5616 MB / 350.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005629/0.1276, allocations: 209.9 kB / 351.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005117/0.1282, allocations: 195.4 kB / 351.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004205/0.1286, allocations: 230.8 kB / 351.5 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.1289, allocations: 55.92 kB / 351.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.129, allocations: 20 kB / 351.6 MB, free: 2.285 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.1292, allocations: 111.4 kB / 351.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.1294, allocations: 60 kB / 351.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.1307, allocations: 0.7482 MB / 352.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.1308, allocations: 4 kB / 352.5 MB, free: 1.363 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.379e-06/0.1308, allocations: 7.938 kB / 352.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.018e-05/0.1308, allocations: 0 / 352.5 MB, free: 1.355 MB / 282.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.002251/0.1331, allocations: 0.9129 MB / 353.4 MB, free: 400 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.1332, allocations: 8.031 kB / 353.5 MB, free: 392 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.1335, allocations: 110.6 kB / 353.6 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.1349, allocations: 0.5803 MB / 354.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.848e-05/0.1351, allocations: 57.94 kB / 354.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.1353, allocations: 91.89 kB / 354.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.1374, allocations: 0.8326 MB / 355.1 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.897e-05/0.1375, allocations: 7.938 kB / 355.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-05/0.1376, allocations: 32 kB / 355.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.021e-05/0.1376, allocations: 23.95 kB / 355.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.1392, allocations: 475.3 kB / 355.6 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005836/0.145, allocations: 4.408 MB / 360.1 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009462/0.146, allocations: 291.6 kB / 360.3 MB, free: 9.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.1463, allocations: 174.6 kB / 360.5 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.1464, allocations: 38.94 kB / 360.5 MB, free: 8.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 3.857e-06/0.1464, allocations: 4 kB / 360.6 MB, free: 8.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.005159/0.1515, allocations: 1.73 MB / 362.3 MB, free: 7.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.1516, allocations: 59.97 kB / 362.3 MB, free: 6.992 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008593/0.1525, allocations: 475.2 kB / 362.8 MB, free: 6.527 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/0.1526, allocations: 33.7 kB / 362.8 MB, free: 6.488 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.153, allocations: 0.4892 MB / 363.3 MB, free: 5.992 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/0.1533, allocations: 213 kB / 363.5 MB, free: 5.781 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.1534, allocations: 20 kB / 363.6 MB, free: 5.762 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1535, allocations: 346.8 kB / 363.9 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.154, allocations: 161.9 kB / 364.1 MB, free: 5.258 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007294/0.1548, allocations: 451.2 kB / 364.5 MB, free: 4.688 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006607/0.1555, allocations: 240.7 kB / 364.7 MB, free: 4.449 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.1555, allocations: 7.938 kB / 364.7 MB, free: 4.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001792/0.1573, allocations: 0.6959 MB / 365.4 MB, free: 3.738 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.1574, allocations: 8 kB / 365.4 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.1574, allocations: 12.05 kB / 365.4 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002369/0.1576, allocations: 52.84 kB / 365.5 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.1588, allocations: 183.7 kB / 365.7 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.1606, allocations: 1.514 MB / 367.2 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005922/0.1613, allocations: 32 kB / 367.2 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/0.1614, allocations: 35.98 kB / 367.3 MB, free: 1.766 MB / 298.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.0004586/0.1618, allocations: 229.5 kB / 367.5 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.162, allocations: 71.16 kB / 367.6 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.1622, allocations: 71.14 kB / 367.6 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.1622, allocations: 12.19 kB / 367.6 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.1622, allocations: 0 / 367.6 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.1622, allocations: 7.969 kB / 367.6 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.1654, allocations: 1.425 MB / 369.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.1655, allocations: 4 kB / 369.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.1665, allocations: 115.8 kB / 369.2 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001484/0.1667, allocations: 24.84 kB / 369.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.1668, allocations: 19.94 kB / 369.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.168, allocations: 1.28 MB / 370.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/0.1681, allocations: 4 kB / 370.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.1699, allocations: 0.9041 MB / 371.4 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.1702, allocations: 140.2 kB / 371.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.1703, allocations: 16.09 kB / 371.6 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.1707, allocations: 19.94 kB / 371.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.1708, allocations: 39.91 kB / 371.6 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.206e-05/0.1709, allocations: 19.98 kB / 371.6 MB, free: 12.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006199/0.1715, allocations: 351.1 kB / 372 MB, free: 12.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1715, allocations: 0 / 372 MB, free: 12.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009611/0.1725, allocations: 144 kB / 372.1 MB, free: 12.5 MB / 314.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.0002001/0.1727, allocations: 123.1 kB / 372.3 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.1743, allocations: 0.5837 MB / 372.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.1744, allocations: 4 kB / 372.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007278/0.1751, allocations: 308.1 kB / 373.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007555/0.1759, allocations: 82.95 kB / 373.2 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004702/0.1806, allocations: 2.308 MB / 375.5 MB, free: 9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007407/0.1814, allocations: 0.9928 MB / 376.5 MB, free: 7.977 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.1817, allocations: 67.42 kB / 376.6 MB, free: 7.91 MB / 314.7 MB Notification: Performance of SimCode: time 1.463e-06/0.1817, allocations: 0 / 376.6 MB, free: 7.91 MB / 314.7 MB Notification: Performance of Templates: time 0.026/0.2077, allocations: 11.73 MB / 388.3 MB, free: 12.17 MB / 330.7 MB