Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.857/1.857, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.637e-05/3.642e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4171/0.5188, allocations: 75.43 MB / 397.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.5191, allocations: 63.97 kB / 397.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02693/0.5461, allocations: 5.789 MB / 403.1 MB, free: 8.645 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5461, allocations: 1.094 kB / 403.1 MB, free: 8.645 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.577e-05/0.5461, allocations: 12 kB / 403.1 MB, free: 8.633 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001139/0.5473, allocations: 0.5571 MB / 403.7 MB, free: 8.031 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.5474, allocations: 8.031 kB / 403.7 MB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.5475, allocations: 82.45 kB / 403.8 MB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.5476, allocations: 47.48 kB / 403.8 MB, free: 7.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.548, allocations: 250.4 kB / 404.1 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.548, allocations: 32.77 kB / 404.1 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.925e-05/0.5481, allocations: 43.91 kB / 404.2 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008464/0.549, allocations: 365.8 kB / 404.5 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.5491, allocations: 17.7 kB / 404.5 MB, free: 7.121 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/0.5491, allocations: 16 kB / 404.5 MB, free: 7.105 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.5491, allocations: 15.95 kB / 404.6 MB, free: 7.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005395/0.5497, allocations: 183.9 kB / 404.7 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.5529, allocations: 1.711 MB / 406.5 MB, free: 5.094 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005592/0.5535, allocations: 242.4 kB / 406.7 MB, free: 4.793 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.5537, allocations: 90.08 kB / 406.8 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.5538, allocations: 0 / 406.8 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.5538, allocations: 42.5 kB / 406.8 MB, free: 4.633 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 2.474e-06/0.5538, allocations: 0 / 406.8 MB, free: 4.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006371/0.5545, allocations: 193.1 kB / 407 MB, free: 4.438 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.5546, allocations: 209.6 kB / 407.2 MB, free: 4.184 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.555, allocations: 239.3 kB / 407.4 MB, free: 3.945 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.555, allocations: 33.7 kB / 407.5 MB, free: 3.906 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.5552, allocations: 293.7 kB / 407.8 MB, free: 3.617 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.5554, allocations: 122.3 kB / 407.9 MB, free: 3.496 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.5554, allocations: 16.09 kB / 407.9 MB, free: 3.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5556, allocations: 338.8 kB / 408.2 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.5558, allocations: 85.56 kB / 408.3 MB, free: 3.059 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000538/0.5564, allocations: 408.5 kB / 408.7 MB, free: 2.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/0.5568, allocations: 159.9 kB / 408.9 MB, free: 2.344 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/0.5568, allocations: 4 kB / 408.9 MB, free: 2.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001099/0.5579, allocations: 461.6 kB / 409.3 MB, free: 1.883 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.5579, allocations: 12 kB / 409.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.558, allocations: 12 kB / 409.3 MB, free: 1.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.713e-05/0.558, allocations: 16 kB / 409.4 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008756/0.5589, allocations: 151.7 kB / 409.5 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.399e-05/0.559, allocations: 23.92 kB / 409.5 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/0.5595, allocations: 71.62 kB / 409.6 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.5595, allocations: 32 kB / 409.6 MB, free: 1.57 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0001439/0.5597, allocations: 144.7 kB / 409.8 MB, free: 1.422 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.5599, allocations: 27.72 kB / 409.8 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.56, allocations: 33.95 kB / 409.8 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.56, allocations: 8 kB / 409.8 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.56, allocations: 0 / 409.8 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.5601, allocations: 11.92 kB / 409.9 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.562, allocations: 0.6514 MB / 410.5 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.562, allocations: 3.984 kB / 410.5 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00094/0.563, allocations: 91.89 kB / 410.6 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.563, allocations: 4 kB / 410.6 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.563, allocations: 8 kB / 410.6 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.405e-06/0.5631, allocations: 12.05 kB / 410.6 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5631, allocations: 4 kB / 410.6 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009073/0.564, allocations: 0.8864 MB / 411.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.5642, allocations: 128.8 kB / 411.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.5642, allocations: 8 kB / 411.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/0.5648, allocations: 15.95 kB / 411.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.5649, allocations: 15.97 kB / 411.7 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.565, allocations: 15.98 kB / 411.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002554/0.5652, allocations: 183.1 kB / 411.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.705e-06/0.5652, allocations: 4 kB / 411.9 MB, free: 15.15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001062/0.5663, allocations: 111.7 kB / 412 MB, free: 15.04 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.001457/0.5678, allocations: 1.995 MB / 414 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007329/0.5685, allocations: 246.4 kB / 414.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5686, allocations: 4.125 kB / 414.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.5688, allocations: 79.8 kB / 414.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009766/0.5698, allocations: 56.72 kB / 414.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/0.5739, allocations: 1.66 MB / 416 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.5744, allocations: 0.815 MB / 416.8 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.5747, allocations: 111.4 kB / 416.9 MB, free: 9.93 MB / 346.7 MB Notification: Performance of SimCode: time 1.233e-06/0.5747, allocations: 0 / 416.9 MB, free: 9.93 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.54/3.115, allocations: 5.497 MB / 422.4 MB, free: 4.426 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat