Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.93/1.93, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.281e-05/4.293e-05, allocations: 11.98 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09763, allocations: 44.5 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4663/0.564, allocations: 84.71 MB / 384.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.5644, allocations: 83.22 kB / 384.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2335/0.7979, allocations: 56.75 MB / 441.5 MB, free: 5.102 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7979, allocations: 3.938 kB / 441.5 MB, free: 5.098 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001244/0.7981, allocations: 44 kB / 441.6 MB, free: 5.055 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 931 * Number of variables: 931 Notification: Performance of Generate backend data structure: time 0.009873/0.808, allocations: 2.524 MB / 444.1 MB, free: 2.676 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.8081, allocations: 16.03 kB / 444.1 MB, free: 2.66 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001751/0.8098, allocations: 484.2 kB / 444.6 MB, free: 2.367 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01589/0.8257, allocations: 1.967 MB / 446.6 MB, free: 420 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01349/0.8393, allocations: 3.26 MB / 449.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/0.8396, allocations: 181 kB / 450 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001598/0.8412, allocations: 237.5 kB / 450.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01902/0.8603, allocations: 6.699 MB / 456.9 MB, free: 6.812 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.8605, allocations: 43.59 kB / 457 MB, free: 6.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007367/0.8612, allocations: 126.7 kB / 457.1 MB, free: 6.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001748/0.863, allocations: 0.7072 MB / 457.8 MB, free: 5.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01814/0.8811, allocations: 5.567 MB / 463.4 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06982/0.951, allocations: 33.3 MB / 496.7 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007871/0.959, allocations: 2.27 MB / 498.9 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002535/0.9616, allocations: 1.011 MB / 499.9 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.783e-05/0.9617, allocations: 7.438 kB / 500 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.9617, allocations: 46.31 kB / 500 MB, free: 10.56 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 4.058e-06/0.9618, allocations: 8 kB / 0.4883 GB, free: 10.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=106): time 0.02974/0.9915, allocations: 7.005 MB / 0.4951 GB, free: 3.422 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.9917, allocations: 136.5 kB / 0.4953 GB, free: 3.258 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005949/0.9976, allocations: 2.489 MB / 0.4977 GB, free: 0.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003059/0.998, allocations: 37.7 kB / 0.4977 GB, free: 0.707 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002533/1.001, allocations: 2.066 MB / 0.4997 GB, free: 14.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008066/1.001, allocations: 436.7 kB / 0.5002 GB, free: 14.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004714/1.002, allocations: 88 kB / 0.5002 GB, free: 14.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004374/1.002, allocations: 0.4917 MB / 0.5007 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003671/1.006, allocations: 1.348 MB / 0.502 GB, free: 12.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00692/1.013, allocations: 4.108 MB / 0.5061 GB, free: 6.766 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006039/1.019, allocations: 2.359 MB / 0.5084 GB, free: 4.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-05/1.019, allocations: 32 kB / 0.5084 GB, free: 4.379 MB / 410.7 MB Notification: Performance of matching and sorting (n=564) (initialization): time 0.2918/1.311, allocations: 5.662 MB / 0.5139 GB, free: 106.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/1.311, allocations: 48.31 kB / 0.514 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002058/1.311, allocations: 99.47 kB / 0.5141 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004246/1.316, allocations: 0.7951 MB / 0.5148 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006182/1.322, allocations: 0.9952 MB / 0.5158 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008969/1.331, allocations: 4.093 MB / 0.5198 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005299/1.336, allocations: 283.6 kB / 0.5201 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/1.338, allocations: 279 kB / 0.5203 GB, free: 105.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 15 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[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 (528): * Single equations (assignments): 524 * 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 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001208/1.339, allocations: 440 kB / 0.5208 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006582/1.339, allocations: 231.1 kB / 0.521 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006873/1.346, allocations: 1.844 MB / 0.5228 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.334e-05/1.346, allocations: 11.84 kB / 0.5228 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/1.346, allocations: 3.969 kB / 0.5228 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.993e-05/1.346, allocations: 7.859 kB / 0.5228 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/1.362, allocations: 4.787 MB / 0.5275 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/1.362, allocations: 5.719 kB / 0.5275 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/1.363, allocations: 141.1 kB / 0.5276 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003475/1.367, allocations: 0.6402 MB / 0.5282 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002238/1.367, allocations: 18.95 kB / 0.5283 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007052/1.374, allocations: 3.623 MB / 0.5318 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.374, allocations: 0 / 0.5318 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009049/1.383, allocations: 3.746 MB / 0.5355 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/1.385, allocations: 449.7 kB / 0.5359 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005836/1.385, allocations: 21.42 kB / 0.5359 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/1.387, allocations: 75.12 kB / 0.536 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000317/1.388, allocations: 61.02 kB / 0.536 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.388, allocations: 30.73 kB / 0.5361 GB, free: 102.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003766/1.392, allocations: 1.708 MB / 0.5377 GB, free: 102.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.51e-07/1.392, allocations: 0 / 0.5377 GB, free: 102.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005232/1.397, allocations: 0.6539 MB / 0.5384 GB, free: 102.7 MB / 410.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 (75): * Single equations (assignments): 71 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00985/1.407, allocations: 4.682 MB / 0.5429 GB, free: 101.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007452/1.414, allocations: 3.186 MB / 0.5461 GB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.414, allocations: 2.125 kB / 0.5461 GB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001949/1.416, allocations: 0.9162 MB / 0.5469 GB, free: 100.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/1.418, allocations: 226.8 kB / 0.5472 GB, free: 100.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/1.435, allocations: 5.233 MB / 0.5523 GB, free: 98.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00378/1.439, allocations: 2.234 MB / 0.5545 GB, free: 97.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006163/1.446, allocations: 1.391 MB / 0.5558 GB, free: 97.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002501/1.448, allocations: 1.048 MB / 0.5568 GB, free: 96.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/1.448, allocations: 0 / 0.5568 GB, free: 96.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.138/1.586, allocations: 48.25 MB / 0.604 GB, free: 63.91 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/1.586, allocations: 175 kB / 0.6041 GB, free: 63.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.132/5.719, allocations: 3.375 kB / 0.6041 GB, free: 63.69 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat does not exist to compare? outputFormat=mat