Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.902/1.902, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.92e-05, allocations: 4 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09401/0.09407, allocations: 44.52 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4352/0.5293, allocations: 88.73 MB / 388.7 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.5296, allocations: 84.47 kB / 388.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.622/1.152, allocations: 122.7 MB / 0.4995 GB, free: 4.641 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.152, allocations: 0 / 0.4995 GB, free: 4.641 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005686/1.152, allocations: 123.9 kB / 0.4996 GB, free: 4.52 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2055 * Number of variables: 2055 Notification: Performance of Generate backend data structure: time 0.03142/1.184, allocations: 6.516 MB / 0.506 GB, free: 13.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/1.184, allocations: 8.031 kB / 0.506 GB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006144/1.19, allocations: 1.201 MB / 0.5071 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08066/1.271, allocations: 9.426 MB / 0.5163 GB, free: 3.262 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3141/1.585, allocations: 8.554 MB / 0.5247 GB, free: 68.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006787/1.586, allocations: 437.4 kB / 0.5251 GB, free: 68.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003664/1.589, allocations: 0.5853 MB / 0.5257 GB, free: 68.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05873/1.648, allocations: 14.7 MB / 0.54 GB, free: 64.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007214/1.649, allocations: 89.2 kB / 0.5401 GB, free: 64.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003702/1.653, allocations: 270.5 kB / 0.5404 GB, free: 64.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004508/1.657, allocations: 1.443 MB / 0.5418 GB, free: 64.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05093/1.708, allocations: 12.82 MB / 0.5543 GB, free: 64.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1037/1.812, allocations: 64.65 MB / 0.6174 GB, free: 40.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03123/1.843, allocations: 7.809 MB / 0.6251 GB, free: 37.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009135/1.852, allocations: 5.149 MB / 0.6301 GB, free: 35.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03042/1.883, allocations: 12.98 MB / 0.6428 GB, free: 27.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.796e-05/1.883, allocations: 68.75 kB / 0.6428 GB, free: 26.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=340): time 7.574e-06/1.883, allocations: 0 / 0.6428 GB, free: 26.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=604): time 0.7243/2.607, allocations: 80.1 MB / 0.7211 GB, free: 74.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/2.607, allocations: 273.7 kB / 0.7213 GB, free: 74.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01183/2.619, allocations: 4.699 MB / 0.7259 GB, free: 74.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002328/2.622, allocations: 120.6 kB / 0.726 GB, free: 74.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004025/2.626, allocations: 4.008 MB / 0.7299 GB, free: 72.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004241/2.63, allocations: 2.111 MB / 0.732 GB, free: 71.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002722/2.633, allocations: 188.8 kB / 0.7322 GB, free: 71.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008058/2.634, allocations: 0.7097 MB / 0.7329 GB, free: 70.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0195/2.653, allocations: 8.55 MB / 0.7412 GB, free: 68.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02277/2.676, allocations: 12.64 MB / 0.7536 GB, free: 60.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0233/2.699, allocations: 10.51 MB / 0.7638 GB, free: 56.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001447/2.7, allocations: 40.16 kB / 0.7639 GB, free: 56.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.1599/2.859, allocations: 40.08 MB / 0.803 GB, free: 34.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/2.86, allocations: 67.25 kB / 0.8031 GB, free: 34.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001952/2.86, allocations: 136 kB / 0.8032 GB, free: 34.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1432/3.003, allocations: 21.5 MB / 0.8242 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009585/3.013, allocations: 1.439 MB / 0.8256 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6745/3.687, allocations: 144.4 MB / 0.9666 GB, free: 9.668 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0178/3.705, allocations: 0.7237 MB / 0.9673 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002859/3.708, allocations: 0.529 MB / 0.9678 GB, free: 8.699 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 51 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (772): * Single equations (assignments): 765 * Array equations: 3 * Algorithm blocks: 0 * 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 {(22,33.9%) 176,(18,37.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 90} Notification: Performance of prepare postOptimizeDAE: time 0.003457/3.711, allocations: 0.7307 MB / 0.9685 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002447/3.714, allocations: 0.5978 MB / 0.9691 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4588/4.173, allocations: 36.81 MB / 1.005 GB, free: 80.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001027/4.173, allocations: 67.52 kB / 1.005 GB, free: 80.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001646/4.173, allocations: 61.94 kB / 1.005 GB, free: 80.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001358/4.173, allocations: 34.58 kB / 1.005 GB, free: 80.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1937/4.367, allocations: 57.03 MB / 1.061 GB, free: 74.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.419e-05/4.367, allocations: 0 / 1.061 GB, free: 74.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002747/4.37, allocations: 270.1 kB / 1.061 GB, free: 74.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1091/4.479, allocations: 20.72 MB / 1.081 GB, free: 69.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002332/4.481, allocations: 98.69 kB / 1.082 GB, free: 69.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6375/5.119, allocations: 132.2 MB / 1.211 GB, free: 66.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/5.119, allocations: 3.625 kB / 1.211 GB, free: 66.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1673/5.286, allocations: 48.54 MB / 1.258 GB, free: 42.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009883/5.296, allocations: 2.401 MB / 1.26 GB, free: 40.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003993/5.3, allocations: 96 kB / 1.26 GB, free: 40.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01346/5.314, allocations: 0.4934 MB / 1.261 GB, free: 39.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005564/5.319, allocations: 0.5107 MB / 1.261 GB, free: 39.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002026/5.322, allocations: 140.7 kB / 1.262 GB, free: 39.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009532/5.331, allocations: 3.358 MB / 1.265 GB, free: 36.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.713e-06/5.331, allocations: 0 / 1.265 GB, free: 36.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.02081/5.352, allocations: 3.434 MB / 1.268 GB, free: 32.91 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 3 * Algorithm blocks: 0 * 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 {(22,33.9%) 173,(18,37.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 100} Notification: Performance of Backend phase and start with SimCode phase: time 0.502/5.854, allocations: 49.19 MB / 1.316 GB, free: 65.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.06526/5.919, allocations: 24.18 MB / 1.34 GB, free: 64.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/5.919, allocations: 3.875 kB / 1.34 GB, free: 64.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04021/5.96, allocations: 13.57 MB / 1.353 GB, free: 63.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007406/5.967, allocations: 0.7118 MB / 1.354 GB, free: 63.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07087/6.038, allocations: 23.29 MB / 1.377 GB, free: 55.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01269/6.051, allocations: 5.307 MB / 1.382 GB, free: 53.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01005/6.061, allocations: 2.085 MB / 1.384 GB, free: 53.31 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006524/6.067, allocations: 3.051 MB / 1.387 GB, free: 50.75 MB / 442.7 MB Notification: Performance of SimCode: time 2.084e-06/6.068, allocations: 3.25 kB / 1.387 GB, free: 50.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.318/7.386, allocations: 291.3 MB / 1.671 GB, free: 86.52 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/7.386, allocations: 194.5 kB / 1.671 GB, free: 86.29 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/18.03, allocations: 9.844 kB / 1.671 GB, free: 86.29 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_res.mat does not exist to compare? outputFormat=mat