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.91/1.91, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.049e-05, allocations: 4 kB / 255.5 MB, free: 2.645 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09726/0.09732, allocations: 44.51 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.439/0.5364, allocations: 94.13 MB / 394.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.5367, allocations: 85.97 kB / 394.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5308/1.068, allocations: 126.2 MB / 0.5082 GB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.068, allocations: 0 / 0.5082 GB, free: 11.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004351/1.068, allocations: 112 kB / 0.5083 GB, free: 11.46 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.02858/1.097, allocations: 6.321 MB / 0.5144 GB, free: 5.062 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/1.097, allocations: 8.031 kB / 0.5144 GB, free: 5.055 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006645/1.103, allocations: 1.316 MB / 0.5157 GB, free: 3.727 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4043/1.508, allocations: 8.306 MB / 0.5238 GB, free: 70.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03229/1.54, allocations: 7.266 MB / 0.5309 GB, free: 70.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007121/1.541, allocations: 453 kB / 0.5314 GB, free: 70.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003921/1.545, allocations: 0.5869 MB / 0.5319 GB, free: 70.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04866/1.593, allocations: 15.58 MB / 0.5471 GB, free: 66.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005205/1.594, allocations: 79.45 kB / 0.5472 GB, free: 66.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003595/1.598, allocations: 284.9 kB / 0.5475 GB, free: 66.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003684/1.601, allocations: 1.613 MB / 0.5491 GB, free: 66.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04194/1.643, allocations: 13.76 MB / 0.5625 GB, free: 66.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1114/1.755, allocations: 63.99 MB / 0.625 GB, free: 39.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02248/1.777, allocations: 6.388 MB / 0.6312 GB, free: 36.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007404/1.785, allocations: 3.468 MB / 0.6346 GB, free: 35.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03762/1.823, allocations: 14.33 MB / 0.6486 GB, free: 22.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.694e-05/1.823, allocations: 67.41 kB / 0.6487 GB, free: 22.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 9.778e-06/1.823, allocations: 3.219 kB / 0.6487 GB, free: 22.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=336): time 0.4623/2.285, allocations: 29.69 MB / 0.6777 GB, free: 79.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/2.285, allocations: 210.9 kB / 0.6779 GB, free: 79.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01402/2.299, allocations: 4.76 MB / 0.6825 GB, free: 79.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009241/2.3, allocations: 74.59 kB / 0.6826 GB, free: 79.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004435/2.305, allocations: 4.428 MB / 0.6869 GB, free: 77.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002265/2.307, allocations: 1.241 MB / 0.6881 GB, free: 77.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001443/2.309, allocations: 177.3 kB / 0.6883 GB, free: 77.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009612/2.31, allocations: 0.6842 MB / 0.689 GB, free: 76.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01196/2.322, allocations: 4.453 MB / 0.6933 GB, free: 76.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0148/2.336, allocations: 9.408 MB / 0.7025 GB, free: 70.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01462/2.351, allocations: 6.388 MB / 0.7087 GB, free: 70.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002315/2.351, allocations: 52.41 kB / 0.7088 GB, free: 70.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.07243/2.424, allocations: 18.49 MB / 0.7268 GB, free: 69.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/2.424, allocations: 76.19 kB / 0.7269 GB, free: 69.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002657/2.424, allocations: 180.3 kB / 0.7271 GB, free: 69.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04038/2.465, allocations: 5.628 MB / 0.7326 GB, free: 68.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0138/2.479, allocations: 2.043 MB / 0.7346 GB, free: 68.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05154/2.53, allocations: 23.61 MB / 0.7576 GB, free: 57.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01193/2.542, allocations: 0.5467 MB / 0.7582 GB, free: 57.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002484/2.545, allocations: 0.5012 MB / 0.7587 GB, free: 57.07 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.004085/2.549, allocations: 0.7487 MB / 0.7594 GB, free: 56.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002097/2.551, allocations: 0.492 MB / 0.7599 GB, free: 56.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.056/2.607, allocations: 12.26 MB / 0.7719 GB, free: 52.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001287/2.607, allocations: 57.33 kB / 0.7719 GB, free: 52.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.566e-05/2.607, allocations: 8.219 kB / 0.7719 GB, free: 52.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.72e-05/2.607, allocations: 11.77 kB / 0.7719 GB, free: 52.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09061/2.698, allocations: 23.87 MB / 0.7952 GB, free: 36.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.319e-05/2.698, allocations: 8 kB / 0.7952 GB, free: 36.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005998/2.704, allocations: 0.5625 MB / 0.7958 GB, free: 35.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03591/2.74, allocations: 4.64 MB / 0.8003 GB, free: 32.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001049/2.741, allocations: 53.64 kB / 0.8004 GB, free: 32.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04254/2.784, allocations: 18.92 MB / 0.8188 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/2.784, allocations: 10.89 kB / 0.8189 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3912/3.175, allocations: 17.25 MB / 0.8357 GB, free: 69.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005551/3.181, allocations: 1.213 MB / 0.8369 GB, free: 69.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002553/3.183, allocations: 61.41 kB / 0.8369 GB, free: 69.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006902/3.19, allocations: 245.1 kB / 0.8372 GB, free: 69.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001535/3.192, allocations: 195 kB / 0.8374 GB, free: 69.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001015/3.193, allocations: 80.41 kB / 0.8374 GB, free: 69.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01057/3.203, allocations: 3.306 MB / 0.8407 GB, free: 69.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.182e-06/3.204, allocations: 0 / 0.8407 GB, free: 69.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01306/3.217, allocations: 1.698 MB / 0.8423 GB, free: 69.35 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.06392/3.281, allocations: 18.98 MB / 0.8609 GB, free: 66.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02496/3.306, allocations: 10.3 MB / 0.8709 GB, free: 66.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-05/3.306, allocations: 3.844 kB / 0.8709 GB, free: 66.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009676/3.315, allocations: 3.889 MB / 0.8747 GB, free: 65.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006317/3.322, allocations: 0.5717 MB / 0.8753 GB, free: 65.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05614/3.378, allocations: 15.52 MB / 0.8904 GB, free: 60.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01334/3.391, allocations: 4.751 MB / 0.8951 GB, free: 58.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01539/3.407, allocations: 2.985 MB / 0.898 GB, free: 58.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008814/3.416, allocations: 2.912 MB / 0.9008 GB, free: 56.14 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/3.416, allocations: 3.5 kB / 0.9008 GB, free: 56.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6348/4.051, allocations: 134.5 MB / 1.032 GB, free: 74.34 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/4.051, allocations: 182.6 kB / 1.032 GB, free: 74.11 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.791/10.84, allocations: 0 / 1.032 GB, free: 74.11 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