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.907/1.907, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.731e-05/3.743e-05, allocations: 0 / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4246/0.5348, allocations: 75.42 MB / 397.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.5352, allocations: 67.97 kB / 397.3 MB, free: 14.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02687/0.5621, allocations: 5.785 MB / 403.1 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5621, allocations: 1.094 kB / 403.1 MB, free: 8.555 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.016e-05/0.5622, allocations: 8 kB / 403.1 MB, free: 8.547 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.001271/0.5634, allocations: 0.561 MB / 403.7 MB, free: 7.941 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.5635, allocations: 12.03 kB / 403.7 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001487/0.5637, allocations: 74.53 kB / 403.8 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.5638, allocations: 43.48 kB / 403.8 MB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.5643, allocations: 262.4 kB / 404.1 MB, free: 7.508 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.5644, allocations: 24.78 kB / 404.1 MB, free: 7.484 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.5645, allocations: 47.91 kB / 404.1 MB, free: 7.438 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008835/0.5654, allocations: 367.4 kB / 404.5 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.442e-05/0.5655, allocations: 17.7 kB / 404.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.5655, allocations: 16 kB / 404.5 MB, free: 7.012 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.5656, allocations: 15.95 kB / 404.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005838/0.5661, allocations: 191.8 kB / 404.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003668/0.5698, allocations: 1.719 MB / 406.4 MB, free: 4.984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000643/0.5705, allocations: 246.4 kB / 406.7 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.5708, allocations: 90.08 kB / 406.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.5708, allocations: 4 kB / 406.8 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.5709, allocations: 46.48 kB / 406.8 MB, free: 4.512 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 3.627e-06/0.5709, allocations: 4 kB / 406.8 MB, free: 4.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007028/0.5716, allocations: 181.1 kB / 407 MB, free: 4.324 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.5717, allocations: 217.6 kB / 407.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.5722, allocations: 239.3 kB / 407.4 MB, free: 3.828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.5722, allocations: 33.7 kB / 407.5 MB, free: 3.789 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.5725, allocations: 293.8 kB / 407.8 MB, free: 3.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.5726, allocations: 130.3 kB / 407.9 MB, free: 3.371 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.5727, allocations: 12 kB / 407.9 MB, free: 3.359 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.5729, allocations: 338.8 kB / 408.2 MB, free: 3.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.5731, allocations: 85.56 kB / 408.3 MB, free: 2.938 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005721/0.5737, allocations: 402.2 kB / 408.7 MB, free: 2.383 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004226/0.5742, allocations: 163.8 kB / 408.9 MB, free: 2.223 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.5742, allocations: 4 kB / 408.9 MB, free: 2.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001253/0.5755, allocations: 497.5 kB / 409.4 MB, free: 1.727 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.5755, allocations: 8 kB / 409.4 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/0.5756, allocations: 15.98 kB / 409.4 MB, free: 1.703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.253e-05/0.5756, allocations: 16 kB / 409.4 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009404/0.5766, allocations: 147.8 kB / 409.5 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.606e-05/0.5766, allocations: 24.39 kB / 409.6 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.5772, allocations: 71.28 kB / 409.6 MB, free: 1.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.782e-05/0.5773, allocations: 39.92 kB / 409.7 MB, free: 1.41 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.0001843/0.5774, allocations: 148.7 kB / 409.8 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.5777, allocations: 27.72 kB / 409.8 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.5778, allocations: 37.95 kB / 409.9 MB, free: 1.188 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.5778, allocations: 4 kB / 409.9 MB, free: 1.184 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.5778, allocations: 4 kB / 409.9 MB, free: 1.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.5779, allocations: 4 kB / 409.9 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.58, allocations: 0.6515 MB / 410.5 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.58, allocations: 0 / 410.5 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009755/0.581, allocations: 91.89 kB / 410.6 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-05/0.5811, allocations: 7.984 kB / 410.6 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.5811, allocations: 12.06 kB / 410.7 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.857e-06/0.5811, allocations: 4 kB / 410.7 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.5811, allocations: 3.938 kB / 410.7 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.5823, allocations: 0.8979 MB / 411.6 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.5825, allocations: 116.8 kB / 411.7 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.615e-05/0.5826, allocations: 19.94 kB / 411.7 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005267/0.5832, allocations: 8 kB / 411.7 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.782e-05/0.5833, allocations: 23.97 kB / 411.7 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.5833, allocations: 8 kB / 411.7 MB, free: 15.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003062/0.5836, allocations: 191.1 kB / 411.9 MB, free: 14.99 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.178e-06/0.5836, allocations: 0 / 411.9 MB, free: 14.99 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001075/0.5847, allocations: 107.7 kB / 412 MB, free: 14.88 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.001678/0.5864, allocations: 1.995 MB / 414 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007752/0.5872, allocations: 264.6 kB / 414.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5873, allocations: 1.812 kB / 414.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.5875, allocations: 75.86 kB / 414.4 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.5885, allocations: 57.72 kB / 414.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004456/0.593, allocations: 1.67 MB / 416.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/0.5936, allocations: 0.8072 MB / 416.9 MB, free: 9.859 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.5939, allocations: 115.4 kB / 417 MB, free: 9.746 MB / 346.7 MB Notification: Performance of SimCode: time 1.313e-06/0.5939, allocations: 0 / 417 MB, free: 9.746 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.544/3.138, allocations: 5.516 MB / 422.5 MB, free: 4.227 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