Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.921/1.921, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.645e-05, allocations: 0 / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1105, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.5487, allocations: 92.82 MB / 414.7 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.549, allocations: 67.97 kB / 414.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7097/1.259, allocations: 92.37 MB / 0.4952 GB, free: 93.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.259, allocations: 0 / 0.4952 GB, free: 93.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004082/1.259, allocations: 83.34 kB / 0.4953 GB, free: 93.54 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.02/1.279, allocations: 4.719 MB / 0.4999 GB, free: 92.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/1.279, allocations: 10.19 kB / 0.4999 GB, free: 92.76 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003693/1.283, allocations: 0.7954 MB / 0.5007 GB, free: 92.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01862/1.302, allocations: 2.237 MB / 0.5029 GB, free: 92.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02144/1.323, allocations: 5.047 MB / 0.5078 GB, free: 91.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005591/1.324, allocations: 330.8 kB / 0.5081 GB, free: 91.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002693/1.326, allocations: 435.7 kB / 0.5086 GB, free: 91.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03668/1.363, allocations: 11.42 MB / 0.5197 GB, free: 89.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002415/1.363, allocations: 67.11 kB / 0.5198 GB, free: 89.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002337/1.366, allocations: 209.7 kB / 0.52 GB, free: 89.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002586/1.368, allocations: 1.149 MB / 0.5211 GB, free: 89.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03819/1.407, allocations: 9.696 MB / 0.5306 GB, free: 89.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1277/1.534, allocations: 50.72 MB / 0.5801 GB, free: 53.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02276/1.557, allocations: 5.809 MB / 0.5858 GB, free: 51.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00585/1.563, allocations: 3.122 MB / 0.5888 GB, free: 49.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02059/1.584, allocations: 9.199 MB / 0.5978 GB, free: 44.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0179/1.602, allocations: 3.369 MB / 0.6011 GB, free: 42.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=209): time 7.894e-06/1.602, allocations: 6.922 kB / 0.6011 GB, free: 42.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.1721/1.774, allocations: 27.07 MB / 0.6275 GB, free: 20.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.774, allocations: 154.5 kB / 0.6277 GB, free: 20.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01203/1.786, allocations: 3.655 MB / 0.6312 GB, free: 16.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001074/1.787, allocations: 73.69 kB / 0.6313 GB, free: 16.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004143/1.791, allocations: 3.245 MB / 0.6345 GB, free: 13.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002214/1.794, allocations: 1.04 MB / 0.6355 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009725/1.795, allocations: 132 kB / 0.6356 GB, free: 12.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000555/1.795, allocations: 0.5908 MB / 0.6362 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01006/1.805, allocations: 3.234 MB / 0.6394 GB, free: 8.434 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01009/1.815, allocations: 6.79 MB / 0.646 GB, free: 15.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01267/1.828, allocations: 4.695 MB / 0.6506 GB, free: 11.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001027/1.828, allocations: 39.94 kB / 0.6506 GB, free: 11.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.3497/2.178, allocations: 12.02 MB / 0.6623 GB, free: 93.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002075/2.178, allocations: 91.19 kB / 0.6624 GB, free: 93.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003298/2.179, allocations: 125.6 kB / 0.6626 GB, free: 93.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01518/2.194, allocations: 2.674 MB / 0.6652 GB, free: 93.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01115/2.205, allocations: 1.47 MB / 0.6666 GB, free: 93.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04721/2.252, allocations: 21.52 MB / 0.6876 GB, free: 88.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008876/2.261, allocations: 431.9 kB / 0.688 GB, free: 88.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001996/2.263, allocations: 396 kB / 0.6884 GB, free: 88.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 574 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,rod3.color[3],rod3.color[2],rod3.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.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 (762): * Single equations (assignments): 754 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.002017/2.265, allocations: 0.5914 MB / 0.689 GB, free: 87.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/2.267, allocations: 398.9 kB / 0.6894 GB, free: 87.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02422/2.291, allocations: 7.843 MB / 0.697 GB, free: 87.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.583e-05/2.291, allocations: 32.91 kB / 0.6971 GB, free: 87.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.822e-05/2.291, allocations: 9.812 kB / 0.6971 GB, free: 87.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.136e-05/2.291, allocations: 17.62 kB / 0.6971 GB, free: 87.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04299/2.334, allocations: 14.53 MB / 0.7113 GB, free: 82.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.337e-05/2.334, allocations: 3.688 kB / 0.7113 GB, free: 82.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004349/2.339, allocations: 399.3 kB / 0.7117 GB, free: 82.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01128/2.35, allocations: 2.449 MB / 0.714 GB, free: 82.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007579/2.351, allocations: 50.12 kB / 0.7141 GB, free: 82.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04147/2.392, allocations: 21.32 MB / 0.7349 GB, free: 70.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/2.392, allocations: 0 / 0.7349 GB, free: 70.99 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02395/2.416, allocations: 8.192 MB / 0.7429 GB, free: 67.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003909/2.42, allocations: 0.9901 MB / 0.7439 GB, free: 67.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001689/2.422, allocations: 43.25 kB / 0.7439 GB, free: 67.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004749/2.427, allocations: 209.4 kB / 0.7441 GB, free: 67.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001022/2.428, allocations: 194 kB / 0.7443 GB, free: 67.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000374/2.428, allocations: 83.47 kB / 0.7444 GB, free: 67.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005516/2.434, allocations: 2.551 MB / 0.7469 GB, free: 66.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.01e-07/2.434, allocations: 0 / 0.7469 GB, free: 66.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009435/2.443, allocations: 1.381 MB / 0.7482 GB, free: 66.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 181 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(2,100.0%) 14} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.0256/2.469, allocations: 9.577 MB / 0.7576 GB, free: 58.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02147/2.49, allocations: 8.464 MB / 0.7659 GB, free: 51.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/2.49, allocations: 0 / 0.7659 GB, free: 51.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01012/2.501, allocations: 3.877 MB / 0.7696 GB, free: 47.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003874/2.504, allocations: 428.6 kB / 0.77 GB, free: 47.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03901/2.544, allocations: 11.58 MB / 0.7814 GB, free: 37.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008237/2.552, allocations: 3.667 MB / 0.7849 GB, free: 34.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0107/2.563, allocations: 2.145 MB / 0.787 GB, free: 33.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00589/2.569, allocations: 2.057 MB / 0.789 GB, free: 31.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.824e-06/2.569, allocations: 6.375 kB / 0.789 GB, free: 31.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5466/3.115, allocations: 105.4 MB / 0.892 GB, free: 91.27 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/3.115, allocations: 224.2 kB / 0.8922 GB, free: 91.04 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.864/8.979, allocations: 0 / 0.8922 GB, free: 91.04 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat