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.893/1.893, allocations: 209.3 MB / 221.4 MB, free: 1.949 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.686e-05/6.691e-05, allocations: 4 kB / 273.2 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1022, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4314/0.5336, allocations: 92.81 MB / 414.7 MB, free: 12.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.534, allocations: 71.95 kB / 414.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6982/1.232, allocations: 92.36 MB / 0.4952 GB, free: 93.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.232, allocations: 0 / 0.4952 GB, free: 93.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004298/1.233, allocations: 83.75 kB / 0.4953 GB, free: 93.86 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.02171/1.254, allocations: 4.718 MB / 0.4999 GB, free: 93.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/1.255, allocations: 11.22 kB / 0.4999 GB, free: 93.08 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004575/1.259, allocations: 0.8011 MB / 0.5007 GB, free: 93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01877/1.278, allocations: 2.229 MB / 0.5029 GB, free: 92.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02267/1.301, allocations: 5.05 MB / 0.5078 GB, free: 92.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006041/1.301, allocations: 333.8 kB / 0.5081 GB, free: 92.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002968/1.304, allocations: 425.5 kB / 0.5085 GB, free: 92.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04208/1.346, allocations: 11.48 MB / 0.5197 GB, free: 89.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004329/1.347, allocations: 61.86 kB / 0.5198 GB, free: 89.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002695/1.35, allocations: 209.2 kB / 0.52 GB, free: 89.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01112/1.361, allocations: 1.153 MB / 0.5211 GB, free: 89.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05817/1.419, allocations: 9.876 MB / 0.5308 GB, free: 89.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07466/1.494, allocations: 50.71 MB / 0.5803 GB, free: 53.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02243/1.516, allocations: 5.844 MB / 0.586 GB, free: 51.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005892/1.522, allocations: 3.118 MB / 0.589 GB, free: 49.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01915/1.541, allocations: 9.2 MB / 0.598 GB, free: 44.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01747/1.559, allocations: 3.382 MB / 0.6013 GB, free: 42.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=209): time 6.171e-06/1.559, allocations: 0 / 0.6013 GB, free: 42.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.1577/1.717, allocations: 27.06 MB / 0.6278 GB, free: 20.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.951e-05/1.717, allocations: 162.5 kB / 0.6279 GB, free: 20.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008918/1.726, allocations: 3.659 MB / 0.6315 GB, free: 16.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009086/1.727, allocations: 69.7 kB / 0.6315 GB, free: 16.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003494/1.73, allocations: 3.241 MB / 0.6347 GB, free: 13.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001853/1.732, allocations: 1.048 MB / 0.6357 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/1.733, allocations: 132 kB / 0.6359 GB, free: 12.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004911/1.734, allocations: 0.5907 MB / 0.6364 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007954/1.742, allocations: 3.238 MB / 0.6396 GB, free: 8.328 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/1.752, allocations: 6.83 MB / 0.6463 GB, free: 15.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/1.765, allocations: 4.682 MB / 0.6508 GB, free: 11.04 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001233/1.765, allocations: 39.84 kB / 0.6509 GB, free: 11 MB / 442.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.3667/2.132, allocations: 12.38 MB / 0.663 GB, free: 93.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000183/2.132, allocations: 88.92 kB / 0.6631 GB, free: 93.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003217/2.132, allocations: 126 kB / 0.6632 GB, free: 93.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01392/2.146, allocations: 2.67 MB / 0.6658 GB, free: 93.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01073/2.157, allocations: 1.473 MB / 0.6672 GB, free: 93.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04576/2.203, allocations: 21.52 MB / 0.6882 GB, free: 88.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00848/2.211, allocations: 427.6 kB / 0.6886 GB, free: 88.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001758/2.213, allocations: 396.1 kB / 0.689 GB, free: 88.52 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.002076/2.215, allocations: 0.5921 MB / 0.6896 GB, free: 88.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/2.216, allocations: 399 kB / 0.69 GB, free: 88.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03125/2.248, allocations: 7.853 MB / 0.6976 GB, free: 87.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.804e-05/2.248, allocations: 30.75 kB / 0.6977 GB, free: 87.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.192e-05/2.248, allocations: 7.062 kB / 0.6977 GB, free: 87.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.788e-05/2.248, allocations: 19.09 kB / 0.6977 GB, free: 87.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04149/2.289, allocations: 14.52 MB / 0.7119 GB, free: 82.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.516e-05/2.289, allocations: 3.281 kB / 0.7119 GB, free: 82.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00432/2.294, allocations: 408.6 kB / 0.7123 GB, free: 82.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01138/2.305, allocations: 2.449 MB / 0.7147 GB, free: 82.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008326/2.306, allocations: 53.39 kB / 0.7147 GB, free: 82.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04081/2.347, allocations: 21.32 MB / 0.7355 GB, free: 71.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/2.347, allocations: 3.438 kB / 0.7355 GB, free: 71.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02369/2.371, allocations: 8.193 MB / 0.7435 GB, free: 68.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003956/2.375, allocations: 0.9902 MB / 0.7445 GB, free: 67.51 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001656/2.376, allocations: 47.38 kB / 0.7445 GB, free: 67.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004882/2.381, allocations: 207.2 kB / 0.7447 GB, free: 67.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001335/2.383, allocations: 193.3 kB / 0.7449 GB, free: 67.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004425/2.383, allocations: 78.22 kB / 0.745 GB, free: 67.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006131/2.389, allocations: 2.557 MB / 0.7475 GB, free: 66.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.41e-07/2.389, allocations: 0 / 0.7475 GB, free: 66.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008878/2.398, allocations: 1.38 MB / 0.7489 GB, free: 66.33 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.02553/2.424, allocations: 9.561 MB / 0.7582 GB, free: 58.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02098/2.445, allocations: 8.697 MB / 0.7667 GB, free: 50.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/2.445, allocations: 0 / 0.7667 GB, free: 50.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01001/2.455, allocations: 3.947 MB / 0.7705 GB, free: 47.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004052/2.459, allocations: 435.2 kB / 0.7709 GB, free: 46.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03734/2.496, allocations: 11.6 MB / 0.7823 GB, free: 36.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007694/2.504, allocations: 3.667 MB / 0.7859 GB, free: 34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01046/2.515, allocations: 2.145 MB / 0.788 GB, free: 32.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005896/2.521, allocations: 2.057 MB / 0.79 GB, free: 30.83 MB / 442.7 MB Notification: Performance of SimCode: time 1.753e-06/2.521, allocations: 3.062 kB / 0.79 GB, free: 30.83 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5494/3.07, allocations: 106.2 MB / 0.8937 GB, free: 91.63 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/3.07, allocations: 225.5 kB / 0.8939 GB, free: 91.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.907/8.977, allocations: 4 kB / 0.8939 GB, free: 91.39 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