Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.471/2.471, allocations: 235 MB / 247.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.5e-05/5.482e-05, allocations: 0 / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4487, allocations: 54.86 MB / 359.9 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.6359, allocations: 101.9 MB / 461.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.6363, allocations: 89.36 kB / 461.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.678/1.314, allocations: 83.96 MB / 0.533 GB, free: 102.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.355e-06/1.314, allocations: 1.375 kB / 0.533 GB, free: 102.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003268/1.315, allocations: 85.97 kB / 0.5331 GB, free: 102.2 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.03468/1.349, allocations: 4.494 MB / 0.5375 GB, free: 100.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.43e-05/1.35, allocations: 10.77 kB / 0.5375 GB, free: 100.5 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005381/1.355, allocations: 0.7698 MB / 0.5383 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02652/1.382, allocations: 2.214 MB / 0.5404 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02083/1.402, allocations: 4.511 MB / 0.5448 GB, free: 99.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005671/1.403, allocations: 318.9 kB / 0.5451 GB, free: 99.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002941/1.406, allocations: 426.3 kB / 0.5455 GB, free: 99.52 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04056/1.447, allocations: 10.62 MB / 0.5559 GB, free: 96.87 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000328/1.447, allocations: 61.44 kB / 0.556 GB, free: 96.87 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001958/1.449, allocations: 203.1 kB / 0.5562 GB, free: 96.87 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003334/1.452, allocations: 1.009 MB / 0.5571 GB, free: 96.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03644/1.489, allocations: 8.729 MB / 0.5657 GB, free: 95.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07478/1.564, allocations: 47.4 MB / 0.612 GB, free: 60.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01861/1.582, allocations: 3.556 MB / 0.6154 GB, free: 58.82 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003816/1.586, allocations: 1.797 MB / 0.6172 GB, free: 58.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01172/1.598, allocations: 4.747 MB / 0.6218 GB, free: 55.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/1.598, allocations: 58.03 kB / 0.6219 GB, free: 55.19 MB / 458.7 MB Notification: Performance of pre-optimization done (n=142): time 5.58e-06/1.598, allocations: 0 / 0.6219 GB, free: 55.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=148): time 0.03816/1.636, allocations: 9.883 MB / 0.6315 GB, free: 47.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/1.636, allocations: 141.3 kB / 0.6317 GB, free: 47.37 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008844/1.645, allocations: 3.597 MB / 0.6352 GB, free: 44.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004146/1.646, allocations: 49.64 kB / 0.6352 GB, free: 44.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002585/1.648, allocations: 3.066 MB / 0.6382 GB, free: 41.31 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009648/1.649, allocations: 0.5906 MB / 0.6388 GB, free: 40.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007397/1.65, allocations: 112 kB / 0.6389 GB, free: 40.69 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004302/1.651, allocations: 0.5547 MB / 0.6394 GB, free: 40.19 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004806/1.655, allocations: 1.889 MB / 0.6413 GB, free: 38.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007429/1.663, allocations: 5.522 MB / 0.6467 GB, free: 31.42 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007076/1.67, allocations: 3.208 MB / 0.6498 GB, free: 28.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001225/1.67, allocations: 36 kB / 0.6498 GB, free: 28.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02109/1.691, allocations: 7.433 MB / 0.6571 GB, free: 22.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.669e-05/1.691, allocations: 60 kB / 0.6572 GB, free: 22.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000172/1.692, allocations: 132 kB / 0.6573 GB, free: 22.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004176/1.696, allocations: 0.9133 MB / 0.6582 GB, free: 21.26 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008225/1.704, allocations: 1.353 MB / 0.6595 GB, free: 19.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008928/1.713, allocations: 4.779 MB / 0.6642 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006648/1.72, allocations: 319.7 kB / 0.6645 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/1.721, allocations: 364 kB / 0.6648 GB, free: 14.33 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * 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 (711): * Single equations (assignments): 707 * 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.001497/1.723, allocations: 0.5561 MB / 0.6654 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008834/1.723, allocations: 343.4 kB / 0.6657 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008759/1.732, allocations: 2.827 MB / 0.6685 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.576e-05/1.732, allocations: 20 kB / 0.6685 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/1.732, allocations: 4 kB / 0.6685 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.775e-05/1.732, allocations: 3.984 kB / 0.6685 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02167/1.754, allocations: 7.085 MB / 0.6754 GB, free: 3.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.193e-05/1.754, allocations: 0 / 0.6754 GB, free: 3.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002587/1.757, allocations: 247.6 kB / 0.6756 GB, free: 3.188 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003711/1.761, allocations: 0.6991 MB / 0.6763 GB, free: 2.484 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003734/1.761, allocations: 24 kB / 0.6763 GB, free: 2.461 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008954/1.77, allocations: 4.355 MB / 0.6806 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.77, allocations: 0 / 0.6806 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01492/1.785, allocations: 5.128 MB / 0.6856 GB, free: 8.797 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002583/1.788, allocations: 0.6136 MB / 0.6862 GB, free: 8.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001161/1.789, allocations: 23.91 kB / 0.6862 GB, free: 8.141 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003275/1.792, allocations: 91.88 kB / 0.6863 GB, free: 8.051 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000607/1.793, allocations: 88.81 kB / 0.6864 GB, free: 7.965 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000187/1.793, allocations: 40 kB / 0.6864 GB, free: 7.926 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007145/1.8, allocations: 2.5 MB / 0.6889 GB, free: 5.406 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.153e-06/1.8, allocations: 0 / 0.6889 GB, free: 5.406 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007723/1.808, allocations: 0.9532 MB / 0.6898 GB, free: 4.453 MB / 474.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.01513/1.823, allocations: 5.939 MB / 0.6956 GB, free: 14.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01226/1.835, allocations: 4.409 MB / 0.6999 GB, free: 10.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.835, allocations: 0 / 0.6999 GB, free: 10.08 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003525/1.839, allocations: 1.352 MB / 0.7012 GB, free: 8.727 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003627/1.843, allocations: 391.5 kB / 0.7016 GB, free: 8.352 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3566/2.199, allocations: 8.988 MB / 0.7104 GB, free: 119.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009273/2.209, allocations: 3.317 MB / 0.7136 GB, free: 118.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005014/2.214, allocations: 1.891 MB / 0.7155 GB, free: 118.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.783e-06/2.214, allocations: 1.375 kB / 0.7155 GB, free: 118.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.513/6.727, allocations: 95.4 MB / 0.8086 GB, free: 76.49 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat