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 1.894/1.894, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.79e-05/4.801e-05, allocations: 4 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1084, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4251/0.5336, allocations: 95.1 MB / 417 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/0.5339, allocations: 87.05 kB / 417 MB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3641/0.8981, allocations: 83.97 MB / 0.4893 GB, free: 6.145 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.8981, allocations: 0 / 0.4893 GB, free: 6.145 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002671/0.8984, allocations: 83.98 kB / 0.4893 GB, free: 6.062 MB / 426.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.02597/0.9244, allocations: 4.49 MB / 0.4937 GB, free: 1.508 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.9245, allocations: 12.03 kB / 0.4937 GB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003471/0.928, allocations: 0.7667 MB / 0.4945 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2991/1.227, allocations: 2.21 MB / 0.4967 GB, free: 95.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01753/1.245, allocations: 4.501 MB / 0.501 GB, free: 95.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004159/1.245, allocations: 322.1 kB / 0.5014 GB, free: 95.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002309/1.248, allocations: 424.1 kB / 0.5018 GB, free: 95.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03132/1.279, allocations: 10.61 MB / 0.5121 GB, free: 92.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002418/1.279, allocations: 59.94 kB / 0.5122 GB, free: 92.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001074/1.28, allocations: 203.1 kB / 0.5124 GB, free: 92.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002467/1.283, allocations: 1.012 MB / 0.5134 GB, free: 92.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02725/1.31, allocations: 8.725 MB / 0.5219 GB, free: 92.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06854/1.379, allocations: 47.42 MB / 0.5682 GB, free: 58.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01852/1.397, allocations: 3.554 MB / 0.5717 GB, free: 57.53 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003536/1.401, allocations: 1.797 MB / 0.5734 GB, free: 56.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01029/1.411, allocations: 4.735 MB / 0.578 GB, free: 54.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/1.411, allocations: 46.48 kB / 0.5781 GB, free: 54.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=142): time 5.941e-06/1.411, allocations: 0 / 0.5781 GB, free: 54.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=148): time 0.03836/1.45, allocations: 9.895 MB / 0.5877 GB, free: 49.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/1.45, allocations: 143.9 kB / 0.5879 GB, free: 49.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008593/1.458, allocations: 3.593 MB / 0.5914 GB, free: 48.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004114/1.459, allocations: 50.3 kB / 0.5914 GB, free: 48.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002524/1.461, allocations: 3.069 MB / 0.5944 GB, free: 45.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001004/1.462, allocations: 0.5871 MB / 0.595 GB, free: 45.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007272/1.463, allocations: 109.4 kB / 0.5951 GB, free: 45.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004011/1.464, allocations: 0.5601 MB / 0.5957 GB, free: 44.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004704/1.468, allocations: 1.887 MB / 0.5975 GB, free: 44.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007083/1.475, allocations: 5.521 MB / 0.6029 GB, free: 37.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009544/1.485, allocations: 3.22 MB / 0.606 GB, free: 35.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001402/1.485, allocations: 40 kB / 0.6061 GB, free: 35.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.0297/1.515, allocations: 7.426 MB / 0.6133 GB, free: 28.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/1.515, allocations: 63.28 kB / 0.6134 GB, free: 28.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000239/1.515, allocations: 132 kB / 0.6135 GB, free: 28.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00579/1.521, allocations: 0.9072 MB / 0.6144 GB, free: 27.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01111/1.532, allocations: 1.351 MB / 0.6157 GB, free: 26.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01263/1.545, allocations: 4.772 MB / 0.6204 GB, free: 22.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009676/1.555, allocations: 325.4 kB / 0.6207 GB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/1.556, allocations: 359.3 kB / 0.621 GB, free: 21.88 MB / 426.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.001297/1.557, allocations: 0.5527 MB / 0.6216 GB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000901/1.558, allocations: 342.9 kB / 0.6219 GB, free: 20.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008751/1.567, allocations: 2.83 MB / 0.6247 GB, free: 18.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.277e-05/1.567, allocations: 21.36 kB / 0.6247 GB, free: 18.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.567, allocations: 4 kB / 0.6247 GB, free: 18.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.633e-05/1.567, allocations: 11.78 kB / 0.6247 GB, free: 18.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02027/1.587, allocations: 7.085 MB / 0.6316 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-05/1.588, allocations: 0 / 0.6316 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002577/1.59, allocations: 257.5 kB / 0.6319 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003756/1.594, allocations: 0.7036 MB / 0.6326 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003542/1.594, allocations: 24 kB / 0.6326 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008009/1.602, allocations: 4.338 MB / 0.6368 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.602, allocations: 0 / 0.6368 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/1.614, allocations: 5.134 MB / 0.6418 GB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002092/1.616, allocations: 0.6135 MB / 0.6424 GB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007293/1.617, allocations: 25.17 kB / 0.6424 GB, free: 2.762 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00249/1.62, allocations: 95.83 kB / 0.6425 GB, free: 2.668 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003792/1.62, allocations: 84.88 kB / 0.6426 GB, free: 2.586 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/1.62, allocations: 41.16 kB / 0.6427 GB, free: 2.547 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005748/1.626, allocations: 2.5 MB / 0.6451 GB, free: 28 kB / 426.7 MB Notification: Performance of sort global known variables: time 9.41e-07/1.626, allocations: 4 kB / 0.6451 GB, free: 24 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.007166/1.633, allocations: 0.9507 MB / 0.646 GB, free: 15.08 MB / 442.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.01516/1.648, allocations: 5.939 MB / 0.6518 GB, free: 9.098 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01188/1.66, allocations: 4.413 MB / 0.6561 GB, free: 4.707 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.66, allocations: 7.938 kB / 0.6562 GB, free: 4.699 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003286/1.664, allocations: 1.333 MB / 0.6575 GB, free: 3.355 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/1.667, allocations: 398.2 kB / 0.6578 GB, free: 2.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3157/1.983, allocations: 8.992 MB / 0.6666 GB, free: 99.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008397/1.991, allocations: 3.321 MB / 0.6699 GB, free: 98.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004703/1.996, allocations: 1.889 MB / 0.6717 GB, free: 98.73 MB / 442.7 MB Notification: Performance of SimCode: time 1.372e-06/1.996, allocations: 0 / 0.6717 GB, free: 98.73 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.03/6.026, allocations: 95.4 MB / 0.7649 GB, free: 54.27 MB / 442.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