Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.619/2.619, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.535e-05/4.538e-05, allocations: 5.828 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1387, allocations: 61.88 MB / 410.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5833/0.7221, allocations: 103 MB / 0.5013 GB, free: 1.117 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.7224, allocations: 68.84 kB / 0.5013 GB, free: 1.051 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2812/1.004, allocations: 59.45 MB / 0.5594 GB, free: 5.148 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.965e-06/1.004, allocations: 0 / 0.5594 GB, free: 5.148 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001692/1.004, allocations: 44 kB / 0.5594 GB, free: 5.105 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.01052/1.014, allocations: 2.603 MB / 0.562 GB, free: 2.445 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/1.014, allocations: 8.031 kB / 0.562 GB, free: 2.438 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00226/1.017, allocations: 498.3 kB / 0.5625 GB, free: 1.941 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/1.033, allocations: 1.97 MB / 0.5644 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01373/1.047, allocations: 3.216 MB / 0.5675 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002925/1.047, allocations: 192.8 kB / 0.5677 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/1.049, allocations: 239.9 kB / 0.5679 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01897/1.068, allocations: 6.79 MB / 0.5746 GB, free: 4.668 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000158/1.068, allocations: 47.52 kB / 0.5746 GB, free: 4.621 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006448/1.068, allocations: 123.9 kB / 0.5747 GB, free: 4.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001789/1.07, allocations: 0.7189 MB / 0.5754 GB, free: 3.785 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01729/1.088, allocations: 5.622 MB / 0.5809 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4861/1.574, allocations: 33.68 MB / 0.6138 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007529/1.581, allocations: 2.071 MB / 0.6158 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003191/1.585, allocations: 1.013 MB / 0.6168 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003102/1.585, allocations: 178.7 kB / 0.617 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/1.585, allocations: 48.23 kB / 0.617 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=100): time 6.472e-06/1.585, allocations: 0 / 0.617 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=112): time 0.03017/1.615, allocations: 5.103 MB / 0.622 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.575e-05/1.615, allocations: 141.9 kB / 0.6222 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008439/1.624, allocations: 2.554 MB / 0.6247 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003306/1.624, allocations: 39.45 kB / 0.6247 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002614/1.627, allocations: 2.105 MB / 0.6267 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009886/1.628, allocations: 455.3 kB / 0.6272 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005854/1.628, allocations: 92.14 kB / 0.6273 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005028/1.629, allocations: 0.4899 MB / 0.6277 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005441/1.634, allocations: 1.356 MB / 0.6291 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007893/1.642, allocations: 4.174 MB / 0.6331 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008475/1.651, allocations: 2.376 MB / 0.6355 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001958/1.651, allocations: 30.31 kB / 0.6355 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=575) (initialization): time 0.01734/1.669, allocations: 5.078 MB / 0.6405 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/1.669, allocations: 50 kB / 0.6405 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000159/1.669, allocations: 105.2 kB / 0.6406 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/1.669, allocations: 145.2 kB / 0.6407 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006724/1.676, allocations: 1.087 MB / 0.6418 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001873/1.676, allocations: 198.9 kB / 0.642 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005284/1.681, allocations: 290.6 kB / 0.6423 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005981/1.682, allocations: 279.7 kB / 0.6425 GB, free: 107.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 548 * 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.0008156/1.683, allocations: 449 kB / 0.643 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006982/1.684, allocations: 251.7 kB / 0.6432 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/1.686, allocations: 1.214 MB / 0.6444 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.205e-05/1.686, allocations: 15.75 kB / 0.6444 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/1.686, allocations: 0 / 0.6444 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/1.686, allocations: 7.172 kB / 0.6444 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/1.698, allocations: 4.378 MB / 0.6487 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/1.698, allocations: 8.188 kB / 0.6487 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001936/1.7, allocations: 211.9 kB / 0.6489 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-05/1.7, allocations: 10 kB / 0.6489 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/1.7, allocations: 23.89 kB / 0.6489 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.424e-05/1.7, allocations: 9.156 kB / 0.6489 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.7, allocations: 12 kB / 0.649 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003746/1.704, allocations: 2.565 MB / 0.6515 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007808/1.705, allocations: 318.4 kB / 0.6518 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004188/1.705, allocations: 20.45 kB / 0.6518 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/1.707, allocations: 74.89 kB / 0.6519 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/1.707, allocations: 66.8 kB / 0.6519 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/1.707, allocations: 41.56 kB / 0.652 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003585/1.711, allocations: 1.773 MB / 0.6537 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.423e-06/1.711, allocations: 0 / 0.6537 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005002/1.716, allocations: 0.6421 MB / 0.6543 GB, free: 103 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * 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.004488/1.72, allocations: 4.368 MB / 0.6586 GB, free: 99.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006729/1.727, allocations: 3.024 MB / 0.6615 GB, free: 98.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.727, allocations: 0 / 0.6615 GB, free: 98.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/1.729, allocations: 0.7646 MB / 0.6623 GB, free: 98.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/1.731, allocations: 255.1 kB / 0.6625 GB, free: 98.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/1.749, allocations: 5.453 MB / 0.6678 GB, free: 96.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003355/1.752, allocations: 2.259 MB / 0.6701 GB, free: 95.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006353/1.759, allocations: 1.473 MB / 0.6715 GB, free: 95.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002716/1.761, allocations: 1.073 MB / 0.6725 GB, free: 94.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.593e-06/1.761, allocations: 3.172 kB / 0.6725 GB, free: 94.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.116/1.877, allocations: 48.15 MB / 0.7196 GB, free: 61.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/1.878, allocations: 136.6 kB / 0.7197 GB, free: 61.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.171/6.049, allocations: 4 kB / 0.7197 GB, free: 61.7 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat