Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.141/2.141, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.937e-05/4.961e-05, allocations: 4 kB / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4247/0.5333, allocations: 90.48 MB / 407.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/0.5337, allocations: 90.12 kB / 407.6 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.255/0.7887, allocations: 57.66 MB / 465.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.7888, allocations: 0 / 465.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001339/0.7889, allocations: 48 kB / 465.3 MB, free: 10.87 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.009936/0.7989, allocations: 2.541 MB / 467.8 MB, free: 8.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.799, allocations: 12.03 kB / 467.9 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001952/0.8009, allocations: 489.8 kB / 468.3 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/0.8171, allocations: 1.97 MB / 470.3 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01354/0.8307, allocations: 3.29 MB / 473.6 MB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004087/0.8312, allocations: 176.6 kB / 473.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001993/0.8332, allocations: 239.9 kB / 474 MB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01935/0.8526, allocations: 6.707 MB / 480.7 MB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001597/0.8528, allocations: 43.53 kB / 480.7 MB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008134/0.8536, allocations: 123.9 kB / 480.9 MB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001758/0.8554, allocations: 0.7189 MB / 481.6 MB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/0.8723, allocations: 5.552 MB / 487.1 MB, free: 4.098 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05422/0.9265, allocations: 33.41 MB / 0.5083 GB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3077/1.234, allocations: 2.265 MB / 0.5106 GB, free: 119.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002562/1.237, allocations: 1.008 MB / 0.5115 GB, free: 119.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/1.237, allocations: 13.61 kB / 0.5116 GB, free: 119.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/1.237, allocations: 47.06 kB / 0.5116 GB, free: 119.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 5.27e-06/1.237, allocations: 0 / 0.5116 GB, free: 119.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=106): time 0.02889/1.266, allocations: 7.034 MB / 0.5185 GB, free: 117.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/1.266, allocations: 144 kB / 0.5186 GB, free: 117.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006042/1.272, allocations: 2.499 MB / 0.521 GB, free: 117.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002823/1.273, allocations: 41.2 kB / 0.5211 GB, free: 117.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001788/1.274, allocations: 2.078 MB / 0.5231 GB, free: 116.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006623/1.275, allocations: 442 kB / 0.5235 GB, free: 116 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003343/1.275, allocations: 84.78 kB / 0.5236 GB, free: 116 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002778/1.276, allocations: 498.2 kB / 0.5241 GB, free: 115.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003353/1.279, allocations: 1.359 MB / 0.5254 GB, free: 115.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00467/1.284, allocations: 4.129 MB / 0.5295 GB, free: 112 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004799/1.289, allocations: 2.364 MB / 0.5318 GB, free: 112 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.756e-05/1.289, allocations: 29.03 kB / 0.5318 GB, free: 112 MB / 426.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01601/1.305, allocations: 5.698 MB / 0.5374 GB, free: 111.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.621e-05/1.305, allocations: 49 kB / 0.5374 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/1.305, allocations: 98.78 kB / 0.5375 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003816/1.309, allocations: 0.8106 MB / 0.5383 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005783/1.315, allocations: 1 MB / 0.5393 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008007/1.323, allocations: 4.107 MB / 0.5433 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005486/1.328, allocations: 283.3 kB / 0.5435 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008715/1.329, allocations: 271.5 kB / 0.5438 GB, free: 109.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 457 * Number of states: 0 () * Number of discrete variables: 18 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (531): * Single equations (assignments): 527 * 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.0008412/1.33, allocations: 441.6 kB / 0.5442 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006766/1.331, allocations: 229.2 kB / 0.5444 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006071/1.337, allocations: 1.853 MB / 0.5463 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.336e-05/1.337, allocations: 13.03 kB / 0.5463 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/1.337, allocations: 7.297 kB / 0.5463 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-05/1.337, allocations: 3.797 kB / 0.5463 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/1.351, allocations: 4.788 MB / 0.5509 GB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/1.351, allocations: 3.312 kB / 0.551 GB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.353, allocations: 137.7 kB / 0.5511 GB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004715/1.358, allocations: 0.6455 MB / 0.5517 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002717/1.358, allocations: 14.69 kB / 0.5517 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009962/1.368, allocations: 3.631 MB / 0.5553 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/1.371, allocations: 3.281 kB / 0.5553 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03037/1.402, allocations: 3.765 MB / 0.559 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001769/1.404, allocations: 444.9 kB / 0.5594 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005182/1.404, allocations: 18.95 kB / 0.5594 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002236/1.407, allocations: 68.27 kB / 0.5595 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/1.407, allocations: 52.52 kB / 0.5595 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/1.407, allocations: 30.47 kB / 0.5595 GB, free: 102.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01775/1.425, allocations: 1.736 MB / 0.5612 GB, free: 102.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.082e-06/1.425, allocations: 0 / 0.5612 GB, free: 102.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01057/1.435, allocations: 0.6451 MB / 0.5619 GB, free: 102.2 MB / 426.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.02044/1.456, allocations: 4.692 MB / 0.5664 GB, free: 99.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01524/1.471, allocations: 3.192 MB / 0.5696 GB, free: 97.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.471, allocations: 0 / 0.5696 GB, free: 97.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001988/1.473, allocations: 0.9106 MB / 0.5705 GB, free: 96.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/1.475, allocations: 236.9 kB / 0.5707 GB, free: 96.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/1.492, allocations: 5.263 MB / 0.5758 GB, free: 92.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003197/1.495, allocations: 2.246 MB / 0.578 GB, free: 90.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005557/1.5, allocations: 1.401 MB / 0.5794 GB, free: 89.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002122/1.503, allocations: 1.052 MB / 0.5804 GB, free: 88.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/1.503, allocations: 0 / 0.5804 GB, free: 88.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/1.612, allocations: 48.6 MB / 0.6279 GB, free: 43.89 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/1.612, allocations: 183 kB / 0.628 GB, free: 43.67 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.081/5.693, allocations: 12 kB / 0.6281 GB, free: 43.66 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat does not exist to compare? outputFormat=mat