Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.465/2.465, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.316e-05/4.335e-05, allocations: 0 / 299.5 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.458, allocations: 54.86 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.656, allocations: 87.02 MB / 441.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.6563, allocations: 83.94 kB / 441.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7583/1.415, allocations: 88.25 MB / 0.5173 GB, free: 95.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.515e-06/1.415, allocations: 0 / 0.5173 GB, free: 95.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000437/1.415, allocations: 90.22 kB / 0.5174 GB, free: 95.09 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: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.1183/1.533, allocations: 9.655 MB / 0.5268 GB, free: 93.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/1.534, allocations: 14.62 kB / 0.5268 GB, free: 93.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01589/1.549, allocations: 2.07 MB / 0.5288 GB, free: 92.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01212/1.562, allocations: 3.401 MB / 0.5321 GB, free: 90.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000324/1.562, allocations: 150.7 kB / 0.5323 GB, free: 90.47 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003671/1.566, allocations: 286.1 kB / 0.5326 GB, free: 90.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02565/1.591, allocations: 9.678 MB / 0.542 GB, free: 82.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03503/1.627, allocations: 13.16 MB / 0.5549 GB, free: 68.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000378/1.627, allocations: 67.39 kB / 0.5549 GB, free: 68.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003419/1.63, allocations: 32 kB / 0.555 GB, free: 68.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004301/1.635, allocations: 1.111 MB / 0.556 GB, free: 67.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1067/1.742, allocations: 53.37 MB / 0.6082 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01394/1.756, allocations: 6.571 MB / 0.6146 GB, free: 5.746 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006104/1.762, allocations: 2.765 MB / 0.6173 GB, free: 2.973 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01553/1.777, allocations: 6.428 MB / 0.6236 GB, free: 11.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.245e-05/1.777, allocations: 59.86 kB / 0.6236 GB, free: 11.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=176): time 6.222e-06/1.777, allocations: 0 / 0.6236 GB, free: 11.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=176): time 0.008089/1.786, allocations: 2.596 MB / 0.6261 GB, free: 9.312 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.72e-05/1.786, allocations: 145.8 kB / 0.6263 GB, free: 9.141 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01161/1.797, allocations: 3.714 MB / 0.6299 GB, free: 5.406 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004076/1.798, allocations: 25.7 kB / 0.6299 GB, free: 5.375 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004566/1.802, allocations: 3.631 MB / 0.6335 GB, free: 1.688 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001606/1.804, allocations: 0.7098 MB / 0.6342 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/1.805, allocations: 0 / 0.6342 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008967/1.806, allocations: 0.5914 MB / 0.6348 GB, free: 380 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006228/1.812, allocations: 2.07 MB / 0.6368 GB, free: 14.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01087/1.823, allocations: 6.417 MB / 0.643 GB, free: 5.684 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/1.833, allocations: 3.617 MB / 0.6466 GB, free: 2.062 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001716/1.834, allocations: 44 kB / 0.6466 GB, free: 2.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02431/1.858, allocations: 7.568 MB / 0.654 GB, free: 10.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001734/1.858, allocations: 76.14 kB / 0.6541 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003206/1.859, allocations: 160 kB / 0.6542 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003533/1.859, allocations: 228 kB / 0.6544 GB, free: 9.996 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01185/1.871, allocations: 1.661 MB / 0.6561 GB, free: 8.332 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004282/1.871, allocations: 302.8 kB / 0.6564 GB, free: 8.035 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009389/1.881, allocations: 0.7757 MB / 0.6571 GB, free: 7.254 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002158/1.883, allocations: 451.9 kB / 0.6575 GB, free: 6.812 MB / 474.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.002792/1.886, allocations: 494.2 kB / 0.658 GB, free: 6.32 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008308/1.894, allocations: 2.6 MB / 0.6606 GB, free: 3.707 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001561/1.896, allocations: 375.2 kB / 0.6609 GB, free: 3.336 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008121/1.904, allocations: 2.381 MB / 0.6632 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.077e-05/1.904, allocations: 24 kB / 0.6633 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/1.904, allocations: 0 / 0.6633 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.24e-05/1.904, allocations: 11.97 kB / 0.6633 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3698/2.274, allocations: 3.196 MB / 0.6664 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.265e-05/2.274, allocations: 1.844 kB / 0.6664 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004082/2.278, allocations: 346.3 kB / 0.6667 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.172e-05/2.278, allocations: 9.438 kB / 0.6667 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004036/2.279, allocations: 13.62 kB / 0.6668 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.802e-05/2.279, allocations: 10.38 kB / 0.6668 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/2.279, allocations: 1.062 kB / 0.6668 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/2.29, allocations: 4.696 MB / 0.6713 GB, free: 126 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/2.292, allocations: 461.4 kB / 0.6718 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001725/2.293, allocations: 5.094 kB / 0.6718 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003459/2.297, allocations: 39.73 kB / 0.6718 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005885/2.298, allocations: 96.89 kB / 0.6719 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002183/2.298, allocations: 54.89 kB / 0.672 GB, free: 125.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007533/2.305, allocations: 2.489 MB / 0.6744 GB, free: 125.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.273e-06/2.305, allocations: 0 / 0.6744 GB, free: 125.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009558/2.315, allocations: 1.221 MB / 0.6756 GB, free: 125.5 MB / 474.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.01069/2.326, allocations: 5.49 MB / 0.681 GB, free: 124.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01053/2.336, allocations: 4.653 MB / 0.6855 GB, free: 123.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/2.336, allocations: 0 / 0.6855 GB, free: 123.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002575/2.339, allocations: 1.226 MB / 0.6867 GB, free: 123.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/2.343, allocations: 385.2 kB / 0.6871 GB, free: 123.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04356/2.387, allocations: 10.04 MB / 0.6969 GB, free: 119.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01118/2.398, allocations: 3.668 MB / 0.7005 GB, free: 118.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01449/2.412, allocations: 2.078 MB / 0.7025 GB, free: 117.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008023/2.421, allocations: 2.179 MB / 0.7046 GB, free: 116.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.893e-06/2.421, allocations: 0 / 0.7046 GB, free: 116.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2028/2.623, allocations: 79.89 MB / 0.7826 GB, free: 48 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/2.624, allocations: 145.6 kB / 0.7828 GB, free: 47.82 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.577/8.201, allocations: 0 / 0.7828 GB, free: 47.82 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat