Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.167/2.167, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.577e-05/3.582e-05, allocations: 4 kB / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1038, allocations: 47.57 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4702/0.5741, allocations: 99.67 MB / 416.7 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/0.5744, allocations: 84.05 kB / 416.8 MB, free: 4.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8509/1.425, allocations: 126.9 MB / 0.5309 GB, free: 86.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.275e-06/1.425, allocations: 0 / 0.5309 GB, free: 86.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003972/1.426, allocations: 118.4 kB / 0.5311 GB, free: 86.37 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02644/1.452, allocations: 6.337 MB / 0.5372 GB, free: 83.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/1.452, allocations: 7.875 kB / 0.5373 GB, free: 83.96 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006634/1.459, allocations: 1.309 MB / 0.5385 GB, free: 83.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06034/1.519, allocations: 8.32 MB / 0.5467 GB, free: 83.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0267/1.546, allocations: 7.283 MB / 0.5538 GB, free: 82.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005767/1.547, allocations: 466.9 kB / 0.5542 GB, free: 82.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003698/1.55, allocations: 0.5891 MB / 0.5548 GB, free: 82.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04657/1.597, allocations: 15.53 MB / 0.57 GB, free: 79.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004499/1.598, allocations: 71.28 kB / 0.57 GB, free: 79.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00356/1.601, allocations: 287.4 kB / 0.5703 GB, free: 79.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003725/1.605, allocations: 1.615 MB / 0.5719 GB, free: 79.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04106/1.646, allocations: 13.54 MB / 0.5851 GB, free: 75.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1192/1.765, allocations: 64.1 MB / 0.6477 GB, free: 17.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0219/1.787, allocations: 6.365 MB / 0.6539 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007002/1.794, allocations: 3.459 MB / 0.6573 GB, free: 8.984 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3457/2.14, allocations: 14.31 MB / 0.6713 GB, free: 79.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/2.14, allocations: 64.48 kB / 0.6713 GB, free: 79.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 7.755e-06/2.14, allocations: 0 / 0.6713 GB, free: 79.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=336): time 0.1591/2.299, allocations: 29.69 MB / 0.7003 GB, free: 75.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/2.299, allocations: 217 kB / 0.7005 GB, free: 75.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01133/2.311, allocations: 4.8 MB / 0.7052 GB, free: 75.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009319/2.312, allocations: 77.83 kB / 0.7053 GB, free: 75.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004152/2.316, allocations: 4.441 MB / 0.7096 GB, free: 73.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002174/2.318, allocations: 1.24 MB / 0.7108 GB, free: 72.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001455/2.32, allocations: 174.9 kB / 0.711 GB, free: 72.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000809/2.32, allocations: 0.6812 MB / 0.7117 GB, free: 72.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01038/2.331, allocations: 4.459 MB / 0.716 GB, free: 72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01443/2.345, allocations: 9.378 MB / 0.7252 GB, free: 63.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01417/2.36, allocations: 6.392 MB / 0.7314 GB, free: 61.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002275/2.36, allocations: 52.25 kB / 0.7315 GB, free: 61.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.07055/2.43, allocations: 18.03 MB / 0.7491 GB, free: 56.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/2.431, allocations: 89.3 kB / 0.7492 GB, free: 56.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002776/2.431, allocations: 172.8 kB / 0.7493 GB, free: 56.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04025/2.471, allocations: 5.635 MB / 0.7548 GB, free: 55.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01368/2.485, allocations: 2.048 MB / 0.7568 GB, free: 54.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04852/2.534, allocations: 23.62 MB / 0.7799 GB, free: 33.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01338/2.547, allocations: 0.5418 MB / 0.7804 GB, free: 33.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002247/2.549, allocations: 0.5056 MB / 0.7809 GB, free: 32.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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.groundColor[3],world.groundColor[2],world.groundColor[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 (1060): * Single equations (assignments): 1052 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003664/2.553, allocations: 0.7608 MB / 0.7817 GB, free: 31.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001556/2.555, allocations: 0.4975 MB / 0.7822 GB, free: 31.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06128/2.616, allocations: 12.28 MB / 0.7941 GB, free: 20.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001581/2.616, allocations: 53.22 kB / 0.7942 GB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.274e-05/2.616, allocations: 12 kB / 0.7942 GB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-05/2.616, allocations: 15.94 kB / 0.7942 GB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09611/2.712, allocations: 23.85 MB / 0.8175 GB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.742e-05/2.712, allocations: 4.688 kB / 0.8175 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006021/2.719, allocations: 0.5704 MB / 0.8181 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03702/2.756, allocations: 4.643 MB / 0.8226 GB, free: 7.031 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008864/2.757, allocations: 53.33 kB / 0.8227 GB, free: 6.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3639/3.12, allocations: 18.92 MB / 0.8411 GB, free: 83.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/3.12, allocations: 7.469 kB / 0.8411 GB, free: 83.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05855/3.179, allocations: 17.27 MB / 0.858 GB, free: 82.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004604/3.184, allocations: 1.211 MB / 0.8592 GB, free: 81.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002299/3.186, allocations: 58.23 kB / 0.8592 GB, free: 81.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006559/3.193, allocations: 249.5 kB / 0.8595 GB, free: 81.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001388/3.194, allocations: 201.2 kB / 0.8597 GB, free: 81.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006046/3.195, allocations: 85.33 kB / 0.8598 GB, free: 81.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008861/3.204, allocations: 3.328 MB / 0.863 GB, free: 80.44 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.51e-07/3.204, allocations: 0 / 0.863 GB, free: 80.44 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01178/3.215, allocations: 1.709 MB / 0.8647 GB, free: 80.26 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (251): * Single equations (assignments): 243 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07181/3.287, allocations: 18.98 MB / 0.8832 GB, free: 72.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03128/3.319, allocations: 10.06 MB / 0.893 GB, free: 68.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/3.319, allocations: 3.188 kB / 0.893 GB, free: 68.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01136/3.33, allocations: 3.864 MB / 0.8968 GB, free: 67.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005933/3.336, allocations: 0.5856 MB / 0.8974 GB, free: 66.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04983/3.386, allocations: 15.53 MB / 0.9125 GB, free: 58.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01136/3.397, allocations: 4.766 MB / 0.9172 GB, free: 55.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01907/3.417, allocations: 2.981 MB / 0.9201 GB, free: 53.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01031/3.427, allocations: 2.928 MB / 0.923 GB, free: 50.88 MB / 442.7 MB Notification: Performance of SimCode: time 2.454e-06/3.427, allocations: 0 / 0.923 GB, free: 50.88 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6173/4.044, allocations: 134.2 MB / 1.054 GB, free: 88.78 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/4.045, allocations: 184.9 kB / 1.054 GB, free: 88.55 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.993/11.04, allocations: 0 / 1.054 GB, free: 88.55 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat does not exist to compare? outputFormat=mat