Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.713/1.713, allocations: 171.2 MB / 183.3 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.309e-05/4.322e-05, allocations: 4 kB / 225.1 MB, free: 2.215 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.307, allocations: 38.76 MB / 263.9 MB, free: 9.801 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.4437, allocations: 78.98 MB / 342.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.4441, allocations: 83.95 kB / 342.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4983/0.9424, allocations: 56.74 MB / 399.7 MB, free: 73.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.9424, allocations: 0 / 399.7 MB, free: 73.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001039/0.9425, allocations: 44 kB / 399.7 MB, free: 73.45 MB / 314.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.008318/0.9508, allocations: 2.532 MB / 402.2 MB, free: 70.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.9509, allocations: 12.03 kB / 402.2 MB, free: 70.87 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001488/0.9524, allocations: 492.5 kB / 402.7 MB, free: 70.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01493/0.9674, allocations: 1.962 MB / 404.7 MB, free: 68.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/0.9793, allocations: 3.271 MB / 408 MB, free: 65.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.9795, allocations: 179.5 kB / 408.1 MB, free: 65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.9806, allocations: 230.3 kB / 408.4 MB, free: 64.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01527/0.9958, allocations: 6.732 MB / 415.1 MB, free: 57.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001685/0.9961, allocations: 51.56 kB / 415.1 MB, free: 57.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007159/0.9968, allocations: 124.3 kB / 415.3 MB, free: 57.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00142/0.9982, allocations: 0.7068 MB / 416 MB, free: 56.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/1.013, allocations: 5.685 MB / 421.7 MB, free: 50.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0412/1.054, allocations: 33.28 MB / 454.9 MB, free: 16.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006781/1.061, allocations: 2.282 MB / 457.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/1.063, allocations: 1.007 MB / 458.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.815e-05/1.063, allocations: 16.61 kB / 458.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/1.063, allocations: 50.48 kB / 458.3 MB, free: 12.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=98): time 3.627e-06/1.063, allocations: 0 / 458.3 MB, free: 12.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.02578/1.089, allocations: 7.008 MB / 465.3 MB, free: 5.699 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/1.089, allocations: 144.4 kB / 465.4 MB, free: 5.527 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004706/1.094, allocations: 2.478 MB / 467.9 MB, free: 3.031 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002721/1.094, allocations: 37.7 kB / 468 MB, free: 2.988 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001352/1.095, allocations: 2.067 MB / 470 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004775/1.096, allocations: 438.6 kB / 470.4 MB, free: 468 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/1.096, allocations: 88.19 kB / 470.5 MB, free: 380 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003103/1.096, allocations: 495.5 kB / 471 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003839/1.1, allocations: 1.355 MB / 472.4 MB, free: 14.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006404/1.107, allocations: 4.132 MB / 476.5 MB, free: 8.961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005979/1.113, allocations: 2.362 MB / 478.9 MB, free: 6.602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.609e-05/1.113, allocations: 28 kB / 478.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=564) (initialization): time 0.01859/1.131, allocations: 5.939 MB / 484.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.637e-05/1.132, allocations: 48 kB / 484.9 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001485/1.132, allocations: 107.9 kB / 485 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004144/1.136, allocations: 0.805 MB / 485.8 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005946/1.142, allocations: 0.9942 MB / 486.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009261/1.151, allocations: 4.091 MB / 490.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00506/1.156, allocations: 283.5 kB / 491.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000866/1.157, allocations: 280 kB / 491.4 MB, free: 9.887 MB / 346.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.0009006/1.158, allocations: 442.5 kB / 491.9 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006081/1.159, allocations: 229 kB / 492.1 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006831/1.166, allocations: 1.845 MB / 493.9 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.586e-05/1.166, allocations: 12 kB / 493.9 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/1.166, allocations: 4 kB / 493.9 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-05/1.166, allocations: 7.969 kB / 493.9 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01519/1.181, allocations: 4.797 MB / 498.7 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/1.181, allocations: 0 / 498.7 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/1.182, allocations: 139.8 kB / 498.9 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003744/1.186, allocations: 0.6405 MB / 499.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001601/1.186, allocations: 23.98 kB / 499.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2427/1.429, allocations: 3.632 MB / 0.4914 GB, free: 93.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.429, allocations: 3.688 kB / 0.4914 GB, free: 93.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00905/1.438, allocations: 3.754 MB / 0.4951 GB, free: 92.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.439, allocations: 443.7 kB / 0.4955 GB, free: 92.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/1.44, allocations: 14.84 kB / 0.4955 GB, free: 92.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/1.442, allocations: 74.39 kB / 0.4956 GB, free: 92.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/1.442, allocations: 57.05 kB / 0.4956 GB, free: 92.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/1.442, allocations: 33.08 kB / 0.4956 GB, free: 92.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00356/1.446, allocations: 1.712 MB / 0.4973 GB, free: 92.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.446, allocations: 0 / 0.4973 GB, free: 92.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004423/1.45, allocations: 0.6414 MB / 0.4979 GB, free: 92.41 MB / 346.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.009544/1.46, allocations: 4.686 MB / 0.5025 GB, free: 91.06 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007376/1.467, allocations: 3.327 MB / 0.5058 GB, free: 90.92 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.467, allocations: 0 / 0.5058 GB, free: 90.92 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001914/1.469, allocations: 0.9176 MB / 0.5067 GB, free: 90.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/1.471, allocations: 231.9 kB / 0.5069 GB, free: 90.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/1.486, allocations: 5.244 MB / 0.512 GB, free: 88.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002931/1.489, allocations: 2.231 MB / 0.5142 GB, free: 87.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005551/1.495, allocations: 1.391 MB / 0.5155 GB, free: 87.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002344/1.497, allocations: 1.046 MB / 0.5166 GB, free: 86.72 MB / 346.7 MB Notification: Performance of SimCode: time 1.643e-06/1.497, allocations: 0 / 0.5166 GB, free: 86.72 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1086/1.606, allocations: 48.66 MB / 0.5641 GB, free: 46.66 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/1.606, allocations: 188 kB / 0.5643 GB, free: 46.43 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.85/5.456, allocations: 0 / 0.5643 GB, free: 46.43 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat does not exist to compare? outputFormat=mat