Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.779/1.779, allocations: 171.3 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 5.104e-05/5.106e-05, allocations: 4 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2781, allocations: 38.75 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1594/0.4376, allocations: 87.74 MB / 346.1 MB, free: 6.012 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.4379, allocations: 79.95 kB / 346.2 MB, free: 5.934 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7199/1.158, allocations: 123.8 MB / 469.9 MB, free: 5.543 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.226e-06/1.158, allocations: 0 / 469.9 MB, free: 5.543 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003511/1.158, allocations: 115.9 kB / 470 MB, free: 5.43 MB / 314.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.02458/1.183, allocations: 6.321 MB / 476.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/1.183, allocations: 12.03 kB / 476.4 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06248/1.245, allocations: 8.306 MB / 484.7 MB, free: 6.688 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02869/1.274, allocations: 7.265 MB / 491.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004425/1.275, allocations: 192 kB / 492.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003559/1.278, allocations: 355.8 kB / 492.5 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02794/1.306, allocations: 10.1 MB / 0.4908 GB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2868/1.593, allocations: 14.06 MB / 0.5045 GB, free: 54.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004091/1.594, allocations: 77.41 kB / 0.5046 GB, free: 54.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003201/1.597, allocations: 35.88 kB / 0.5046 GB, free: 54.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003461/1.6, allocations: 1.615 MB / 0.5062 GB, free: 54.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09686/1.697, allocations: 61.38 MB / 0.5662 GB, free: 19.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009519/1.707, allocations: 5.554 MB / 0.5716 GB, free: 16.1 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006511/1.713, allocations: 3.374 MB / 0.5749 GB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0349/1.748, allocations: 14.02 MB / 0.5886 GB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.523e-05/1.748, allocations: 64.59 kB / 0.5886 GB, free: 7.555 MB / 346.7 MB Notification: Performance of pre-optimization done (n=286): time 7.464e-06/1.748, allocations: 3.719 kB / 0.5886 GB, free: 7.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=336): time 0.1579/1.906, allocations: 31.59 MB / 0.6195 GB, free: 6.602 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/1.907, allocations: 213.9 kB / 0.6197 GB, free: 6.348 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/1.918, allocations: 4.276 MB / 0.6239 GB, free: 2.605 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008823/1.919, allocations: 31.86 kB / 0.6239 GB, free: 2.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2557/2.174, allocations: 4.507 MB / 0.6283 GB, free: 72.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002218/2.177, allocations: 1.209 MB / 0.6295 GB, free: 72.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001268/2.178, allocations: 0 / 0.6295 GB, free: 72.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0007977/2.179, allocations: 0.6957 MB / 0.6302 GB, free: 71.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01054/2.189, allocations: 4.372 MB / 0.6344 GB, free: 71.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01367/2.203, allocations: 9.556 MB / 0.6438 GB, free: 65.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0133/2.216, allocations: 6.351 MB / 0.65 GB, free: 65.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002441/2.217, allocations: 56.34 kB / 0.65 GB, free: 65.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.06754/2.284, allocations: 17.65 MB / 0.6672 GB, free: 64.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001682/2.284, allocations: 87.94 kB / 0.6673 GB, free: 64.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002755/2.285, allocations: 182.6 kB / 0.6675 GB, free: 64.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03829/2.323, allocations: 5.629 MB / 0.673 GB, free: 63.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01363/2.337, allocations: 2.127 MB / 0.6751 GB, free: 62.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04331/2.38, allocations: 21.61 MB / 0.6962 GB, free: 52.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01112/2.391, allocations: 388.8 kB / 0.6966 GB, free: 52.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002563/2.394, allocations: 0.5306 MB / 0.6971 GB, free: 52.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 840 * 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 (1105): * Single equations (assignments): 1097 * 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.003675/2.398, allocations: 0.5553 MB / 0.6976 GB, free: 52.25 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05035/2.448, allocations: 11.87 MB / 0.7092 GB, free: 43.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001696/2.45, allocations: 481.3 kB / 0.7097 GB, free: 43.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05021/2.5, allocations: 12.02 MB / 0.7214 GB, free: 34.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001644/2.5, allocations: 59.66 kB / 0.7215 GB, free: 34.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.37e-05/2.5, allocations: 8 kB / 0.7215 GB, free: 34.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.292e-05/2.5, allocations: 18.2 kB / 0.7215 GB, free: 34.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07631/2.577, allocations: 22.48 MB / 0.7434 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.544e-05/2.577, allocations: 4 kB / 0.7434 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005556/2.582, allocations: 0.5694 MB / 0.744 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03342/2.616, allocations: 4.631 MB / 0.7485 GB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008601/2.617, allocations: 15.98 kB / 0.7485 GB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3444/2.961, allocations: 17.33 MB / 0.7654 GB, free: 76.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.269e-05/2.961, allocations: 10.84 kB / 0.7655 GB, free: 76.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05466/3.016, allocations: 16.98 MB / 0.782 GB, free: 74.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004216/3.02, allocations: 1.172 MB / 0.7832 GB, free: 74.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002086/3.022, allocations: 13.22 kB / 0.7832 GB, free: 74.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005861/3.028, allocations: 203.1 kB / 0.7834 GB, free: 74.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001456/3.03, allocations: 199 kB / 0.7836 GB, free: 74.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004819/3.03, allocations: 82.89 kB / 0.7837 GB, free: 74.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007416/3.037, allocations: 2.843 MB / 0.7864 GB, free: 74.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.72e-07/3.038, allocations: 0 / 0.7864 GB, free: 74.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01133/3.049, allocations: 1.491 MB / 0.7879 GB, free: 74.41 MB / 378.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.05572/3.105, allocations: 18.69 MB / 0.8061 GB, free: 68.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02076/3.125, allocations: 9.977 MB / 0.8159 GB, free: 64.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.689e-06/3.126, allocations: 0 / 0.8159 GB, free: 64.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007922/3.133, allocations: 3.806 MB / 0.8196 GB, free: 63.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004678/3.138, allocations: 463.4 kB / 0.82 GB, free: 62.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0482/3.186, allocations: 15.16 MB / 0.8348 GB, free: 53.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01101/3.197, allocations: 4.744 MB / 0.8395 GB, free: 49.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.01457/3.212, allocations: 3.079 MB / 0.8425 GB, free: 48.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007542/3.22, allocations: 2.897 MB / 0.8453 GB, free: 45.35 MB / 378.7 MB Notification: Performance of SimCode: time 1.763e-06/3.22, allocations: 0 / 0.8453 GB, free: 45.35 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.585/3.805, allocations: 127.5 MB / 0.9698 GB, free: 48.59 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/3.805, allocations: 150.2 kB / 0.97 GB, free: 48.39 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.787/10.59, allocations: 0 / 0.97 GB, free: 48.39 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat does not exist to compare? outputFormat=mat