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 1.955/1.955, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.89e-05, allocations: 8 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 44.51 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/0.4927, allocations: 71.2 MB / 371.1 MB, free: 21.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.493, allocations: 65.88 kB / 371.2 MB, free: 21.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01436/0.5074, allocations: 3.354 MB / 374.6 MB, free: 20.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5074, allocations: 0 / 374.6 MB, free: 20.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.5074, allocations: 4.188 kB / 374.6 MB, free: 20.93 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.0007347/0.5082, allocations: 464.8 kB / 375 MB, free: 20.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.5082, allocations: 9.406 kB / 375 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.547e-05/0.5083, allocations: 59.03 kB / 375.1 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.355e-05/0.5084, allocations: 23.09 kB / 375.1 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.5086, allocations: 193.8 kB / 375.3 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.5086, allocations: 17.38 kB / 375.3 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/0.5087, allocations: 21.78 kB / 375.3 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.5092, allocations: 224 kB / 375.6 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.5092, allocations: 5.734 kB / 375.6 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.5093, allocations: 8.844 kB / 375.6 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.5093, allocations: 6.344 kB / 375.6 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.5097, allocations: 130.4 kB / 375.7 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.5111, allocations: 0.8639 MB / 376.6 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.5115, allocations: 153 kB / 376.7 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.5116, allocations: 70.08 kB / 376.8 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.5117, allocations: 8.391 kB / 376.8 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.5117, allocations: 37.97 kB / 376.8 MB, free: 19.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.417e-06/0.5117, allocations: 3.938 kB / 376.8 MB, free: 19.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004233/0.5122, allocations: 127.7 kB / 377 MB, free: 19.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.5122, allocations: 110.3 kB / 377.1 MB, free: 19.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.5125, allocations: 174.7 kB / 377.2 MB, free: 19.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.5125, allocations: 30.98 kB / 377.3 MB, free: 19.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.267e-05/0.5126, allocations: 225.2 kB / 377.5 MB, free: 18.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.373e-05/0.5127, allocations: 59.5 kB / 377.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.5127, allocations: 8.062 kB / 377.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.359e-05/0.5128, allocations: 323.6 kB / 377.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.5129, allocations: 42.28 kB / 377.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.5131, allocations: 161.9 kB / 378.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.5133, allocations: 67.8 kB / 378.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5133, allocations: 5.062 kB / 378.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005183/0.5138, allocations: 227.8 kB / 378.4 MB, free: 18.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.5139, allocations: 6.688 kB / 378.4 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.5139, allocations: 3.656 kB / 378.4 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.5139, allocations: 9.625 kB / 378.4 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.5144, allocations: 61.84 kB / 378.4 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/0.5144, allocations: 15.7 kB / 378.5 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.5147, allocations: 27.78 kB / 378.5 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.5147, allocations: 10.12 kB / 378.5 MB, free: 18.37 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 8.751e-05/0.5148, allocations: 123.3 kB / 378.6 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.566e-05/0.5149, allocations: 24.45 kB / 378.6 MB, free: 18.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.068e-05/0.515, allocations: 23.31 kB / 378.7 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.515, allocations: 6.781 kB / 378.7 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.515, allocations: 1.344 kB / 378.7 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.515, allocations: 5.312 kB / 378.7 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000704/0.5158, allocations: 424.2 kB / 379.1 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5158, allocations: 1.281 kB / 379.1 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.5162, allocations: 38.84 kB / 379.1 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.5162, allocations: 2.312 kB / 379.1 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.5162, allocations: 10.16 kB / 379.1 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.5162, allocations: 2.781 kB / 379.1 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.5162, allocations: 2.25 kB / 379.1 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004851/0.5167, allocations: 419.2 kB / 379.6 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/0.5168, allocations: 92.38 kB / 379.6 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.5169, allocations: 12.22 kB / 379.7 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.5171, allocations: 1.312 kB / 379.7 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.5171, allocations: 13.3 kB / 379.7 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.5172, allocations: 4.125 kB / 379.7 MB, free: 17.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001509/0.5173, allocations: 139.2 kB / 379.8 MB, free: 17.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5173, allocations: 1.25 kB / 379.8 MB, free: 17.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005149/0.5179, allocations: 60.69 kB / 379.9 MB, free: 17.38 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.000733/0.5186, allocations: 1.23 MB / 381.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003918/0.519, allocations: 135.9 kB / 381.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.519, allocations: 0 / 381.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.5192, allocations: 49.16 kB / 381.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004681/0.5196, allocations: 26.67 kB / 381.3 MB, free: 16.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.5211, allocations: 0.585 MB / 381.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000772/0.5219, allocations: 0.7454 MB / 382.6 MB, free: 31.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.5221, allocations: 61.23 kB / 382.7 MB, free: 31.11 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5221, allocations: 0 / 382.7 MB, free: 31.11 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.432/2.954, allocations: 3.101 MB / 385.8 MB, free: 30.88 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