Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.134/2.134, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.228e-05/4.237e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.12, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5021/0.6221, allocations: 92.96 MB / 414.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.6225, allocations: 75.95 kB / 414.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8731/1.496, allocations: 116.6 MB / 0.5191 GB, free: 97.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.686e-06/1.496, allocations: 0 / 0.5191 GB, free: 97.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003369/1.496, allocations: 90.41 kB / 0.5191 GB, free: 97.28 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: 1910 * Number of variables: 1910 Notification: Performance of Generate backend data structure: time 0.0197/1.516, allocations: 4.452 MB / 0.5235 GB, free: 95.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.516, allocations: 15.5 kB / 0.5235 GB, free: 95.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004655/1.52, allocations: 0.952 MB / 0.5244 GB, free: 95.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02748/1.548, allocations: 3.656 MB / 0.528 GB, free: 94.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01751/1.566, allocations: 4.804 MB / 0.5327 GB, free: 94.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004861/1.566, allocations: 378.1 kB / 0.5331 GB, free: 94.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003194/1.569, allocations: 496.1 kB / 0.5335 GB, free: 94.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03705/1.606, allocations: 12.03 MB / 0.5453 GB, free: 92.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003133/1.607, allocations: 38.31 kB / 0.5453 GB, free: 92.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002987/1.61, allocations: 227.4 kB / 0.5455 GB, free: 92.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003369/1.613, allocations: 1.392 MB / 0.5469 GB, free: 91.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03224/1.645, allocations: 11.01 MB / 0.5576 GB, free: 88.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08852/1.734, allocations: 42.73 MB / 0.5994 GB, free: 54.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01465/1.749, allocations: 4.677 MB / 0.6039 GB, free: 50.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00518/1.754, allocations: 2.413 MB / 0.6063 GB, free: 47.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/1.756, allocations: 1.323 MB / 0.6076 GB, free: 46.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/1.756, allocations: 52.56 kB / 0.6076 GB, free: 46.22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 6.682e-06/1.756, allocations: 0 / 0.6076 GB, free: 46.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=268): time 0.06997/1.826, allocations: 16.36 MB / 0.6236 GB, free: 29.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/1.826, allocations: 99.11 kB / 0.6237 GB, free: 29.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006785/1.833, allocations: 2.849 MB / 0.6265 GB, free: 26.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006132/1.833, allocations: 61.7 kB / 0.6265 GB, free: 26.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002793/1.836, allocations: 3.263 MB / 0.6297 GB, free: 23.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001536/1.838, allocations: 0.974 MB / 0.6307 GB, free: 22.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007893/1.839, allocations: 120 kB / 0.6308 GB, free: 22.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004943/1.839, allocations: 0.5703 MB / 0.6314 GB, free: 21.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006142/1.845, allocations: 2.413 MB / 0.6337 GB, free: 19.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009005/1.854, allocations: 5.722 MB / 0.6393 GB, free: 11.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008335/1.863, allocations: 3.761 MB / 0.643 GB, free: 8.211 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001078/1.863, allocations: 36 kB / 0.643 GB, free: 8.176 MB / 426.7 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.3772/2.24, allocations: 8.641 MB / 0.6514 GB, free: 81.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/2.24, allocations: 55.47 kB / 0.6515 GB, free: 81.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002388/2.241, allocations: 119.2 kB / 0.6516 GB, free: 81.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006415/2.247, allocations: 1.062 MB / 0.6527 GB, free: 81.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01389/2.261, allocations: 1.382 MB / 0.654 GB, free: 81.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/2.275, allocations: 5.078 MB / 0.659 GB, free: 80.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006678/2.282, allocations: 323 kB / 0.6593 GB, free: 80.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001678/2.283, allocations: 352.9 kB / 0.6596 GB, free: 80.44 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 39 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (743): * Single equations (assignments): 736 * Array equations: 6 * 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,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002346/2.286, allocations: 0.5593 MB / 0.6602 GB, free: 80.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009094/2.287, allocations: 321.6 kB / 0.6605 GB, free: 80.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01769/2.304, allocations: 5.306 MB / 0.6656 GB, free: 80.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001425/2.305, allocations: 50.34 kB / 0.6657 GB, free: 80.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.458e-05/2.305, allocations: 3.625 kB / 0.6657 GB, free: 80.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.317e-05/2.305, allocations: 15.97 kB / 0.6657 GB, free: 80.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03877/2.343, allocations: 13.24 MB / 0.6786 GB, free: 79.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.815e-05/2.344, allocations: 9.875 kB / 0.6787 GB, free: 79.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003774/2.347, allocations: 427.1 kB / 0.6791 GB, free: 79.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005049/2.352, allocations: 0.8879 MB / 0.6799 GB, free: 79.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006225/2.353, allocations: 57.19 kB / 0.68 GB, free: 79.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009429/2.363, allocations: 4.422 MB / 0.6843 GB, free: 77.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.666e-05/2.363, allocations: 20.83 kB / 0.6843 GB, free: 77.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02019/2.383, allocations: 9.029 MB / 0.6931 GB, free: 74.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002622/2.385, allocations: 0.7335 MB / 0.6939 GB, free: 74.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/2.387, allocations: 57.75 kB / 0.6939 GB, free: 74.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003218/2.39, allocations: 138.3 kB / 0.694 GB, free: 74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007998/2.391, allocations: 169.3 kB / 0.6942 GB, free: 73.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002796/2.391, allocations: 79.34 kB / 0.6943 GB, free: 73.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004784/2.396, allocations: 1.948 MB / 0.6962 GB, free: 73.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.61e-07/2.396, allocations: 2.219 kB / 0.6962 GB, free: 73.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007799/2.404, allocations: 1.118 MB / 0.6973 GB, free: 73.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (209): * Single equations (assignments): 202 * Array equations: 6 * 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,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02118/2.425, allocations: 12.54 MB / 0.7095 GB, free: 65.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01341/2.438, allocations: 5.745 MB / 0.7151 GB, free: 63.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/2.438, allocations: 3.969 kB / 0.7151 GB, free: 63.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005032/2.443, allocations: 2.188 MB / 0.7173 GB, free: 63.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003163/2.447, allocations: 388.5 kB / 0.7176 GB, free: 62.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03406/2.481, allocations: 11.39 MB / 0.7288 GB, free: 58.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008469/2.489, allocations: 3.927 MB / 0.7326 GB, free: 57.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009971/2.499, allocations: 2.202 MB / 0.7348 GB, free: 55.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005673/2.505, allocations: 2.225 MB / 0.7369 GB, free: 53.87 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/2.505, allocations: 0 / 0.7369 GB, free: 53.87 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4881/2.993, allocations: 78.21 MB / 0.8133 GB, free: 72.44 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/2.994, allocations: 162.5 kB / 0.8135 GB, free: 72.22 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.982/7.976, allocations: 2.625 kB / 0.8135 GB, free: 72.22 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar_res.mat does not exist to compare? outputFormat=mat