Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.052/2.052, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.721e-05/2.722e-05, allocations: 4 kB / 267.6 MB, free: 5.332 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 48.71 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.46/0.5705, allocations: 92.4 MB / 408.7 MB, free: 240 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.5708, allocations: 67.16 kB / 408.8 MB, free: 208 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7027/1.274, allocations: 90.34 MB / 499.1 MB, free: 84.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.735e-06/1.274, allocations: 0 / 499.1 MB, free: 84.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000327/1.274, allocations: 85.75 kB / 499.2 MB, free: 84.9 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.02774/1.302, allocations: 4.721 MB / 0.4921 GB, free: 83.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/1.302, allocations: 10.19 kB / 0.4921 GB, free: 83.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02518/1.327, allocations: 2.233 MB / 0.4943 GB, free: 82.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02755/1.355, allocations: 5.049 MB / 0.4992 GB, free: 82.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006009/1.355, allocations: 138.3 kB / 0.4994 GB, free: 82.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003482/1.359, allocations: 250.9 kB / 0.4996 GB, free: 82.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01786/1.377, allocations: 6.796 MB / 0.5062 GB, free: 82.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02807/1.405, allocations: 10.11 MB / 0.5161 GB, free: 79.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003615/1.405, allocations: 63.33 kB / 0.5162 GB, free: 79.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002437/1.408, allocations: 36.66 kB / 0.5162 GB, free: 79.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002563/1.41, allocations: 1.15 MB / 0.5173 GB, free: 79.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07432/1.485, allocations: 49.25 MB / 0.5654 GB, free: 45.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007669/1.492, allocations: 4.392 MB / 0.5697 GB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00513/1.498, allocations: 3.041 MB / 0.5727 GB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/1.499, allocations: 1.262 MB / 0.5739 GB, free: 40.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005736/1.505, allocations: 3.108 MB / 0.5769 GB, free: 39.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=215): time 7.023e-06/1.505, allocations: 3.156 kB / 0.5769 GB, free: 39.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=282): time 0.101/1.606, allocations: 24.98 MB / 0.6013 GB, free: 19.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/1.606, allocations: 162.5 kB / 0.6015 GB, free: 19.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00568/1.612, allocations: 3.156 MB / 0.6046 GB, free: 16.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008117/1.613, allocations: 33.22 kB / 0.6046 GB, free: 16.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002836/1.615, allocations: 3.243 MB / 0.6078 GB, free: 13.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001584/1.617, allocations: 1.008 MB / 0.6088 GB, free: 12.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005799/1.618, allocations: 0 / 0.6088 GB, free: 12.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003914/1.618, allocations: 0.5976 MB / 0.6093 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00595/1.624, allocations: 3.058 MB / 0.6123 GB, free: 9.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008144/1.632, allocations: 6.749 MB / 0.6189 GB, free: 1.508 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01219/1.644, allocations: 4.574 MB / 0.6234 GB, free: 13.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001445/1.645, allocations: 36 kB / 0.6234 GB, free: 13.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03908/1.684, allocations: 11.3 MB / 0.6344 GB, free: 3.172 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/1.684, allocations: 89.69 kB / 0.6345 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002369/1.684, allocations: 136 kB / 0.6347 GB, free: 2.945 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01387/1.698, allocations: 2.649 MB / 0.6373 GB, free: 292 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3015/2, allocations: 1.513 MB / 0.6387 GB, free: 87.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04422/2.044, allocations: 20.37 MB / 0.6586 GB, free: 83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008378/2.052, allocations: 301.7 kB / 0.6589 GB, free: 83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00215/2.055, allocations: 410.9 kB / 0.6593 GB, free: 83 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.002272/2.057, allocations: 450.8 kB / 0.6597 GB, free: 82.88 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02291/2.08, allocations: 7.347 MB / 0.6669 GB, free: 82.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001639/2.081, allocations: 371 kB / 0.6673 GB, free: 82.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02355/2.105, allocations: 7.322 MB / 0.6744 GB, free: 81.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001095/2.105, allocations: 29.56 kB / 0.6744 GB, free: 81.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.791e-05/2.105, allocations: 13.06 kB / 0.6745 GB, free: 81.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-05/2.105, allocations: 14.06 kB / 0.6745 GB, free: 81.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04102/2.146, allocations: 13.49 MB / 0.6876 GB, free: 76.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.247e-05/2.146, allocations: 6.891 kB / 0.6877 GB, free: 76.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00421/2.151, allocations: 392.3 kB / 0.688 GB, free: 76.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01131/2.162, allocations: 2.419 MB / 0.6904 GB, free: 76.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008734/2.163, allocations: 10.75 kB / 0.6904 GB, free: 76.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03843/2.201, allocations: 20.13 MB / 0.7101 GB, free: 65.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/2.202, allocations: 0 / 0.7101 GB, free: 65.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02221/2.224, allocations: 7.836 MB / 0.7177 GB, free: 62.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003486/2.227, allocations: 0.9257 MB / 0.7186 GB, free: 62.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001428/2.229, allocations: 11.5 kB / 0.7186 GB, free: 62.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004165/2.233, allocations: 168.2 kB / 0.7188 GB, free: 62.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001252/2.234, allocations: 190.4 kB / 0.719 GB, free: 62.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003707/2.235, allocations: 73.72 kB / 0.719 GB, free: 62.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004471/2.239, allocations: 2.106 MB / 0.7211 GB, free: 61.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.283e-06/2.239, allocations: 0 / 0.7211 GB, free: 61.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009117/2.248, allocations: 1.181 MB / 0.7222 GB, free: 60.14 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.02329/2.272, allocations: 9.148 MB / 0.7312 GB, free: 52.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01887/2.291, allocations: 8.129 MB / 0.7391 GB, free: 45.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/2.291, allocations: 0 / 0.7391 GB, free: 45.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008915/2.3, allocations: 3.695 MB / 0.7427 GB, free: 41.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/2.303, allocations: 348.3 kB / 0.7431 GB, free: 41.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03424/2.337, allocations: 11.5 MB / 0.7543 GB, free: 31.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00694/2.344, allocations: 3.65 MB / 0.7579 GB, free: 28.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005474/2.35, allocations: 2.084 MB / 0.7599 GB, free: 26.35 MB / 426.7 MB Notification: Performance of SimCode: time 1.493e-06/2.35, allocations: 2.953 kB / 0.7599 GB, free: 26.35 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.996/7.346, allocations: 166 MB / 0.922 GB, free: 22.05 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat