Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.706/2.706, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.848e-05/2.879e-05, allocations: 4 kB / 299.6 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4266, allocations: 54.87 MB / 354.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2036/0.6303, allocations: 99.51 MB / 454 MB, free: 14.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.6307, allocations: 83.95 kB / 454 MB, free: 14.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7257/1.356, allocations: 70.41 MB / 0.5122 GB, free: 102.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.437e-06/1.356, allocations: 0 / 0.5122 GB, free: 102.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002032/1.357, allocations: 68.94 kB / 0.5122 GB, free: 102.3 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01332/1.37, allocations: 3.36 MB / 0.5155 GB, free: 100.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/1.37, allocations: 7.875 kB / 0.5155 GB, free: 100.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01779/1.388, allocations: 2.081 MB / 0.5175 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0159/1.404, allocations: 4.06 MB / 0.5215 GB, free: 99.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/1.404, allocations: 114.4 kB / 0.5216 GB, free: 99.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001366/1.405, allocations: 201.5 kB / 0.5218 GB, free: 99.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01236/1.418, allocations: 5.032 MB / 0.5267 GB, free: 98.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01877/1.437, allocations: 7.941 MB / 0.5345 GB, free: 91.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002221/1.437, allocations: 63.45 kB / 0.5345 GB, free: 91.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001142/1.438, allocations: 36 kB / 0.5346 GB, free: 91.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00192/1.44, allocations: 0.8681 MB / 0.5354 GB, free: 90.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05767/1.498, allocations: 40.95 MB / 0.5754 GB, free: 48.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004608/1.502, allocations: 2.477 MB / 0.5778 GB, free: 45.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002766/1.505, allocations: 1.369 MB / 0.5792 GB, free: 44.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005196/1.506, allocations: 326.7 kB / 0.5795 GB, free: 43.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/1.506, allocations: 51.06 kB / 0.5795 GB, free: 43.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 5.33e-06/1.506, allocations: 0 / 0.5795 GB, free: 43.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=130): time 0.04103/1.547, allocations: 11.25 MB / 0.5905 GB, free: 32.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/1.547, allocations: 196.5 kB / 0.5907 GB, free: 32.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006054/1.553, allocations: 2.789 MB / 0.5934 GB, free: 29.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003912/1.554, allocations: 25.7 kB / 0.5934 GB, free: 29.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002508/1.556, allocations: 2.768 MB / 0.5962 GB, free: 26.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008585/1.557, allocations: 0.517 MB / 0.5967 GB, free: 26.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005559/1.558, allocations: 0 / 0.5967 GB, free: 26.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000387/1.558, allocations: 0.5373 MB / 0.5972 GB, free: 25.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003914/1.562, allocations: 1.592 MB / 0.5987 GB, free: 23.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006311/1.568, allocations: 5.1 MB / 0.6037 GB, free: 17.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006435/1.575, allocations: 2.837 MB / 0.6065 GB, free: 14.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/1.575, allocations: 39.94 kB / 0.6065 GB, free: 14.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01706/1.592, allocations: 5.994 MB / 0.6124 GB, free: 8.199 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/1.592, allocations: 61.41 kB / 0.6124 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001636/1.592, allocations: 128 kB / 0.6126 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/1.593, allocations: 349.5 kB / 0.6129 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008949/1.602, allocations: 1.326 MB / 0.6142 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003219/1.606, allocations: 2.254 MB / 0.6164 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006064/1.612, allocations: 187.6 kB / 0.6166 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001123/1.613, allocations: 348 kB / 0.6169 GB, free: 3.457 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * 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 (686): * Single equations (assignments): 682 * 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.001008/1.614, allocations: 424.9 kB / 0.6173 GB, free: 3.031 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008916/1.623, allocations: 2.632 MB / 0.6199 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008968/1.624, allocations: 292.3 kB / 0.6202 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009611/1.633, allocations: 2.247 MB / 0.6223 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-05/1.633, allocations: 16.47 kB / 0.6224 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/1.633, allocations: 4 kB / 0.6224 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.672e-05/1.634, allocations: 3.984 kB / 0.6224 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02174/1.655, allocations: 5.611 MB / 0.6279 GB, free: 8.156 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.378e-05/1.655, allocations: 3.984 kB / 0.6279 GB, free: 8.152 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001965/1.657, allocations: 175.7 kB / 0.628 GB, free: 7.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004653/1.662, allocations: 0.7108 MB / 0.6287 GB, free: 7.266 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002756/1.662, allocations: 8 kB / 0.6287 GB, free: 7.258 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/1.673, allocations: 4.301 MB / 0.6329 GB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/1.673, allocations: 3.938 kB / 0.6329 GB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/1.687, allocations: 4.381 MB / 0.6372 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00202/1.689, allocations: 0.5012 MB / 0.6377 GB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007629/1.69, allocations: 7.984 kB / 0.6377 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/1.692, allocations: 51.91 kB / 0.6378 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003927/1.693, allocations: 72.36 kB / 0.6378 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/1.693, allocations: 40.06 kB / 0.6379 GB, free: 13.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004939/1.698, allocations: 1.845 MB / 0.6397 GB, free: 11.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.81e-07/1.698, allocations: 0 / 0.6397 GB, free: 11.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006921/1.705, allocations: 0.703 MB / 0.6403 GB, free: 11.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (97): * Single equations (assignments): 93 * 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.01415/1.719, allocations: 5.368 MB / 0.6456 GB, free: 5.699 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01065/1.73, allocations: 3.758 MB / 0.6493 GB, free: 1.969 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.73, allocations: 0 / 0.6493 GB, free: 1.969 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002992/1.733, allocations: 1.082 MB / 0.6503 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/1.736, allocations: 298.8 kB / 0.6506 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02657/1.763, allocations: 6.824 MB / 0.6573 GB, free: 9.703 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006522/1.769, allocations: 2.827 MB / 0.66 GB, free: 6.855 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01099/1.78, allocations: 1.717 MB / 0.6617 GB, free: 5.133 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005939/1.786, allocations: 1.503 MB / 0.6632 GB, free: 3.629 MB / 474.7 MB Notification: Performance of SimCode: time 2.314e-06/1.786, allocations: 0 / 0.6632 GB, free: 3.629 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.592/2.378, allocations: 59.3 MB / 0.7211 GB, free: 111.2 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002331/2.379, allocations: 149.1 kB / 0.7212 GB, free: 111 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.323/7.702, allocations: 4 kB / 0.7212 GB, free: 111 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat