Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.047/2.047, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.733e-05/2.739e-05, allocations: 4 kB / 267.6 MB, free: 5.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1003, allocations: 48.69 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4577/0.558, allocations: 94.7 MB / 411 MB, free: 13.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.5583, allocations: 81.52 kB / 411.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7072/1.266, allocations: 82.3 MB / 493.4 MB, free: 85.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.266, allocations: 0.5469 kB / 493.4 MB, free: 85.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002894/1.266, allocations: 80.86 kB / 493.5 MB, free: 85.84 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02614/1.292, allocations: 4.493 MB / 497.9 MB, free: 85.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/1.292, allocations: 10.84 kB / 498 MB, free: 85.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0182/1.31, allocations: 2.215 MB / 0.4885 GB, free: 84.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01773/1.328, allocations: 4.498 MB / 0.4928 GB, free: 84.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003291/1.329, allocations: 137.4 kB / 0.493 GB, free: 84.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00244/1.331, allocations: 253.2 kB / 0.4932 GB, free: 84.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01781/1.349, allocations: 6.399 MB / 0.4995 GB, free: 84.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02476/1.374, allocations: 9.62 MB / 0.5089 GB, free: 81.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002937/1.374, allocations: 59.2 kB / 0.5089 GB, free: 81.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001804/1.376, allocations: 29.56 kB / 0.5089 GB, free: 81.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002398/1.378, allocations: 1.013 MB / 0.5099 GB, free: 81.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06526/1.444, allocations: 45.42 MB / 0.5543 GB, free: 50.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005793/1.449, allocations: 3.233 MB / 0.5575 GB, free: 48.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003368/1.453, allocations: 1.755 MB / 0.5592 GB, free: 48.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/1.464, allocations: 4.607 MB / 0.5637 GB, free: 45.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/1.464, allocations: 54.53 kB / 0.5637 GB, free: 45.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=142): time 5.53e-06/1.464, allocations: 0 / 0.5637 GB, free: 45.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.03172/1.496, allocations: 11.06 MB / 0.5745 GB, free: 40.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/1.496, allocations: 143.6 kB / 0.5747 GB, free: 40.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00622/1.502, allocations: 3.069 MB / 0.5777 GB, free: 39.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003951/1.503, allocations: 25.7 kB / 0.5777 GB, free: 39.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00242/1.505, allocations: 3.177 MB / 0.5808 GB, free: 36.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009268/1.506, allocations: 0.5809 MB / 0.5813 GB, free: 36.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005276/1.507, allocations: 0 / 0.5813 GB, free: 36.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003637/1.507, allocations: 0.5634 MB / 0.5819 GB, free: 35.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003821/1.511, allocations: 1.83 MB / 0.5837 GB, free: 34.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006184/1.517, allocations: 5.64 MB / 0.5892 GB, free: 26.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006701/1.524, allocations: 3.178 MB / 0.5923 GB, free: 24.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/1.524, allocations: 40 kB / 0.5923 GB, free: 24.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02035/1.544, allocations: 7.189 MB / 0.5994 GB, free: 18.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/1.544, allocations: 64 kB / 0.5994 GB, free: 18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001903/1.545, allocations: 136.9 kB / 0.5995 GB, free: 17.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004159/1.549, allocations: 0.916 MB / 0.6004 GB, free: 17.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00867/1.558, allocations: 1.415 MB / 0.6018 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00841/1.566, allocations: 4.611 MB / 0.6063 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006467/1.573, allocations: 210.9 kB / 0.6065 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001322/1.574, allocations: 382.2 kB / 0.6069 GB, free: 11.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (741): * Single equations (assignments): 737 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001134/1.575, allocations: 441.9 kB / 0.6073 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008584/1.584, allocations: 3.004 MB / 0.6102 GB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009903/1.585, allocations: 308 kB / 0.6105 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008594/1.593, allocations: 2.716 MB / 0.6132 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.894e-05/1.593, allocations: 20 kB / 0.6132 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/1.593, allocations: 8 kB / 0.6132 GB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.544e-05/1.594, allocations: 9.797 kB / 0.6132 GB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01854/1.612, allocations: 6.22 MB / 0.6193 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/1.612, allocations: 0 / 0.6193 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002469/1.615, allocations: 247.7 kB / 0.6195 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00369/1.618, allocations: 0.6938 MB / 0.6202 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003444/1.619, allocations: 8 kB / 0.6202 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008896/1.628, allocations: 4.181 MB / 0.6243 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/1.628, allocations: 4.031 kB / 0.6243 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/1.641, allocations: 5.014 MB / 0.6292 GB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002241/1.643, allocations: 0.5711 MB / 0.6298 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009185/1.644, allocations: 4 kB / 0.6298 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002337/1.646, allocations: 71.88 kB / 0.6298 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004488/1.647, allocations: 81.19 kB / 0.6299 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/1.647, allocations: 44.92 kB / 0.63 GB, free: 5.699 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005003/1.652, allocations: 2.04 MB / 0.632 GB, free: 3.672 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.652, allocations: 0 / 0.632 GB, free: 3.672 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007307/1.66, allocations: 0.8151 MB / 0.6327 GB, free: 2.859 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 113 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3045/1.964, allocations: 5.788 MB / 0.6384 GB, free: 91.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01099/1.975, allocations: 4.384 MB / 0.6427 GB, free: 90.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.975, allocations: 3.469 kB / 0.6427 GB, free: 90.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003005/1.978, allocations: 1.312 MB / 0.644 GB, free: 90.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/1.981, allocations: 315.2 kB / 0.6443 GB, free: 90.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0303/2.011, allocations: 8.806 MB / 0.6529 GB, free: 89.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006715/2.018, allocations: 3.321 MB / 0.6561 GB, free: 88.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004152/2.022, allocations: 1.868 MB / 0.6579 GB, free: 88.47 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/2.022, allocations: 0 / 0.6579 GB, free: 88.47 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.304/6.326, allocations: 93.61 MB / 0.7493 GB, free: 34.65 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat