Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.688/2.688, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.321e-05/4.317e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4488, allocations: 54.86 MB / 359.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2167/0.6656, allocations: 100.2 MB / 460.1 MB, free: 12.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003765/0.6661, allocations: 77.27 kB / 460.1 MB, free: 12.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3946/1.061, allocations: 71.8 MB / 0.5195 GB, free: 4.266 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.036e-06/1.061, allocations: 0 / 0.5195 GB, free: 4.266 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003199/1.061, allocations: 71.98 kB / 0.5196 GB, free: 4.195 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01934/1.08, allocations: 3.363 MB / 0.5228 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.781e-05/1.081, allocations: 8.031 kB / 0.5228 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004189/1.085, allocations: 0.6388 MB / 0.5235 GB, free: 120 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3707/1.456, allocations: 2.08 MB / 0.5255 GB, free: 105.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01718/1.473, allocations: 4.054 MB / 0.5295 GB, free: 105.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000375/1.473, allocations: 260.1 kB / 0.5297 GB, free: 105.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002102/1.475, allocations: 344.2 kB / 0.53 GB, free: 105.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02813/1.504, allocations: 8.765 MB / 0.5386 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003153/1.504, allocations: 65.53 kB / 0.5387 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001524/1.505, allocations: 171 kB / 0.5388 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002304/1.508, allocations: 0.8654 MB / 0.5397 GB, free: 102.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02928/1.537, allocations: 6.898 MB / 0.5464 GB, free: 102.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07098/1.608, allocations: 42.59 MB / 0.588 GB, free: 71.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/1.62, allocations: 3.149 MB / 0.5911 GB, free: 69.87 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003068/1.623, allocations: 1.415 MB / 0.5924 GB, free: 69.25 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01275/1.636, allocations: 4.085 MB / 0.5964 GB, free: 66.87 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.652e-05/1.636, allocations: 49.59 kB / 0.5965 GB, free: 66.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=114): time 7.934e-06/1.636, allocations: 0 / 0.5965 GB, free: 66.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=122): time 0.06236/1.699, allocations: 9.388 MB / 0.6057 GB, free: 62.89 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.429e-05/1.699, allocations: 168.6 kB / 0.6058 GB, free: 62.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01212/1.711, allocations: 3.28 MB / 0.609 GB, free: 61.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004292/1.712, allocations: 43.45 kB / 0.6091 GB, free: 61.43 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003602/1.715, allocations: 2.732 MB / 0.6117 GB, free: 59.31 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001127/1.716, allocations: 0.4924 MB / 0.6122 GB, free: 58.97 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009111/1.717, allocations: 110.5 kB / 0.6123 GB, free: 58.88 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006042/1.718, allocations: 0.5363 MB / 0.6128 GB, free: 58.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006013/1.724, allocations: 1.623 MB / 0.6144 GB, free: 57.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00761/1.732, allocations: 4.991 MB / 0.6193 GB, free: 52.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006605/1.738, allocations: 2.855 MB / 0.6221 GB, free: 51.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000131/1.739, allocations: 36 kB / 0.6221 GB, free: 51.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01695/1.756, allocations: 6.214 MB / 0.6282 GB, free: 45.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.566e-05/1.756, allocations: 56 kB / 0.6282 GB, free: 45.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001518/1.756, allocations: 127.7 kB / 0.6284 GB, free: 45.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009591/1.757, allocations: 341.6 kB / 0.6287 GB, free: 45.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007782/1.765, allocations: 1.275 MB / 0.6299 GB, free: 44.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/1.768, allocations: 2.332 MB / 0.6322 GB, free: 41.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005868/1.774, allocations: 284.5 kB / 0.6325 GB, free: 41.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00084/1.775, allocations: 327.8 kB / 0.6328 GB, free: 41.36 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (656): * Single equations (assignments): 652 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009239/1.776, allocations: 0.5174 MB / 0.6333 GB, free: 40.83 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006694/1.776, allocations: 308 kB / 0.6336 GB, free: 40.53 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007059/1.783, allocations: 2.323 MB / 0.6359 GB, free: 38.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.012e-05/1.783, allocations: 16 kB / 0.6359 GB, free: 38.71 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/1.783, allocations: 0 / 0.6359 GB, free: 38.71 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/1.783, allocations: 7.938 kB / 0.6359 GB, free: 38.71 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01634/1.8, allocations: 5.818 MB / 0.6416 GB, free: 34.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/1.8, allocations: 0 / 0.6416 GB, free: 34.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/1.801, allocations: 171.5 kB / 0.6417 GB, free: 33.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003675/1.805, allocations: 0.7031 MB / 0.6424 GB, free: 33.49 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/1.805, allocations: 28.92 kB / 0.6424 GB, free: 33.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008151/1.813, allocations: 4.433 MB / 0.6468 GB, free: 29.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.813, allocations: 112 / 0.6468 GB, free: 29.46 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.824, allocations: 4.364 MB / 0.651 GB, free: 25.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/1.826, allocations: 0.5293 MB / 0.6516 GB, free: 25.17 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005053/1.826, allocations: 20.88 kB / 0.6516 GB, free: 25.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/1.828, allocations: 70.5 kB / 0.6516 GB, free: 25.11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/1.828, allocations: 64.06 kB / 0.6517 GB, free: 25.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/1.829, allocations: 40.33 kB / 0.6517 GB, free: 25.03 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004597/1.833, allocations: 2.268 MB / 0.654 GB, free: 23.04 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.833, allocations: 0 / 0.654 GB, free: 23.04 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005878/1.839, allocations: 0.8186 MB / 0.6548 GB, free: 22.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 86 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0104/1.85, allocations: 5.282 MB / 0.6599 GB, free: 17.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008136/1.858, allocations: 3.735 MB / 0.6636 GB, free: 13.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.858, allocations: 0 / 0.6636 GB, free: 13.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002062/1.86, allocations: 1.052 MB / 0.6646 GB, free: 12.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/1.863, allocations: 356.8 kB / 0.6649 GB, free: 12.22 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02047/1.883, allocations: 6.941 MB / 0.6717 GB, free: 5.246 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003918/1.887, allocations: 2.83 MB / 0.6745 GB, free: 2.406 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007215/1.894, allocations: 1.651 MB / 0.6761 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00419/1.899, allocations: 1.521 MB / 0.6776 GB, free: 15.29 MB / 474.7 MB Notification: Performance of SimCode: time 1.884e-06/1.899, allocations: 4 kB / 0.6776 GB, free: 15.28 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5205/2.419, allocations: 64.02 MB / 0.7401 GB, free: 117.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002846/2.42, allocations: 183.4 kB / 0.7403 GB, free: 117.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.872/7.291, allocations: 0 / 0.7403 GB, free: 117.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat