Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.579/2.579, allocations: 270 MB / 282.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.551e-05/3.565e-05, allocations: 4 kB / 347 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4165, allocations: 61.87 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1651/0.5816, allocations: 90.33 MB / 499.2 MB, free: 328 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.5819, allocations: 67.97 kB / 499.3 MB, free: 260 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03118/0.6131, allocations: 6.639 MB / 0.4941 GB, free: 9.582 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6132, allocations: 0 / 0.4941 GB, free: 9.582 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.094e-05/0.6132, allocations: 8 kB / 0.4941 GB, free: 9.574 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001182/0.6144, allocations: 0.5377 MB / 0.4946 GB, free: 8.992 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.6145, allocations: 12.03 kB / 0.4946 GB, free: 8.98 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.6146, allocations: 66.53 kB / 0.4947 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003198/0.6149, allocations: 47.61 kB / 0.4947 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.6154, allocations: 258.5 kB / 0.495 GB, free: 8.566 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.6154, allocations: 28.73 kB / 0.495 GB, free: 8.539 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.753e-05/0.6156, allocations: 35.91 kB / 0.495 GB, free: 8.504 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.6163, allocations: 286.8 kB / 0.4953 GB, free: 8.199 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.6164, allocations: 4 kB / 0.4953 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/0.6164, allocations: 12 kB / 0.4953 GB, free: 8.184 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.6164, allocations: 8 kB / 0.4953 GB, free: 8.176 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005698/0.617, allocations: 180.3 kB / 0.4955 GB, free: 8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002848/0.6199, allocations: 1.301 MB / 0.4968 GB, free: 6.602 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009022/0.6208, allocations: 309 kB / 0.4971 GB, free: 6.254 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.6211, allocations: 108.2 kB / 0.4972 GB, free: 6.133 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.6212, allocations: 8.469 kB / 0.4972 GB, free: 6.125 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.6212, allocations: 42.55 kB / 0.4972 GB, free: 6.074 MB / 426.7 MB Notification: Performance of pre-optimization done (n=36): time 2.895e-06/0.6213, allocations: 0 / 0.4972 GB, free: 6.074 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.002587/0.6238, allocations: 1.345 MB / 0.4985 GB, free: 4.535 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.773e-05/0.624, allocations: 158.2 kB / 0.4987 GB, free: 4.344 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.6243, allocations: 197 kB / 0.4989 GB, free: 4.137 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.6244, allocations: 33.7 kB / 0.4989 GB, free: 4.098 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.6245, allocations: 230.7 kB / 0.4991 GB, free: 3.871 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.6247, allocations: 161.8 kB / 0.4993 GB, free: 3.711 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.6248, allocations: 4 kB / 0.4993 GB, free: 3.707 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6249, allocations: 338.8 kB / 0.4996 GB, free: 3.367 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.6252, allocations: 85.12 kB / 0.4997 GB, free: 3.285 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/0.6256, allocations: 237.1 kB / 0.4999 GB, free: 2.996 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.626, allocations: 121 kB / 0.5 GB, free: 2.879 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.626, allocations: 4 kB / 0.5 GB, free: 2.875 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009758/0.627, allocations: 385.7 kB / 0.5004 GB, free: 2.492 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.6271, allocations: 15.89 kB / 0.5004 GB, free: 2.477 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.6271, allocations: 4 kB / 0.5004 GB, free: 2.473 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/0.6271, allocations: 8 kB / 0.5004 GB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008019/0.6279, allocations: 115.8 kB / 0.5005 GB, free: 2.352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.628, allocations: 8.359 kB / 0.5006 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/0.6284, allocations: 20 kB / 0.5006 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.6285, allocations: 28 kB / 0.5006 GB, free: 2.297 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001498/0.6286, allocations: 128.8 kB / 0.5007 GB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.6288, allocations: 31.62 kB / 0.5008 GB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003727/0.6292, allocations: 127.4 kB / 0.5009 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.6292, allocations: 4 kB / 0.5009 GB, free: 1.996 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.6292, allocations: 0 / 0.5009 GB, free: 1.996 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.6293, allocations: 11.98 kB / 0.5009 GB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.6316, allocations: 1.018 MB / 0.5019 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.6316, allocations: 0 / 0.5019 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009454/0.6326, allocations: 99.89 kB / 0.502 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-05/0.6326, allocations: 4 kB / 0.502 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.6327, allocations: 15.92 kB / 0.502 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-05/0.6327, allocations: 8 kB / 0.502 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.6327, allocations: 256 / 0.502 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.6341, allocations: 0.9628 MB / 0.5029 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.6343, allocations: 108.7 kB / 0.5031 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/0.6343, allocations: 12 kB / 0.5031 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005175/0.6349, allocations: 12 kB / 0.5031 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.635, allocations: 39.84 kB / 0.5031 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.635, allocations: 16 kB / 0.5031 GB, free: 15.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002199/0.6352, allocations: 153.4 kB / 0.5033 GB, free: 15.31 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6353, allocations: 0 / 0.5033 GB, free: 15.31 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008728/0.6361, allocations: 84.19 kB / 0.5034 GB, free: 15.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00201/0.6382, allocations: 2.344 MB / 0.5056 GB, free: 12.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007937/0.639, allocations: 259.8 kB / 0.5059 GB, free: 12.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.639, allocations: 0 / 0.5059 GB, free: 12.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003208/0.6394, allocations: 124 kB / 0.506 GB, free: 12.42 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.6404, allocations: 66.44 kB / 0.5061 GB, free: 12.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/0.6441, allocations: 1.252 MB / 0.5073 GB, free: 11.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005421/0.6447, allocations: 0.7962 MB / 0.5081 GB, free: 10.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.645, allocations: 107.4 kB / 0.5082 GB, free: 10.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.473e-06/0.645, allocations: 0 / 0.5082 GB, free: 10.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.419/3.064, allocations: 5.137 MB / 0.5132 GB, free: 4.965 MB / 442.7 MB