Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.025/2.025, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.641e-05/3.659e-05, allocations: 6.031 kB / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1184, allocations: 50.41 MB / 342.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5098/0.6282, allocations: 101.6 MB / 444.2 MB, free: 8.898 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003862/0.6287, allocations: 90.7 kB / 444.3 MB, free: 8.855 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8463/1.475, allocations: 128.6 MB / 0.5594 GB, free: 94.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.968e-06/1.475, allocations: 3.906 kB / 0.5594 GB, free: 94.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004755/1.476, allocations: 113.2 kB / 0.5595 GB, free: 94.88 MB / 442.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.03059/1.506, allocations: 6.328 MB / 0.5657 GB, free: 92.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/1.506, allocations: 10.28 kB / 0.5657 GB, free: 92.45 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007149/1.513, allocations: 1.312 MB / 0.567 GB, free: 92.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07135/1.585, allocations: 8.312 MB / 0.5751 GB, free: 91.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03686/1.622, allocations: 6.97 MB / 0.5819 GB, free: 91.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007878/1.623, allocations: 454.9 kB / 0.5824 GB, free: 91.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004702/1.627, allocations: 0.5832 MB / 0.5829 GB, free: 91.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04957/1.677, allocations: 15.55 MB / 0.5981 GB, free: 84.24 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004728/1.678, allocations: 71.55 kB / 0.5982 GB, free: 84.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003713/1.681, allocations: 285.4 kB / 0.5985 GB, free: 84.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003556/1.685, allocations: 1.615 MB / 0.6 GB, free: 83.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04021/1.725, allocations: 13.55 MB / 0.6133 GB, free: 72.67 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1032/1.828, allocations: 64.05 MB / 0.6758 GB, free: 8.586 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02209/1.851, allocations: 6.362 MB / 0.682 GB, free: 1.984 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3147/2.165, allocations: 3.458 MB / 0.6854 GB, free: 86.69 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03988/2.205, allocations: 14.28 MB / 0.6994 GB, free: 83.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.373e-05/2.205, allocations: 66.5 kB / 0.6994 GB, free: 83.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=286): time 7.574e-06/2.205, allocations: 0 / 0.6994 GB, free: 83.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=336): time 0.1606/2.366, allocations: 29.56 MB / 0.7283 GB, free: 79.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/2.366, allocations: 218.7 kB / 0.7285 GB, free: 79.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01228/2.378, allocations: 4.775 MB / 0.7332 GB, free: 77.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001009/2.379, allocations: 73.59 kB / 0.7332 GB, free: 77.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004528/2.384, allocations: 4.435 MB / 0.7376 GB, free: 73.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002261/2.386, allocations: 1.246 MB / 0.7388 GB, free: 73.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001555/2.388, allocations: 171.4 kB / 0.7389 GB, free: 72.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007576/2.389, allocations: 0.6832 MB / 0.7396 GB, free: 72.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01058/2.399, allocations: 4.464 MB / 0.744 GB, free: 70.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01395/2.413, allocations: 9.372 MB / 0.7531 GB, free: 62.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01391/2.427, allocations: 6.394 MB / 0.7594 GB, free: 60.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001947/2.428, allocations: 53.66 kB / 0.7594 GB, free: 60.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.07031/2.498, allocations: 18.04 MB / 0.777 GB, free: 52.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/2.498, allocations: 80 kB / 0.7771 GB, free: 52.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002725/2.498, allocations: 180.6 kB / 0.7773 GB, free: 51.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04031/2.539, allocations: 5.626 MB / 0.7828 GB, free: 48.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01348/2.552, allocations: 2.044 MB / 0.7848 GB, free: 46.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04832/2.601, allocations: 23.63 MB / 0.8078 GB, free: 26.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01179/2.612, allocations: 0.5425 MB / 0.8084 GB, free: 25.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002281/2.615, allocations: 0.5121 MB / 0.8089 GB, free: 25.24 MB / 442.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.003575/2.618, allocations: 0.7504 MB / 0.8096 GB, free: 24.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001561/2.62, allocations: 0.4936 MB / 0.8101 GB, free: 23.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05434/2.674, allocations: 12.27 MB / 0.8221 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000119/2.675, allocations: 61.08 kB / 0.8221 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/2.675, allocations: 8.812 kB / 0.8221 GB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.227e-05/2.675, allocations: 11.95 kB / 0.8222 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08678/2.761, allocations: 23.83 MB / 0.8454 GB, free: 4.203 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.158e-05/2.762, allocations: 7.938 kB / 0.8454 GB, free: 4.195 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00613/2.768, allocations: 0.5655 MB / 0.846 GB, free: 3.629 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3766/3.144, allocations: 4.64 MB / 0.8505 GB, free: 89.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009297/3.145, allocations: 58.17 kB / 0.8506 GB, free: 89.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04198/3.187, allocations: 18.92 MB / 0.8691 GB, free: 86.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.151e-05/3.187, allocations: 7.531 kB / 0.8691 GB, free: 86.59 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0591/3.247, allocations: 17.26 MB / 0.8859 GB, free: 82.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/3.248, allocations: 0.5337 MB / 0.8864 GB, free: 82.39 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002245/3.251, allocations: 57.06 kB / 0.8865 GB, free: 82.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006641/3.257, allocations: 245.9 kB / 0.8867 GB, free: 82.33 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001441/3.259, allocations: 185.4 kB / 0.8869 GB, free: 82.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007275/3.26, allocations: 94.97 kB / 0.887 GB, free: 82.28 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008716/3.268, allocations: 3.304 MB / 0.8902 GB, free: 81.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.92e-07/3.268, allocations: 1.938 kB / 0.8902 GB, free: 81.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01122/3.28, allocations: 1.703 MB / 0.8919 GB, free: 80.98 MB / 458.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.05965/3.339, allocations: 18.98 MB / 0.9104 GB, free: 72.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02242/3.362, allocations: 10.06 MB / 0.9203 GB, free: 69.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/3.362, allocations: 3.188 kB / 0.9203 GB, free: 69.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008878/3.371, allocations: 3.868 MB / 0.924 GB, free: 67.92 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005305/3.376, allocations: 0.5696 MB / 0.9246 GB, free: 67.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04969/3.426, allocations: 15.51 MB / 0.9397 GB, free: 59.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01078/3.437, allocations: 4.752 MB / 0.9444 GB, free: 55.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01377/3.45, allocations: 2.984 MB / 0.9473 GB, free: 54.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007508/3.458, allocations: 2.913 MB / 0.9501 GB, free: 51.33 MB / 458.7 MB Notification: Performance of SimCode: time 1.213e-06/3.458, allocations: 3.562 kB / 0.9501 GB, free: 51.33 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6451/4.103, allocations: 134 MB / 1.081 GB, free: 94.01 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/4.103, allocations: 181.1 kB / 1.081 GB, free: 93.78 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.297/11.4, allocations: 0 / 1.081 GB, free: 93.78 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat does not exist to compare? outputFormat=mat