Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.043/2.043, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.411e-05/3.427e-05, allocations: 4 kB / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 50.41 MB / 342.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4732/0.5825, allocations: 104.1 MB / 446.7 MB, free: 6.426 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.5829, allocations: 90.39 kB / 446.8 MB, free: 6.383 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8944/1.477, allocations: 141.8 MB / 0.5748 GB, free: 93.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.477, allocations: 0 / 0.5748 GB, free: 93.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006201/1.478, allocations: 152.3 kB / 0.5749 GB, free: 93.83 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: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.03221/1.51, allocations: 7.477 MB / 0.5823 GB, free: 91.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.51, allocations: 6.844 kB / 0.5823 GB, free: 91.12 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005859/1.516, allocations: 1.181 MB / 0.5834 GB, free: 91.03 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08443/1.601, allocations: 11.74 MB / 0.5949 GB, free: 89.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03554/1.636, allocations: 9.881 MB / 0.6045 GB, free: 84.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006288/1.637, allocations: 0.5189 MB / 0.605 GB, free: 83.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003767/1.641, allocations: 0.7098 MB / 0.6057 GB, free: 83.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05368/1.694, allocations: 17.16 MB / 0.6225 GB, free: 65.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006194/1.695, allocations: 99.14 kB / 0.6226 GB, free: 65.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003337/1.698, allocations: 330.8 kB / 0.6229 GB, free: 64.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003216/1.702, allocations: 1.462 MB / 0.6243 GB, free: 63.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04581/1.748, allocations: 14.05 MB / 0.638 GB, free: 49.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4742/2.222, allocations: 73.11 MB / 0.7094 GB, free: 41.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06017/2.282, allocations: 8.709 MB / 0.7179 GB, free: 41.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008818/2.291, allocations: 4.724 MB / 0.7226 GB, free: 41.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04306/2.334, allocations: 17.69 MB / 0.7398 GB, free: 38.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.075e-05/2.334, allocations: 62 kB / 0.7399 GB, free: 37.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=281): time 7.674e-06/2.334, allocations: 0.9844 kB / 0.7399 GB, free: 37.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=374): time 0.3192/2.653, allocations: 57.36 MB / 0.7959 GB, free: 18.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/2.654, allocations: 375.7 kB / 0.7963 GB, free: 17.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01218/2.666, allocations: 5.432 MB / 0.8016 GB, free: 13.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001189/2.667, allocations: 86.8 kB / 0.8016 GB, free: 13.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004076/2.671, allocations: 4.874 MB / 0.8064 GB, free: 8.758 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002363/2.674, allocations: 1.364 MB / 0.8077 GB, free: 7.551 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001366/2.675, allocations: 180 kB / 0.8079 GB, free: 7.375 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005651/2.676, allocations: 0.6838 MB / 0.8086 GB, free: 6.789 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01198/2.688, allocations: 5.411 MB / 0.8139 GB, free: 1.875 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02014/2.708, allocations: 10.42 MB / 0.824 GB, free: 5.602 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01867/2.727, allocations: 7.376 MB / 0.8312 GB, free: 14.36 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001705/2.727, allocations: 48 kB / 0.8313 GB, free: 14.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=1165) (initialization): time 0.0776/2.804, allocations: 20.72 MB / 0.8515 GB, free: 9.945 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/2.805, allocations: 80 kB / 0.8516 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002947/2.805, allocations: 172.9 kB / 0.8518 GB, free: 9.699 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03851/2.843, allocations: 6.518 MB / 0.8581 GB, free: 3.168 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0146/2.858, allocations: 2.047 MB / 0.8601 GB, free: 1.117 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4399/3.298, allocations: 32.33 MB / 0.8917 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01343/3.311, allocations: 0.6956 MB / 0.8924 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00264/3.314, allocations: 0.5122 MB / 0.8929 GB, free: 131.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 787 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1023): * Single equations (assignments): 1016 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,77.8%) 67,(2,100.0%) 18} * Non-linear torn systems: 1 {2 24} Notification: Performance of prepare postOptimizeDAE: time 0.003855/3.318, allocations: 0.7731 MB / 0.8936 GB, free: 131 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002126/3.32, allocations: 0.5837 MB / 0.8942 GB, free: 131 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05563/3.376, allocations: 15.38 MB / 0.9092 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001391/3.376, allocations: 53.75 kB / 0.9093 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.761e-05/3.376, allocations: 18.5 kB / 0.9093 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-05/3.376, allocations: 16.41 kB / 0.9093 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09183/3.468, allocations: 30.37 MB / 0.939 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.733e-05/3.468, allocations: 0 / 0.939 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006164/3.474, allocations: 0.5789 MB / 0.9395 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03462/3.509, allocations: 6.145 MB / 0.9455 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001227/3.51, allocations: 62.86 kB / 0.9456 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06948/3.58, allocations: 30.69 MB / 0.9756 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/3.58, allocations: 4 kB / 0.9756 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06649/3.646, allocations: 22.99 MB / 0.998 GB, free: 80.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002392/3.649, allocations: 0.6058 MB / 0.9986 GB, free: 80.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003051/3.652, allocations: 62.27 kB / 0.9987 GB, free: 80.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008618/3.661, allocations: 407.3 kB / 0.9991 GB, free: 79.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002033/3.663, allocations: 251.5 kB / 0.9993 GB, free: 79.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007355/3.663, allocations: 95.36 kB / 0.9994 GB, free: 79.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01013/3.674, allocations: 3.85 MB / 1.003 GB, free: 75.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.31e-07/3.674, allocations: 1.688 kB / 1.003 GB, free: 75.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01428/3.688, allocations: 2.169 MB / 1.005 GB, free: 73.42 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 236 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,84.0%) 62,(2,100.0%) 15} * Non-linear torn systems: 1 {2 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.06819/3.756, allocations: 24.23 MB / 1.029 GB, free: 49.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03286/3.789, allocations: 13.45 MB / 1.042 GB, free: 36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/3.789, allocations: 0 / 1.042 GB, free: 36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01645/3.806, allocations: 6.204 MB / 1.048 GB, free: 29.76 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007843/3.814, allocations: 0.8449 MB / 1.049 GB, free: 28.97 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4108/4.224, allocations: 19.07 MB / 1.068 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01384/4.238, allocations: 5.413 MB / 1.073 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01476/4.253, allocations: 3.034 MB / 1.076 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009775/4.263, allocations: 3.39 MB / 1.079 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.783e-06/4.263, allocations: 0 / 1.079 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.727/4.99, allocations: 168.4 MB / 1.244 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002773/4.99, allocations: 189.6 kB / 1.244 GB, free: 109 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.549/13.54, allocations: 0 / 1.244 GB, free: 109 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat does not exist to compare? outputFormat=mat