Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.095/2.095, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.257e-05, allocations: 0 / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 50.41 MB / 342.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.5394, allocations: 83.27 MB / 425.9 MB, free: 10.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.5397, allocations: 73.83 kB / 426 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06061/0.6003, allocations: 14.63 MB / 440.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.6004, allocations: 0 / 440.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001014/0.6005, allocations: 27.98 kB / 440.6 MB, free: 14.15 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.002628/0.6031, allocations: 0.9008 MB / 441.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.6032, allocations: 8.031 kB / 441.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003081/0.6035, allocations: 132 kB / 441.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/0.6038, allocations: 98.78 kB / 441.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.6052, allocations: 0.5139 MB / 442.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.25e-05/0.6053, allocations: 59.12 kB / 442.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.6055, allocations: 82.94 kB / 442.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.6076, allocations: 0.8004 MB / 443.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.685e-05/0.6077, allocations: 15.03 kB / 443.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.854e-05/0.6078, allocations: 36.14 kB / 443.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.325e-05/0.6078, allocations: 24 kB / 443.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.6094, allocations: 419.7 kB / 443.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006826/0.6163, allocations: 4.41 MB / 448.1 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008898/0.6172, allocations: 286.3 kB / 448.4 MB, free: 7.117 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.6176, allocations: 130.5 kB / 448.5 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/0.6179, allocations: 170.6 kB / 448.7 MB, free: 6.832 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.6179, allocations: 34.69 kB / 448.7 MB, free: 6.793 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.677e-06/0.6179, allocations: 224 / 448.7 MB, free: 6.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.004818/0.6228, allocations: 1.588 MB / 450.3 MB, free: 5.406 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.6229, allocations: 59.92 kB / 450.4 MB, free: 5.336 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008446/0.6237, allocations: 467.1 kB / 450.8 MB, free: 4.965 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.6238, allocations: 32.89 kB / 450.8 MB, free: 4.934 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.6242, allocations: 0.4974 MB / 451.3 MB, free: 4.535 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.6245, allocations: 210.7 kB / 451.5 MB, free: 4.355 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.6245, allocations: 16.94 kB / 451.6 MB, free: 4.352 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.6247, allocations: 347 kB / 451.9 MB, free: 4.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/0.6251, allocations: 145.1 kB / 452 MB, free: 3.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/0.6258, allocations: 435.3 kB / 452.5 MB, free: 3.445 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/0.6264, allocations: 227 kB / 452.7 MB, free: 3.285 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.6264, allocations: 4 kB / 452.7 MB, free: 3.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001654/0.6281, allocations: 0.6501 MB / 453.3 MB, free: 2.762 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.6282, allocations: 8 kB / 453.4 MB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.6282, allocations: 12 kB / 453.4 MB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002431/0.6285, allocations: 43.47 kB / 453.4 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.6296, allocations: 187.9 kB / 453.6 MB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.6314, allocations: 1.51 MB / 455.1 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/0.632, allocations: 29.88 kB / 455.1 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.6321, allocations: 35 kB / 455.2 MB, free: 0.9492 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.0002034/0.6323, allocations: 161.4 kB / 455.3 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.6325, allocations: 70.34 kB / 455.4 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.6327, allocations: 75.83 kB / 455.5 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.6327, allocations: 4 kB / 455.5 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.6328, allocations: 0 / 455.5 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.6328, allocations: 3.984 kB / 455.5 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002962/0.6358, allocations: 1.396 MB / 456.9 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.6358, allocations: 4 kB / 456.9 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.6369, allocations: 115.4 kB / 457 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001503/0.6371, allocations: 24.36 kB / 457 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/0.6371, allocations: 19.64 kB / 457 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.6384, allocations: 1.27 MB / 458.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/0.6385, allocations: 8.016 kB / 458.3 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.6404, allocations: 0.8765 MB / 459.2 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.6407, allocations: 140.2 kB / 459.3 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.6408, allocations: 19.94 kB / 459.3 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/0.6412, allocations: 16 kB / 459.4 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.6413, allocations: 43.94 kB / 459.4 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/0.6414, allocations: 23.98 kB / 459.4 MB, free: 12.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006883/0.6421, allocations: 347.2 kB / 459.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6421, allocations: 0 / 459.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001126/0.6433, allocations: 144 kB / 459.9 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.002597/0.6459, allocations: 2.203 MB / 462.1 MB, free: 9.914 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.6475, allocations: 0.5305 MB / 462.6 MB, free: 9.375 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.6475, allocations: 2.062 kB / 462.6 MB, free: 9.375 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007348/0.6483, allocations: 285.5 kB / 462.9 MB, free: 9.086 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008571/0.6492, allocations: 95.94 kB / 463 MB, free: 8.992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/0.6542, allocations: 1.723 MB / 464.7 MB, free: 7.188 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007826/0.6551, allocations: 0.9851 MB / 465.7 MB, free: 6.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006968/0.6558, allocations: 331.3 kB / 466 MB, free: 5.852 MB / 378.7 MB Notification: Performance of SimCode: time 1.412e-06/0.6558, allocations: 4 kB / 466 MB, free: 5.848 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.874/3.53, allocations: 15.24 MB / 481.3 MB, free: 6.59 MB / 394.7 MB