Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.159/1.159, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.089e-05/3.095e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1713, allocations: 25.15 MB / 176.6 MB, free: 15.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0591/0.2305, allocations: 33.53 MB / 210.2 MB, free: 15.82 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.2308, allocations: 59.97 kB / 210.2 MB, free: 15.76 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01248/0.2433, allocations: 2.835 MB / 213.1 MB, free: 12.91 MB / 186.7 MB Notification: Performance of FrontEnd: time 4.438e-06/0.2433, allocations: 3.938 kB / 213.1 MB, free: 12.91 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.2434, allocations: 7.938 kB / 213.1 MB, free: 12.9 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006784/0.244, allocations: 418.1 kB / 213.5 MB, free: 12.45 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.2441, allocations: 8.031 kB / 213.5 MB, free: 12.44 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.572e-05/0.2442, allocations: 54.55 kB / 213.5 MB, free: 12.38 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/0.2443, allocations: 23.75 kB / 213.6 MB, free: 12.35 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.2445, allocations: 214.9 kB / 213.8 MB, free: 12.1 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.2446, allocations: 12 kB / 213.8 MB, free: 12.09 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.2446, allocations: 16 kB / 213.8 MB, free: 12.07 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.2451, allocations: 176.1 kB / 214 MB, free: 11.89 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.2452, allocations: 4 kB / 214 MB, free: 11.88 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.2452, allocations: 4 kB / 214 MB, free: 11.88 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.2452, allocations: 11.94 kB / 214 MB, free: 11.87 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.2455, allocations: 99.91 kB / 214.1 MB, free: 11.77 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.2473, allocations: 0.7679 MB / 214.9 MB, free: 10.93 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.2476, allocations: 111.9 kB / 215 MB, free: 10.8 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.2477, allocations: 50.72 kB / 215 MB, free: 10.74 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.2478, allocations: 3.938 kB / 215 MB, free: 10.73 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.2478, allocations: 38.56 kB / 215.1 MB, free: 10.69 MB / 186.7 MB Notification: Performance of pre-optimization done (n=13): time 3.096e-06/0.2478, allocations: 0 / 215.1 MB, free: 10.69 MB / 186.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003775/0.2482, allocations: 105.4 kB / 215.2 MB, free: 10.58 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.2483, allocations: 110.8 kB / 215.3 MB, free: 10.45 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.2486, allocations: 185.9 kB / 215.5 MB, free: 10.25 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.2486, allocations: 29.7 kB / 215.5 MB, free: 10.22 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.2488, allocations: 194.4 kB / 215.7 MB, free: 10.02 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.615e-05/0.2488, allocations: 59.19 kB / 215.7 MB, free: 9.965 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/0.2489, allocations: 4 kB / 215.7 MB, free: 9.961 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.249, allocations: 314.8 kB / 216 MB, free: 9.645 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.2491, allocations: 40.47 kB / 216.1 MB, free: 9.602 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.2493, allocations: 128.7 kB / 216.2 MB, free: 9.434 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.2495, allocations: 55.97 kB / 216.3 MB, free: 9.379 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2495, allocations: 0 / 216.3 MB, free: 9.379 MB / 186.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004634/0.25, allocations: 197.4 kB / 216.5 MB, free: 9.18 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.25, allocations: 4 kB / 216.5 MB, free: 9.176 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.2501, allocations: 4 kB / 216.5 MB, free: 9.172 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.2501, allocations: 4 kB / 216.5 MB, free: 9.168 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.2504, allocations: 55.86 kB / 216.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.2505, allocations: 4.406 kB / 216.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.2507, allocations: 27.75 kB / 216.6 MB, free: 9.082 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.2507, allocations: 12 kB / 216.6 MB, free: 9.07 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001099/0.2508, allocations: 116.9 kB / 216.7 MB, free: 8.949 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.2509, allocations: 27.69 kB / 216.7 MB, free: 8.922 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.752e-05/0.251, allocations: 24.94 kB / 216.7 MB, free: 8.898 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.2511, allocations: 4 kB / 216.7 MB, free: 8.895 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2511, allocations: 0 / 216.7 MB, free: 8.895 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.2511, allocations: 4 kB / 216.7 MB, free: 8.891 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007184/0.2518, allocations: 245.5 kB / 217 MB, free: 8.602 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2519, allocations: 4 kB / 217 MB, free: 8.598 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.2522, allocations: 31.98 kB / 217 MB, free: 8.566 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.2522, allocations: 0 / 217 MB, free: 8.566 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.2523, allocations: 7.953 kB / 217 MB, free: 8.559 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.2523, allocations: 0 / 217 MB, free: 8.559 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.2523, allocations: 4 kB / 217 MB, free: 8.555 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005564/0.2529, allocations: 417.5 kB / 217.4 MB, free: 8.117 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.253, allocations: 100.8 kB / 217.5 MB, free: 8 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/0.2531, allocations: 8.062 kB / 217.5 MB, free: 7.992 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.2533, allocations: 0 / 217.5 MB, free: 7.992 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.2534, allocations: 7.984 kB / 217.5 MB, free: 7.984 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.2534, allocations: 8 kB / 217.6 MB, free: 7.977 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002203/0.2536, allocations: 148.4 kB / 217.7 MB, free: 7.832 MB / 186.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.2537, allocations: 4 kB / 217.7 MB, free: 7.828 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005857/0.2543, allocations: 40 kB / 217.7 MB, free: 7.789 MB / 186.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 (13): * Single equations (assignments): 13 * 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.0009892/0.2553, allocations: 1.082 MB / 218.8 MB, free: 6.668 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003669/0.2557, allocations: 91.94 kB / 218.9 MB, free: 6.578 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2557, allocations: 0 / 218.9 MB, free: 6.578 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 9.794e-05/0.2558, allocations: 43.92 kB / 219 MB, free: 6.535 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.2564, allocations: 23.94 kB / 219 MB, free: 6.512 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.2583, allocations: 0.6633 MB / 219.6 MB, free: 5.805 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.2588, allocations: 0.7324 MB / 220.4 MB, free: 5.047 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.259, allocations: 51.42 kB / 220.4 MB, free: 4.996 MB / 186.7 MB Notification: Performance of SimCode: time 1.814e-06/0.259, allocations: 0 / 220.4 MB, free: 4.996 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.558/2.817, allocations: 2.713 MB / 223.1 MB, free: 2.281 MB / 186.7 MB