Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.528e-05/3.536e-05, allocations: 4 kB / 292.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 50.41 MB / 342.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5525/0.6638, allocations: 76.79 MB / 419.4 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.6641, allocations: 70.33 kB / 419.5 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01195/0.6761, allocations: 2.904 MB / 422.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6762, allocations: 0 / 422.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.6762, allocations: 4 kB / 422.4 MB, free: 14.45 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006285/0.6768, allocations: 417.7 kB / 422.8 MB, free: 14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.6769, allocations: 8.031 kB / 422.8 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.63e-05/0.677, allocations: 57.06 kB / 422.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.677, allocations: 19.77 kB / 422.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.6773, allocations: 214.5 kB / 423.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.6773, allocations: 15.69 kB / 423.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/0.6774, allocations: 15.88 kB / 423.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.6778, allocations: 174.2 kB / 423.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.6778, allocations: 7.906 kB / 423.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.6779, allocations: 6.688 kB / 423.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.6779, allocations: 7.953 kB / 423.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.6782, allocations: 92.22 kB / 423.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.6799, allocations: 0.9583 MB / 424.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.6802, allocations: 107.7 kB / 424.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.831e-05/0.6803, allocations: 43.34 kB / 424.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.6803, allocations: 4 kB / 424.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.6803, allocations: 38.56 kB / 424.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.736e-06/0.6803, allocations: 0 / 424.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003397/0.6807, allocations: 102.3 kB / 424.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.6808, allocations: 102.8 kB / 424.8 MB, free: 12.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.681, allocations: 183.3 kB / 424.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.6811, allocations: 29.69 kB / 425 MB, free: 11.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.6812, allocations: 205.8 kB / 425.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/0.6813, allocations: 52.52 kB / 425.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.6813, allocations: 7.375 kB / 425.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6814, allocations: 322 kB / 425.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.6815, allocations: 37.72 kB / 425.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.6817, allocations: 131 kB / 425.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.6819, allocations: 61.22 kB / 425.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6819, allocations: 3.938 kB / 425.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004658/0.6824, allocations: 196.3 kB / 426 MB, free: 10.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.6824, allocations: 8 kB / 426 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.6824, allocations: 7.938 kB / 426 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.6825, allocations: 4 kB / 426 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.6828, allocations: 51.91 kB / 426 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.6828, allocations: 7.938 kB / 426 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.683, allocations: 26.69 kB / 426.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.6831, allocations: 15.25 kB / 426.1 MB, free: 10.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001004/0.6832, allocations: 127.4 kB / 426.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.355e-05/0.6833, allocations: 20.05 kB / 426.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.043e-05/0.6833, allocations: 23.11 kB / 426.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.6834, allocations: 7.984 kB / 426.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6834, allocations: 0 / 426.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6834, allocations: 0 / 426.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006216/0.684, allocations: 237.6 kB / 426.5 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.684, allocations: 0 / 426.5 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.6844, allocations: 27.98 kB / 426.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.6844, allocations: 4 kB / 426.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.6844, allocations: 11.39 kB / 426.5 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.6845, allocations: 0 / 426.5 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.6845, allocations: 7.938 kB / 426.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.6849, allocations: 404.1 kB / 426.9 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.685, allocations: 100.8 kB / 427 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.6851, allocations: 3.062 kB / 427 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.6853, allocations: 4 kB / 427 MB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.6853, allocations: 11.8 kB / 427 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.6853, allocations: 0 / 427 MB, free: 9.793 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001748/0.6855, allocations: 146 kB / 427.2 MB, free: 9.672 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6855, allocations: 0 / 427.2 MB, free: 9.672 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005327/0.6861, allocations: 39.88 kB / 427.2 MB, free: 9.637 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0008307/0.6869, allocations: 1.091 MB / 428.3 MB, free: 8.539 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003028/0.6873, allocations: 98.81 kB / 428.4 MB, free: 8.461 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6873, allocations: 0 / 428.4 MB, free: 8.461 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.63e-05/0.6874, allocations: 38.05 kB / 428.4 MB, free: 8.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.6879, allocations: 28.83 kB / 428.5 MB, free: 8.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.6895, allocations: 0.6363 MB / 429.1 MB, free: 7.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.6899, allocations: 0.7363 MB / 429.8 MB, free: 6.988 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.69, allocations: 50.73 kB / 429.9 MB, free: 6.973 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6901, allocations: 0 / 429.9 MB, free: 6.973 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.473/3.163, allocations: 2.638 MB / 432.5 MB, free: 4.363 MB / 346.7 MB