Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.062/2.062, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.39e-05, allocations: 2.25 kB / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1012, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4559/0.5571, allocations: 80.78 MB / 397.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/0.5575, allocations: 74.84 kB / 397.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3826/0.9401, allocations: 88.27 MB / 485.4 MB, free: 6.762 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.9402, allocations: 0 / 485.4 MB, free: 6.762 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003709/0.9405, allocations: 96 kB / 485.5 MB, free: 6.668 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: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.4007/1.341, allocations: 9.646 MB / 495.2 MB, free: 78.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/1.341, allocations: 9.906 kB / 495.2 MB, free: 78.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01672/1.358, allocations: 2.073 MB / 497.2 MB, free: 78.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01311/1.371, allocations: 3.394 MB / 0.4889 GB, free: 77.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003534/1.372, allocations: 146.6 kB / 0.489 GB, free: 77.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003568/1.375, allocations: 287.4 kB / 0.4893 GB, free: 77.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02649/1.402, allocations: 9.68 MB / 0.4988 GB, free: 77.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03482/1.437, allocations: 13.15 MB / 0.5116 GB, free: 75.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003689/1.437, allocations: 64.03 kB / 0.5117 GB, free: 75.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002798/1.44, allocations: 31.86 kB / 0.5117 GB, free: 75.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004338/1.444, allocations: 1.115 MB / 0.5128 GB, free: 75.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1/1.544, allocations: 53.36 MB / 0.5649 GB, free: 40.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/1.557, allocations: 6.579 MB / 0.5713 GB, free: 37.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00578/1.563, allocations: 2.759 MB / 0.574 GB, free: 36.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01274/1.576, allocations: 6.425 MB / 0.5803 GB, free: 31.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/1.576, allocations: 59.27 kB / 0.5803 GB, free: 31.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=176): time 5.991e-06/1.576, allocations: 3.156 kB / 0.5803 GB, free: 31.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=176): time 0.006328/1.582, allocations: 2.592 MB / 0.5829 GB, free: 30.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/1.582, allocations: 149.2 kB / 0.583 GB, free: 30.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008445/1.591, allocations: 3.718 MB / 0.5867 GB, free: 29.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003858/1.591, allocations: 25.7 kB / 0.5867 GB, free: 28.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002763/1.594, allocations: 3.56 MB / 0.5902 GB, free: 25.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001141/1.595, allocations: 0.7062 MB / 0.5908 GB, free: 25.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006427/1.596, allocations: 2.438 kB / 0.5908 GB, free: 25.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000419/1.596, allocations: 0.6032 MB / 0.5914 GB, free: 24.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004517/1.601, allocations: 2.065 MB / 0.5935 GB, free: 22.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007593/1.609, allocations: 6.416 MB / 0.5997 GB, free: 14.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007848/1.616, allocations: 3.629 MB / 0.6033 GB, free: 11.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/1.617, allocations: 44 kB / 0.6033 GB, free: 11.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02052/1.637, allocations: 7.448 MB / 0.6106 GB, free: 4.895 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000128/1.637, allocations: 76.03 kB / 0.6106 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002337/1.638, allocations: 163.8 kB / 0.6108 GB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002625/1.638, allocations: 228 kB / 0.611 GB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01064/1.649, allocations: 1.661 MB / 0.6126 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002451/1.649, allocations: 310.8 kB / 0.6129 GB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008178/1.657, allocations: 0.7641 MB / 0.6137 GB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001555/1.659, allocations: 449.5 kB / 0.6141 GB, free: 1.262 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 716 * Number of states: 0 () * Number of discrete variables: 39 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (870): * Single equations (assignments): 867 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001317/1.66, allocations: 497.9 kB / 0.6146 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006625/1.667, allocations: 2.612 MB / 0.6171 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/1.668, allocations: 367.2 kB / 0.6175 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006559/1.674, allocations: 2.385 MB / 0.6198 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.164e-05/1.674, allocations: 20 kB / 0.6198 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/1.674, allocations: 3.938 kB / 0.6198 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.899e-05/1.674, allocations: 19.95 kB / 0.6199 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009587/1.684, allocations: 3.192 MB / 0.623 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.41e-05/1.684, allocations: 4 kB / 0.623 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00408/1.688, allocations: 339.5 kB / 0.6233 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.301e-05/1.688, allocations: 8 kB / 0.6233 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003072/1.689, allocations: 15.98 kB / 0.6233 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.77e-05/1.689, allocations: 11.94 kB / 0.6233 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.689, allocations: 0 / 0.6233 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/1.699, allocations: 4.691 MB / 0.6279 GB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/1.7, allocations: 463.9 kB / 0.6284 GB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/1.702, allocations: 4 kB / 0.6284 GB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/1.704, allocations: 43.92 kB / 0.6284 GB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003688/1.704, allocations: 93.12 kB / 0.6285 GB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/1.705, allocations: 58.05 kB / 0.6286 GB, free: 2.352 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00626/1.711, allocations: 2.486 MB / 0.631 GB, free: 15.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.042e-06/1.711, allocations: 4 kB / 0.631 GB, free: 15.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008358/1.719, allocations: 1.23 MB / 0.6322 GB, free: 14.63 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 169 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01083/1.73, allocations: 5.481 MB / 0.6375 GB, free: 9.117 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01145/1.742, allocations: 4.655 MB / 0.6421 GB, free: 4.492 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/1.742, allocations: 448 / 0.6421 GB, free: 4.492 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002816/1.745, allocations: 1.225 MB / 0.6433 GB, free: 3.273 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003187/1.748, allocations: 386.8 kB / 0.6437 GB, free: 2.902 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3273/2.075, allocations: 10.56 MB / 0.654 GB, free: 101.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009788/2.085, allocations: 3.668 MB / 0.6575 GB, free: 100.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005963/2.091, allocations: 2.226 MB / 0.6597 GB, free: 100.8 MB / 442.7 MB Notification: Performance of SimCode: time 2.134e-06/2.091, allocations: 0 / 0.6597 GB, free: 100.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.967/6.058, allocations: 90.02 MB / 0.7476 GB, free: 58.18 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat