Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.998/1.998, allocations: 205.8 MB / 218.9 MB, free: 9.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.016e-05/3.027e-05, allocations: 0 / 269.5 MB, free: 6.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 47.57 MB / 317 MB, free: 6.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4732/0.5737, allocations: 102.8 MB / 419.8 MB, free: 1.191 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003836/0.5741, allocations: 85.77 kB / 419.9 MB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8913/1.465, allocations: 140.2 MB / 0.547 GB, free: 84.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.325e-06/1.466, allocations: 0 / 0.547 GB, free: 84.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005888/1.466, allocations: 151 kB / 0.5471 GB, free: 84.75 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: 2349 * Number of variables: 2349 Notification: Performance of Generate backend data structure: time 0.03167/1.498, allocations: 7.501 MB / 0.5545 GB, free: 82.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/1.498, allocations: 11.28 kB / 0.5545 GB, free: 82.04 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006084/1.504, allocations: 1.191 MB / 0.5556 GB, free: 81.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1073/1.611, allocations: 11.73 MB / 0.5671 GB, free: 81.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03833/1.65, allocations: 10.52 MB / 0.5774 GB, free: 80.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006766/1.65, allocations: 0.5223 MB / 0.5779 GB, free: 80.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003937/1.654, allocations: 0.7079 MB / 0.5786 GB, free: 80.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05604/1.71, allocations: 17.17 MB / 0.5953 GB, free: 72.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006374/1.711, allocations: 102.1 kB / 0.5954 GB, free: 72.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003503/1.715, allocations: 328.9 kB / 0.5957 GB, free: 72.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003348/1.718, allocations: 1.458 MB / 0.5972 GB, free: 70.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04719/1.765, allocations: 14.05 MB / 0.6109 GB, free: 58.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5069/2.272, allocations: 73.31 MB / 0.6825 GB, free: 33.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04326/2.316, allocations: 8.702 MB / 0.691 GB, free: 32.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008726/2.324, allocations: 4.715 MB / 0.6956 GB, free: 32.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04173/2.366, allocations: 17.74 MB / 0.7129 GB, free: 30.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/2.366, allocations: 63.09 kB / 0.713 GB, free: 30.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=281): time 8.797e-06/2.366, allocations: 0 / 0.713 GB, free: 30.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=374): time 0.332/2.698, allocations: 57.59 MB / 0.7692 GB, free: 15.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/2.699, allocations: 379.6 kB / 0.7696 GB, free: 14.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01526/2.714, allocations: 5.493 MB / 0.7749 GB, free: 10.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001227/2.715, allocations: 81.7 kB / 0.775 GB, free: 10.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005209/2.72, allocations: 4.881 MB / 0.7798 GB, free: 5.906 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002591/2.723, allocations: 1.373 MB / 0.7811 GB, free: 4.691 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00182/2.725, allocations: 176 kB / 0.7813 GB, free: 4.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001144/2.726, allocations: 0.6861 MB / 0.782 GB, free: 3.934 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02005/2.746, allocations: 5.81 MB / 0.7876 GB, free: 0 / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01986/2.766, allocations: 10.33 MB / 0.7977 GB, free: 4.074 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01932/2.785, allocations: 7.375 MB / 0.8049 GB, free: 13.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002527/2.786, allocations: 52 kB / 0.805 GB, free: 13.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=1165) (initialization): time 0.07907/2.865, allocations: 20.71 MB / 0.8252 GB, free: 9.129 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001647/2.865, allocations: 90.05 kB / 0.8253 GB, free: 9.043 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003129/2.865, allocations: 172 kB / 0.8255 GB, free: 8.875 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03939/2.905, allocations: 6.51 MB / 0.8318 GB, free: 2.348 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01501/2.92, allocations: 2.055 MB / 0.8338 GB, free: 296 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.427/3.347, allocations: 32.32 MB / 0.8654 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01377/3.361, allocations: 0.6989 MB / 0.8661 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002532/3.363, allocations: 0.5081 MB / 0.8666 GB, free: 122.1 MB / 490.7 MB 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.004784/3.368, allocations: 0.7786 MB / 0.8673 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002509/3.371, allocations: 0.5867 MB / 0.8679 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05715/3.428, allocations: 15.39 MB / 0.8829 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001202/3.428, allocations: 51 kB / 0.883 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.382e-05/3.428, allocations: 17.72 kB / 0.883 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.755e-05/3.428, allocations: 18.05 kB / 0.883 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09432/3.523, allocations: 30.4 MB / 0.9127 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.864e-05/3.523, allocations: 6.125 kB / 0.9127 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006232/3.529, allocations: 0.576 MB / 0.9133 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03486/3.564, allocations: 6.144 MB / 0.9193 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001134/3.565, allocations: 61.16 kB / 0.9193 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06829/3.633, allocations: 30.7 MB / 0.9493 GB, free: 94.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/3.633, allocations: 9.906 kB / 0.9493 GB, free: 94.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0692/3.703, allocations: 22.99 MB / 0.9718 GB, free: 75.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00614/3.709, allocations: 1.582 MB / 0.9733 GB, free: 74.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00295/3.712, allocations: 61.17 kB / 0.9734 GB, free: 74.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008768/3.721, allocations: 409.9 kB / 0.9738 GB, free: 73.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002077/3.723, allocations: 246.2 kB / 0.974 GB, free: 73.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001204/3.724, allocations: 99.84 kB / 0.9741 GB, free: 73.71 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01091/3.735, allocations: 3.894 MB / 0.9779 GB, free: 70.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.463e-06/3.735, allocations: 0 / 0.9779 GB, free: 70.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01468/3.75, allocations: 2.172 MB / 0.98 GB, free: 68.12 MB / 490.7 MB 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.07131/3.821, allocations: 24.24 MB / 1.004 GB, free: 44.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03305/3.854, allocations: 13.45 MB / 1.017 GB, free: 31.51 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/3.854, allocations: 4 kB / 1.017 GB, free: 31.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3519/4.206, allocations: 6.195 MB / 1.023 GB, free: 127.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008733/4.215, allocations: 0.8384 MB / 1.024 GB, free: 127.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06892/4.284, allocations: 19.13 MB / 1.042 GB, free: 124.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01448/4.298, allocations: 5.433 MB / 1.048 GB, free: 124 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01609/4.315, allocations: 3.039 MB / 1.051 GB, free: 124 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00991/4.325, allocations: 3.405 MB / 1.054 GB, free: 124 MB / 490.7 MB Notification: Performance of SimCode: time 2.054e-06/4.325, allocations: 0 / 1.054 GB, free: 124 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6918/5.016, allocations: 169 MB / 1.219 GB, free: 115.5 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/5.017, allocations: 192.6 kB / 1.219 GB, free: 115.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.596/13.61, allocations: 4.703 kB / 1.219 GB, free: 115.3 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat does not exist to compare? outputFormat=mat