Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.95/1.95, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.431e-05/4.446e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09505/0.09514, allocations: 44.49 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5098/0.605, allocations: 94.15 MB / 394.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.6054, allocations: 84.12 kB / 394.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5211/1.126, allocations: 126.2 MB / 0.5082 GB, free: 11.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.795e-06/1.127, allocations: 0 / 0.5082 GB, free: 11.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004112/1.127, allocations: 116 kB / 0.5083 GB, free: 11.43 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: 2237 * Number of variables: 2237 Notification: Performance of Generate backend data structure: time 0.02698/1.154, allocations: 6.326 MB / 0.5145 GB, free: 5.031 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/1.154, allocations: 8.031 kB / 0.5145 GB, free: 5.023 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006275/1.16, allocations: 1.323 MB / 0.5158 GB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.343/1.503, allocations: 8.304 MB / 0.5239 GB, free: 70.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02865/1.532, allocations: 7.264 MB / 0.531 GB, free: 70.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006219/1.533, allocations: 447.2 kB / 0.5314 GB, free: 70.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003611/1.536, allocations: 0.5913 MB / 0.532 GB, free: 70.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04546/1.582, allocations: 15.51 MB / 0.5471 GB, free: 67.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004215/1.582, allocations: 73.81 kB / 0.5472 GB, free: 67.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003252/1.586, allocations: 282.9 kB / 0.5475 GB, free: 67.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003486/1.589, allocations: 1.616 MB / 0.549 GB, free: 67.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03821/1.627, allocations: 13.53 MB / 0.5623 GB, free: 67.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1029/1.73, allocations: 63.99 MB / 0.6247 GB, free: 40.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02176/1.752, allocations: 6.361 MB / 0.631 GB, free: 37.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007029/1.759, allocations: 3.466 MB / 0.6343 GB, free: 35.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03393/1.793, allocations: 14.32 MB / 0.6483 GB, free: 23.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/1.793, allocations: 70.34 kB / 0.6484 GB, free: 23.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 7.494e-06/1.793, allocations: 0 / 0.6484 GB, free: 23.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=336): time 0.4835/2.277, allocations: 29.64 MB / 0.6773 GB, free: 80.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/2.277, allocations: 212 kB / 0.6775 GB, free: 80.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01314/2.29, allocations: 4.766 MB / 0.6822 GB, free: 80.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008916/2.291, allocations: 70.14 kB / 0.6823 GB, free: 80.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004289/2.295, allocations: 4.429 MB / 0.6866 GB, free: 78.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002176/2.298, allocations: 1.243 MB / 0.6878 GB, free: 78.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/2.299, allocations: 169.7 kB / 0.688 GB, free: 78.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007801/2.3, allocations: 0.679 MB / 0.6886 GB, free: 77.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01166/2.311, allocations: 4.459 MB / 0.693 GB, free: 77.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01432/2.326, allocations: 9.357 MB / 0.7021 GB, free: 71.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/2.34, allocations: 6.383 MB / 0.7084 GB, free: 71.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002006/2.34, allocations: 54.12 kB / 0.7084 GB, free: 71.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.06879/2.409, allocations: 18.01 MB / 0.726 GB, free: 70.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001566/2.409, allocations: 78.31 kB / 0.7261 GB, free: 70.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002715/2.409, allocations: 175.2 kB / 0.7262 GB, free: 70.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03906/2.448, allocations: 5.631 MB / 0.7317 GB, free: 70.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01367/2.462, allocations: 2.051 MB / 0.7337 GB, free: 69.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04643/2.508, allocations: 23.6 MB / 0.7568 GB, free: 58.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01125/2.52, allocations: 0.5426 MB / 0.7573 GB, free: 58.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001989/2.522, allocations: 0.504 MB / 0.7578 GB, free: 58.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * Number of states: 0 () * Number of discrete variables: 42 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1057): * Single equations (assignments): 1049 * 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.002186/2.524, allocations: 0.7505 MB / 0.7585 GB, free: 57.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/2.525, allocations: 0.4935 MB / 0.759 GB, free: 57.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05195/2.577, allocations: 12.26 MB / 0.771 GB, free: 53.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001232/2.578, allocations: 53.62 kB / 0.771 GB, free: 53.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.377e-05/2.578, allocations: 15.25 kB / 0.7711 GB, free: 53.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.759e-05/2.578, allocations: 15.92 kB / 0.7711 GB, free: 53.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08189/2.66, allocations: 23.84 MB / 0.7944 GB, free: 37.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.14e-05/2.66, allocations: 7.75 kB / 0.7944 GB, free: 37.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005725/2.665, allocations: 0.5707 MB / 0.7949 GB, free: 37.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03409/2.7, allocations: 4.647 MB / 0.7995 GB, free: 34.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000858/2.701, allocations: 56.33 kB / 0.7995 GB, free: 34.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03808/2.739, allocations: 18.9 MB / 0.818 GB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/2.739, allocations: 15.81 kB / 0.818 GB, free: 17.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3692/3.108, allocations: 17.24 MB / 0.8348 GB, free: 69.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004934/3.113, allocations: 1.212 MB / 0.836 GB, free: 69.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002066/3.115, allocations: 53.22 kB / 0.8361 GB, free: 69.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006428/3.121, allocations: 247.8 kB / 0.8363 GB, free: 69.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001323/3.123, allocations: 195.9 kB / 0.8365 GB, free: 69.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004777/3.123, allocations: 83.86 kB / 0.8366 GB, free: 69.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009958/3.133, allocations: 3.304 MB / 0.8398 GB, free: 69.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.152e-06/3.133, allocations: 0 / 0.8398 GB, free: 69.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01169/3.145, allocations: 1.7 MB / 0.8415 GB, free: 69.12 MB / 426.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.05854/3.204, allocations: 18.98 MB / 0.86 GB, free: 66.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02271/3.226, allocations: 10.03 MB / 0.8698 GB, free: 65.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/3.226, allocations: 6.031 kB / 0.8698 GB, free: 65.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008748/3.235, allocations: 3.847 MB / 0.8735 GB, free: 65.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005627/3.241, allocations: 0.5775 MB / 0.8741 GB, free: 65.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04846/3.289, allocations: 15.49 MB / 0.8892 GB, free: 60.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01093/3.3, allocations: 4.754 MB / 0.8939 GB, free: 58.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01367/3.314, allocations: 2.981 MB / 0.8968 GB, free: 58.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00785/3.322, allocations: 2.918 MB / 0.8996 GB, free: 56.2 MB / 426.7 MB Notification: Performance of SimCode: time 2.064e-06/3.322, allocations: 0 / 0.8996 GB, free: 56.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5955/3.918, allocations: 133.7 MB / 1.03 GB, free: 72.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/3.918, allocations: 174.3 kB / 1.03 GB, free: 71.97 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/11, allocations: 0 / 1.03 GB, free: 71.97 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat does not exist to compare? outputFormat=mat