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.019/2.019, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.895e-05/2.909e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3098, allocations: 44.49 MB / 294.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.4781, allocations: 70.56 MB / 364.7 MB, free: 11.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/0.4785, allocations: 67.95 kB / 364.8 MB, free: 11.26 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02364/0.5022, allocations: 3.308 MB / 368.1 MB, free: 7.934 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5022, allocations: 0 / 368.1 MB, free: 7.934 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.5023, allocations: 8 kB / 368.1 MB, free: 7.926 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.0008051/0.5031, allocations: 462.5 kB / 368.6 MB, free: 7.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.5031, allocations: 8.031 kB / 368.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/0.5032, allocations: 23.72 kB / 368.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.5034, allocations: 198.7 kB / 368.8 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.5035, allocations: 4 kB / 368.8 MB, free: 7.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/0.5035, allocations: 16 kB / 368.8 MB, free: 7.145 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003705/0.5039, allocations: 109.1 kB / 368.9 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/0.5044, allocations: 191.2 kB / 369.1 MB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.5044, allocations: 11.84 kB / 369.1 MB, free: 6.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.5045, allocations: 3.938 kB / 369.1 MB, free: 6.816 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.5045, allocations: 4 kB / 369.1 MB, free: 6.812 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.5061, allocations: 0.8173 MB / 370 MB, free: 5.945 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.5064, allocations: 135.8 kB / 370.1 MB, free: 5.785 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.5066, allocations: 58.58 kB / 370.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.5066, allocations: 11.89 kB / 370.2 MB, free: 5.707 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.5067, allocations: 30.56 kB / 370.2 MB, free: 5.668 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.908e-06/0.5067, allocations: 0 / 370.2 MB, free: 5.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004165/0.5071, allocations: 121.7 kB / 370.3 MB, free: 5.543 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/0.5072, allocations: 114.8 kB / 370.4 MB, free: 5.406 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.5074, allocations: 142.5 kB / 370.6 MB, free: 5.258 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.5074, allocations: 25.7 kB / 370.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.5076, allocations: 230.4 kB / 370.8 MB, free: 5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.446e-05/0.5077, allocations: 63.09 kB / 370.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.5077, allocations: 0 / 370.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5079, allocations: 322.8 kB / 371.2 MB, free: 4.613 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.508, allocations: 40.56 kB / 371.2 MB, free: 4.574 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.5082, allocations: 147.4 kB / 371.4 MB, free: 4.383 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.5084, allocations: 60.11 kB / 371.4 MB, free: 4.324 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5085, allocations: 4 kB / 371.4 MB, free: 4.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000552/0.509, allocations: 205.2 kB / 371.6 MB, free: 4.113 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.5091, allocations: 4 kB / 371.6 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.5091, allocations: 7.953 kB / 371.6 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.5091, allocations: 8 kB / 371.7 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.5095, allocations: 56.34 kB / 371.7 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.5096, allocations: 15.94 kB / 371.7 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.5098, allocations: 27.69 kB / 371.8 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.5098, allocations: 12 kB / 371.8 MB, free: 3.984 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 0.0001113/0.51, allocations: 117.2 kB / 371.9 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003386/0.5103, allocations: 121.4 kB / 372 MB, free: 3.738 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.694e-05/0.5104, allocations: 23.7 kB / 372 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.182e-05/0.5105, allocations: 21.83 kB / 372 MB, free: 3.695 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.5105, allocations: 4 kB / 372 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5105, allocations: 4 kB / 372 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.5106, allocations: 0 / 372 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007158/0.5113, allocations: 373.5 kB / 372.4 MB, free: 3.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.5113, allocations: 7.938 kB / 372.4 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.5117, allocations: 35.98 kB / 372.5 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.5117, allocations: 4 kB / 372.5 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.5117, allocations: 3.984 kB / 372.5 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.5118, allocations: 8.094 kB / 372.5 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.5118, allocations: 3.938 kB / 372.5 MB, free: 3.207 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/0.5123, allocations: 400.2 kB / 372.9 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-05/0.5124, allocations: 96.86 kB / 373 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.5125, allocations: 4.031 kB / 373 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.5127, allocations: 7.953 kB / 373 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.5128, allocations: 11.98 kB / 373 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.5128, allocations: 4 kB / 373 MB, free: 2.621 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000117/0.5129, allocations: 115.9 kB / 373.1 MB, free: 2.508 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.513, allocations: 8 kB / 373.1 MB, free: 2.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005429/0.5135, allocations: 47.84 kB / 373.2 MB, free: 2.453 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.000941/0.5145, allocations: 1.204 MB / 374.4 MB, free: 1.199 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003588/0.5148, allocations: 116.2 kB / 374.5 MB, free: 1.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5149, allocations: 0 / 374.5 MB, free: 1.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.515, allocations: 60.61 kB / 374.5 MB, free: 1.031 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.5155, allocations: 20.22 kB / 374.6 MB, free: 1.012 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.5171, allocations: 0.5721 MB / 375.1 MB, free: 396 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.5176, allocations: 0.7398 MB / 375.9 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.5177, allocations: 59.41 kB / 375.9 MB, free: 15.56 MB / 330.7 MB Notification: Performance of SimCode: time 2.986e-06/0.5177, allocations: 0 / 375.9 MB, free: 15.56 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.368/2.886, allocations: 3.006 MB / 378.9 MB, free: 12.56 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