Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.076/2.076, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.828e-05/3.855e-05, allocations: 4 kB / 255.4 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09548/0.09556, allocations: 44.5 MB / 300 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4555/0.5511, allocations: 71.21 MB / 371.2 MB, free: 21.13 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.5514, allocations: 65.97 kB / 371.2 MB, free: 21.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01403/0.5655, allocations: 3.349 MB / 374.6 MB, free: 20.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.5655, allocations: 0 / 374.6 MB, free: 20.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.5655, allocations: 4.438 kB / 374.6 MB, free: 20.57 MB / 314.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.0006945/0.5662, allocations: 464.2 kB / 375 MB, free: 20.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.5663, allocations: 9.875 kB / 375 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.907e-05/0.5664, allocations: 57.75 kB / 375.1 MB, free: 20.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.5665, allocations: 23.84 kB / 375.1 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.5666, allocations: 194 kB / 375.3 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.5666, allocations: 17.53 kB / 375.3 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.078e-05/0.5667, allocations: 25.56 kB / 375.4 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004808/0.5672, allocations: 223.2 kB / 375.6 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.5672, allocations: 5.094 kB / 375.6 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.5673, allocations: 11.31 kB / 375.6 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.5673, allocations: 5.156 kB / 375.6 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003479/0.5676, allocations: 122.1 kB / 375.7 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.5691, allocations: 0.8678 MB / 376.6 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.5694, allocations: 158 kB / 376.7 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.5695, allocations: 58.33 kB / 376.8 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.5695, allocations: 6.031 kB / 376.8 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.5696, allocations: 37.64 kB / 376.8 MB, free: 19.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.104e-06/0.5696, allocations: 0 / 376.8 MB, free: 19.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003891/0.57, allocations: 136 kB / 377 MB, free: 19.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.57, allocations: 107.7 kB / 377.1 MB, free: 18.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.5703, allocations: 174.4 kB / 377.2 MB, free: 18.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.5703, allocations: 30.42 kB / 377.3 MB, free: 18.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.627e-05/0.5704, allocations: 218.2 kB / 377.5 MB, free: 18.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.5704, allocations: 67.36 kB / 377.6 MB, free: 18.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.48e-05/0.5705, allocations: 4.875 kB / 377.6 MB, free: 18.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.547e-05/0.5705, allocations: 321.7 kB / 377.9 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.5707, allocations: 51.31 kB / 377.9 MB, free: 18.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.5709, allocations: 148.5 kB / 378.1 MB, free: 18.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.5711, allocations: 67.03 kB / 378.1 MB, free: 18.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.5711, allocations: 1 kB / 378.1 MB, free: 18.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004899/0.5716, allocations: 225.6 kB / 378.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.5716, allocations: 7.281 kB / 378.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.5716, allocations: 4.984 kB / 378.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.5717, allocations: 6.688 kB / 378.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004227/0.5721, allocations: 59.72 kB / 378.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.5721, allocations: 8.906 kB / 378.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.5724, allocations: 31.19 kB / 378.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.5724, allocations: 14.88 kB / 378.5 MB, free: 18.02 MB / 314.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 7.916e-05/0.5725, allocations: 127.2 kB / 378.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.126e-05/0.5726, allocations: 29.27 kB / 378.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.449e-05/0.5727, allocations: 21.41 kB / 378.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.5727, allocations: 3.734 kB / 378.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5727, allocations: 1.219 kB / 378.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.5727, allocations: 1.344 kB / 378.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.5734, allocations: 422.3 kB / 379.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.5734, allocations: 5.594 kB / 379.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.5738, allocations: 41.94 kB / 379.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.5738, allocations: 2 kB / 379.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.5738, allocations: 8.188 kB / 379.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.5739, allocations: 1.344 kB / 379.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5739, allocations: 5.281 kB / 379.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/0.5744, allocations: 416.6 kB / 379.5 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.38e-05/0.5745, allocations: 92.72 kB / 379.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.5745, allocations: 10.55 kB / 379.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.5748, allocations: 4.656 kB / 379.7 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.5748, allocations: 19.97 kB / 379.7 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.5748, allocations: 4.219 kB / 379.7 MB, free: 17.1 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001557/0.575, allocations: 137.5 kB / 379.8 MB, free: 17.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.575, allocations: 0 / 379.8 MB, free: 17.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005565/0.5756, allocations: 56.5 kB / 379.9 MB, free: 17.02 MB / 314.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.001238/0.5768, allocations: 1.223 MB / 381.1 MB, free: 31.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000375/0.5772, allocations: 135.5 kB / 381.2 MB, free: 31.9 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.5772, allocations: 1.125 kB / 381.2 MB, free: 31.9 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.5774, allocations: 46.78 kB / 381.3 MB, free: 31.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.5779, allocations: 36.73 kB / 381.3 MB, free: 31.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.5793, allocations: 0.5733 MB / 381.9 MB, free: 31.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.5798, allocations: 0.7453 MB / 382.6 MB, free: 30.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.5799, allocations: 59.41 kB / 382.7 MB, free: 30.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5799, allocations: 3.938 kB / 382.7 MB, free: 30.76 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.371/2.951, allocations: 3.093 MB / 385.8 MB, free: 30.52 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat