Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.537/2.537, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.606e-05/2.616e-05, allocations: 0 / 299.5 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3958, allocations: 54.85 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2217/0.6175, allocations: 94.35 MB / 448.7 MB, free: 3.852 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.6179, allocations: 71.97 kB / 448.7 MB, free: 3.781 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6501/1.268, allocations: 56.98 MB / 0.4939 GB, free: 103 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.776e-06/1.268, allocations: 1.062 kB / 0.4939 GB, free: 103 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001663/1.268, allocations: 43.62 kB / 0.4939 GB, free: 103 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: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.0108/1.279, allocations: 2.591 MB / 0.4964 GB, free: 101.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/1.279, allocations: 11.38 kB / 0.4965 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0159/1.295, allocations: 1.975 MB / 0.4984 GB, free: 101.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01651/1.312, allocations: 3.342 MB / 0.5017 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/1.312, allocations: 78 kB / 0.5017 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001755/1.314, allocations: 140.4 kB / 0.5019 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01371/1.327, allocations: 3.955 MB / 0.5057 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02009/1.348, allocations: 6.262 MB / 0.5118 GB, free: 99.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000204/1.348, allocations: 41.69 kB / 0.5119 GB, free: 99.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009776/1.349, allocations: 26.73 kB / 0.5119 GB, free: 99.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002146/1.351, allocations: 0.7169 MB / 0.5126 GB, free: 99.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05679/1.408, allocations: 32.15 MB / 0.544 GB, free: 74.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004748/1.413, allocations: 1.941 MB / 0.5459 GB, free: 72.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002471/1.415, allocations: 0.9923 MB / 0.5469 GB, free: 72.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/1.416, allocations: 183.5 kB / 0.547 GB, free: 72.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/1.416, allocations: 45.44 kB / 0.5471 GB, free: 72.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=100): time 5.35e-06/1.416, allocations: 3.938 kB / 0.5471 GB, free: 72.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=112): time 0.01815/1.434, allocations: 6.282 MB / 0.5532 GB, free: 68.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/1.434, allocations: 144.8 kB / 0.5534 GB, free: 68.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00584/1.44, allocations: 2.17 MB / 0.5555 GB, free: 66.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003893/1.44, allocations: 25.7 kB / 0.5555 GB, free: 66.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002999/1.443, allocations: 2.165 MB / 0.5576 GB, free: 64.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001089/1.444, allocations: 445.6 kB / 0.558 GB, free: 64.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007278/1.445, allocations: 0 / 0.558 GB, free: 64.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000742/1.446, allocations: 0.544 MB / 0.5586 GB, free: 63.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004889/1.451, allocations: 1.309 MB / 0.5599 GB, free: 62.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004829/1.456, allocations: 4.247 MB / 0.564 GB, free: 57.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005024/1.461, allocations: 2.35 MB / 0.5663 GB, free: 55.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.786e-05/1.461, allocations: 32 kB / 0.5663 GB, free: 55.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=596) (initialization): time 0.01303/1.474, allocations: 4.87 MB / 0.5711 GB, free: 50.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.321e-05/1.474, allocations: 52 kB / 0.5711 GB, free: 50.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/1.474, allocations: 108 kB / 0.5712 GB, free: 50.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/1.475, allocations: 152 kB / 0.5714 GB, free: 50.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006903/1.481, allocations: 1.126 MB / 0.5725 GB, free: 49.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001798/1.482, allocations: 211.2 kB / 0.5727 GB, free: 49.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005361/1.487, allocations: 207.5 kB / 0.5729 GB, free: 49.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/1.488, allocations: 293.2 kB / 0.5732 GB, free: 48.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * Number of states: 0 () * Number of discrete variables: 15 (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],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 (572): * Single equations (assignments): 569 * 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.0007782/1.489, allocations: 356.1 kB / 0.5735 GB, free: 48.56 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003808/1.493, allocations: 1.559 MB / 0.575 GB, free: 46.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000555/1.493, allocations: 217.2 kB / 0.5752 GB, free: 46.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003055/1.496, allocations: 1.137 MB / 0.5763 GB, free: 45.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.787e-05/1.497, allocations: 16 kB / 0.5764 GB, free: 45.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/1.497, allocations: 7.953 kB / 0.5764 GB, free: 45.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/1.497, allocations: 3.984 kB / 0.5764 GB, free: 45.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/1.507, allocations: 3.893 MB / 0.5802 GB, free: 41.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/1.507, allocations: 7.938 kB / 0.5802 GB, free: 41.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/1.509, allocations: 212.2 kB / 0.5804 GB, free: 41.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.056e-05/1.509, allocations: 12.47 kB / 0.5804 GB, free: 41.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/1.509, allocations: 8 kB / 0.5804 GB, free: 41.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.299e-05/1.509, allocations: 11.94 kB / 0.5804 GB, free: 41.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.347e-06/1.51, allocations: 8 kB / 0.5804 GB, free: 41.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003869/1.513, allocations: 2.436 MB / 0.5828 GB, free: 38.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.515, allocations: 433.9 kB / 0.5832 GB, free: 38.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005842/1.515, allocations: 11.98 kB / 0.5832 GB, free: 38.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/1.517, allocations: 59.91 kB / 0.5833 GB, free: 38.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/1.517, allocations: 67.81 kB / 0.5833 GB, free: 38.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/1.518, allocations: 36 kB / 0.5834 GB, free: 38.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003146/1.521, allocations: 1.428 MB / 0.5848 GB, free: 36.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.72e-07/1.521, allocations: 0 / 0.5848 GB, free: 36.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005449/1.526, allocations: 0.539 MB / 0.5853 GB, free: 36.12 MB / 426.7 MB 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.004752/1.531, allocations: 4.278 MB / 0.5895 GB, free: 31.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006573/1.538, allocations: 2.992 MB / 0.5924 GB, free: 28.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.538, allocations: 4 kB / 0.5924 GB, free: 28.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001544/1.539, allocations: 0.753 MB / 0.5931 GB, free: 27.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/1.541, allocations: 194.5 kB / 0.5933 GB, free: 27.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/1.559, allocations: 5.299 MB / 0.5985 GB, free: 22.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003935/1.563, allocations: 2.26 MB / 0.6007 GB, free: 20.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006603/1.57, allocations: 1.492 MB / 0.6022 GB, free: 18.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002886/1.573, allocations: 1.069 MB / 0.6032 GB, free: 17.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.422e-06/1.573, allocations: 0 / 0.6032 GB, free: 17.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1378/1.711, allocations: 44.09 MB / 0.6463 GB, free: 5.727 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/1.711, allocations: 116.3 kB / 0.6464 GB, free: 5.539 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.884/5.595, allocations: 4 kB / 0.6464 GB, free: 5.535 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat