Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.927/1.927, allocations: 171.2 MB / 178.8 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.693e-05/2.686e-05, allocations: 4 kB / 219.5 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2848, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.4077, allocations: 65.24 MB / 323.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.408, allocations: 67.97 kB / 323.6 MB, free: 12.53 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01342/0.4215, allocations: 3.319 MB / 326.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4215, allocations: 3.938 kB / 326.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.4215, allocations: 7.938 kB / 327 MB, free: 9.176 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007721/0.4223, allocations: 462.5 kB / 327.4 MB, free: 8.676 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.4224, allocations: 11.97 kB / 327.4 MB, free: 8.664 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.22e-05/0.4225, allocations: 23.72 kB / 327.4 MB, free: 8.641 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.4226, allocations: 189.4 kB / 327.6 MB, free: 8.418 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.4227, allocations: 8 kB / 327.6 MB, free: 8.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.314e-05/0.4227, allocations: 12 kB / 327.6 MB, free: 8.398 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003597/0.4231, allocations: 113.1 kB / 327.8 MB, free: 8.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.4236, allocations: 199.1 kB / 327.9 MB, free: 8.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.4236, allocations: 0 / 327.9 MB, free: 8.074 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.4236, allocations: 3.984 kB / 328 MB, free: 8.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.4237, allocations: 8 kB / 328 MB, free: 8.062 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.4253, allocations: 0.8172 MB / 328.8 MB, free: 7.195 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.4256, allocations: 147.8 kB / 328.9 MB, free: 7.023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.4258, allocations: 58.58 kB / 329 MB, free: 6.957 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.4258, allocations: 0 / 329 MB, free: 6.957 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.4259, allocations: 38.56 kB / 329 MB, free: 6.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 2.334e-06/0.4259, allocations: 0 / 329 MB, free: 6.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004148/0.4263, allocations: 121.8 kB / 329.1 MB, free: 6.785 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.4264, allocations: 102.8 kB / 329.2 MB, free: 6.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.4266, allocations: 154.5 kB / 329.4 MB, free: 6.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.4266, allocations: 25.7 kB / 329.4 MB, free: 6.469 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.4268, allocations: 230.4 kB / 329.6 MB, free: 6.242 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.521e-05/0.4269, allocations: 63.09 kB / 329.7 MB, free: 6.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.4269, allocations: 0 / 329.7 MB, free: 6.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4271, allocations: 318.8 kB / 330 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.4272, allocations: 36.56 kB / 330 MB, free: 5.824 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.4274, allocations: 146.5 kB / 330.2 MB, free: 5.633 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.4276, allocations: 67.91 kB / 330.3 MB, free: 5.566 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.4276, allocations: 0 / 330.3 MB, free: 5.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005035/0.4281, allocations: 197.3 kB / 330.4 MB, free: 5.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.4282, allocations: 11.98 kB / 330.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4282, allocations: 4 kB / 330.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.4282, allocations: 4 kB / 330.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.4287, allocations: 59.92 kB / 330.5 MB, free: 5.289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.4287, allocations: 12.31 kB / 330.5 MB, free: 5.277 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.4289, allocations: 31.67 kB / 330.6 MB, free: 5.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/0.429, allocations: 15.95 kB / 330.6 MB, free: 5.23 MB / 282.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 (33): * Single equations (assignments): 33 * 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.0001044/0.4291, allocations: 108.9 kB / 330.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003396/0.4295, allocations: 125.4 kB / 330.8 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/0.4296, allocations: 11.91 kB / 330.8 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.24e-05/0.4296, allocations: 21.92 kB / 330.8 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.4297, allocations: 3.938 kB / 330.8 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.4297, allocations: 7.953 kB / 330.9 MB, free: 4.941 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.4297, allocations: 7.984 kB / 330.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007027/0.4304, allocations: 373.5 kB / 331.2 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4304, allocations: 0 / 331.2 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.4308, allocations: 35.98 kB / 331.3 MB, free: 4.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.4308, allocations: 3.938 kB / 331.3 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.4309, allocations: 7.953 kB / 331.3 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4309, allocations: 0 / 331.3 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.4309, allocations: 8.094 kB / 331.3 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.4314, allocations: 404.7 kB / 331.7 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/0.4315, allocations: 96.86 kB / 331.8 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.4316, allocations: 4 kB / 331.8 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.4318, allocations: 3.938 kB / 331.8 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.4318, allocations: 11.98 kB / 331.8 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.4319, allocations: 8 kB / 331.8 MB, free: 3.875 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.432, allocations: 120.9 kB / 331.9 MB, free: 3.758 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.432, allocations: 0 / 331.9 MB, free: 3.758 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005613/0.4326, allocations: 51.84 kB / 332 MB, free: 3.707 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.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 (17): * Single equations (assignments): 17 * 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.0009157/0.4335, allocations: 1.2 MB / 333.2 MB, free: 2.457 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.4339, allocations: 120 kB / 333.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4339, allocations: 0.875 kB / 333.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.434, allocations: 48.25 kB / 333.3 MB, free: 2.293 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.4345, allocations: 32.22 kB / 333.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.4361, allocations: 0.5667 MB / 333.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.4365, allocations: 0.7399 MB / 334.7 MB, free: 0.875 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.4366, allocations: 59.42 kB / 334.7 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4366, allocations: 0 / 334.7 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.416/2.853, allocations: 2.999 MB / 337.7 MB, free: 13.82 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat