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.97/1.97, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.553e-05/2.565e-05, allocations: 4 kB / 267.6 MB, free: 4.953 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1047, allocations: 48.7 MB / 316.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4532/0.5579, allocations: 92.38 MB / 408.7 MB, free: 264 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.5582, allocations: 72.44 kB / 408.8 MB, free: 232 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6837/1.242, allocations: 90.34 MB / 499.1 MB, free: 85.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.497e-06/1.242, allocations: 0 / 499.1 MB, free: 85.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003396/1.242, allocations: 86.28 kB / 499.2 MB, free: 85.12 MB / 410.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.02093/1.263, allocations: 4.724 MB / 0.4921 GB, free: 83.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/1.263, allocations: 9.406 kB / 0.4921 GB, free: 83.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0181/1.281, allocations: 2.233 MB / 0.4943 GB, free: 83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02028/1.302, allocations: 5.042 MB / 0.4992 GB, free: 82.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003501/1.302, allocations: 139.1 kB / 0.4994 GB, free: 82.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002844/1.305, allocations: 254.7 kB / 0.4996 GB, free: 82.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01664/1.322, allocations: 6.792 MB / 0.5062 GB, free: 82.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02321/1.345, allocations: 10.11 MB / 0.5161 GB, free: 79.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002103/1.345, allocations: 63.75 kB / 0.5162 GB, free: 79.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009005/1.346, allocations: 32.16 kB / 0.5162 GB, free: 79.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002042/1.348, allocations: 1.15 MB / 0.5173 GB, free: 79.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07181/1.42, allocations: 49.24 MB / 0.5654 GB, free: 45.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007399/1.428, allocations: 4.389 MB / 0.5697 GB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005147/1.433, allocations: 3.04 MB / 0.5727 GB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/1.434, allocations: 1.265 MB / 0.5739 GB, free: 40.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005675/1.44, allocations: 3.114 MB / 0.5769 GB, free: 39.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=215): time 6.662e-06/1.44, allocations: 0 / 0.5769 GB, free: 39.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=282): time 0.1013/1.541, allocations: 24.98 MB / 0.6013 GB, free: 19.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/1.542, allocations: 158.3 kB / 0.6015 GB, free: 19.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005515/1.547, allocations: 3.166 MB / 0.6046 GB, free: 16.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008168/1.548, allocations: 25.7 kB / 0.6046 GB, free: 16.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002885/1.551, allocations: 3.298 MB / 0.6078 GB, free: 13.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001562/1.552, allocations: 1.003 MB / 0.6088 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005843/1.553, allocations: 0 / 0.6088 GB, free: 12.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000371/1.553, allocations: 0.5907 MB / 0.6094 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005956/1.559, allocations: 3.058 MB / 0.6124 GB, free: 9.625 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008044/1.567, allocations: 6.752 MB / 0.619 GB, free: 1.469 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/1.58, allocations: 4.588 MB / 0.6234 GB, free: 13.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/1.58, allocations: 36 kB / 0.6235 GB, free: 13.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03772/1.617, allocations: 11.41 MB / 0.6346 GB, free: 2.754 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/1.618, allocations: 93.69 kB / 0.6347 GB, free: 2.656 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001996/1.618, allocations: 132 kB / 0.6348 GB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3015/1.919, allocations: 2.651 MB / 0.6374 GB, free: 88.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0108/1.93, allocations: 1.51 MB / 0.6389 GB, free: 88.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04402/1.974, allocations: 20.36 MB / 0.6588 GB, free: 83.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008807/1.983, allocations: 306.4 kB / 0.6591 GB, free: 83.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002333/1.986, allocations: 405.4 kB / 0.6595 GB, free: 83.31 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * 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 (785): * Single equations (assignments): 777 * 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,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.003047/1.989, allocations: 450 kB / 0.6599 GB, free: 83.19 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02233/2.011, allocations: 7.35 MB / 0.6671 GB, free: 83.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/2.012, allocations: 369.2 kB / 0.6674 GB, free: 83.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02097/2.033, allocations: 7.327 MB / 0.6746 GB, free: 81.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.417e-05/2.033, allocations: 36.08 kB / 0.6746 GB, free: 81.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/2.034, allocations: 10.31 kB / 0.6746 GB, free: 81.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-05/2.034, allocations: 11.48 kB / 0.6746 GB, free: 81.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03684/2.07, allocations: 13.49 MB / 0.6878 GB, free: 77.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.754e-05/2.071, allocations: 3.875 kB / 0.6878 GB, free: 77.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003904/2.074, allocations: 399.2 kB / 0.6882 GB, free: 77.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01069/2.085, allocations: 2.418 MB / 0.6906 GB, free: 76.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006884/2.086, allocations: 10.94 kB / 0.6906 GB, free: 76.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03742/2.123, allocations: 20.14 MB / 0.7102 GB, free: 65.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/2.123, allocations: 3.812 kB / 0.7102 GB, free: 65.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02126/2.145, allocations: 7.833 MB / 0.7179 GB, free: 62.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003288/2.148, allocations: 0.9233 MB / 0.7188 GB, free: 62.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001054/2.149, allocations: 3.812 kB / 0.7188 GB, free: 62.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003522/2.153, allocations: 166.1 kB / 0.7189 GB, free: 62.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009664/2.154, allocations: 195 kB / 0.7191 GB, free: 62.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003474/2.154, allocations: 78.56 kB / 0.7192 GB, free: 62.31 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003961/2.158, allocations: 2.1 MB / 0.7213 GB, free: 61.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.42e-07/2.158, allocations: 0 / 0.7213 GB, free: 61.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008886/2.167, allocations: 1.177 MB / 0.7224 GB, free: 59.86 MB / 426.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 (188): * Single equations (assignments): 180 * 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,(2,100.0%) 14,(2,100.0%) 14} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.02195/2.189, allocations: 9.153 MB / 0.7313 GB, free: 52.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0187/2.208, allocations: 8.124 MB / 0.7393 GB, free: 44.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/2.208, allocations: 0 / 0.7393 GB, free: 44.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008719/2.216, allocations: 3.697 MB / 0.7429 GB, free: 41.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/2.22, allocations: 347.1 kB / 0.7432 GB, free: 41.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03322/2.253, allocations: 11 MB / 0.754 GB, free: 31.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0106/2.264, allocations: 3.648 MB / 0.7575 GB, free: 28.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01486/2.279, allocations: 2.163 MB / 0.7596 GB, free: 26.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008213/2.287, allocations: 2.038 MB / 0.7616 GB, free: 24.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.823e-06/2.287, allocations: 0 / 0.7616 GB, free: 24.46 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5482/2.835, allocations: 98.03 MB / 0.8573 GB, free: 84.37 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/2.836, allocations: 162.1 kB / 0.8575 GB, free: 84.18 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.296/8.132, allocations: 0 / 0.8575 GB, free: 84.18 MB / 442.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