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.993/1.993, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.913e-05, allocations: 8 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3486, allocations: 44.49 MB / 294.2 MB, free: 14.49 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1716/0.5202, allocations: 93.47 MB / 387.7 MB, free: 4.414 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/0.5206, allocations: 91.94 kB / 387.8 MB, free: 4.324 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8115/1.332, allocations: 123.7 MB / 0.4995 GB, free: 38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.332, allocations: 0 / 0.4995 GB, free: 38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003698/1.333, allocations: 116 kB / 0.4996 GB, free: 37.88 MB / 362.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.02515/1.358, allocations: 6.317 MB / 0.5058 GB, free: 31.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/1.358, allocations: 8.031 kB / 0.5058 GB, free: 31.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05902/1.417, allocations: 8.318 MB / 0.5139 GB, free: 23.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02554/1.442, allocations: 7.252 MB / 0.521 GB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003696/1.443, allocations: 188 kB / 0.5212 GB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003445/1.446, allocations: 351.8 kB / 0.5215 GB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02371/1.47, allocations: 10.11 MB / 0.5314 GB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03927/1.509, allocations: 14.06 MB / 0.5451 GB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003618/1.51, allocations: 71.33 kB / 0.5452 GB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002622/1.512, allocations: 36 kB / 0.5452 GB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003873/1.516, allocations: 1.616 MB / 0.5468 GB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3892/1.906, allocations: 61.39 MB / 0.6068 GB, free: 44.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009562/1.915, allocations: 5.553 MB / 0.6122 GB, free: 43.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006465/1.922, allocations: 3.366 MB / 0.6155 GB, free: 43.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0351/1.957, allocations: 14.04 MB / 0.6292 GB, free: 38.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.881e-05/1.957, allocations: 62.56 kB / 0.6292 GB, free: 38.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=286): time 7.865e-06/1.957, allocations: 0 / 0.6292 GB, free: 38.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=336): time 0.1246/2.082, allocations: 30.91 MB / 0.6594 GB, free: 28.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/2.082, allocations: 219.1 kB / 0.6596 GB, free: 28.19 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/2.093, allocations: 4.275 MB / 0.6638 GB, free: 26.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009867/2.094, allocations: 28.98 kB / 0.6638 GB, free: 26.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004312/2.098, allocations: 4.515 MB / 0.6683 GB, free: 23.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002174/2.1, allocations: 1.211 MB / 0.6694 GB, free: 22.28 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001632/2.102, allocations: 0 / 0.6694 GB, free: 22.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.001085/2.103, allocations: 0.6982 MB / 0.6701 GB, free: 21.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01007/2.113, allocations: 4.366 MB / 0.6744 GB, free: 18.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01365/2.127, allocations: 9.551 MB / 0.6837 GB, free: 6.727 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/2.141, allocations: 6.358 MB / 0.6899 GB, free: 1.578 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002387/2.141, allocations: 52 kB / 0.69 GB, free: 1.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.08166/2.223, allocations: 18.12 MB / 0.7077 GB, free: 4.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001962/2.223, allocations: 88.06 kB / 0.7077 GB, free: 4.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004018/2.223, allocations: 184 kB / 0.7079 GB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04119/2.265, allocations: 5.628 MB / 0.7134 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01475/2.279, allocations: 2.129 MB / 0.7155 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.352/2.631, allocations: 21.61 MB / 0.7366 GB, free: 97.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0119/2.643, allocations: 389.8 kB / 0.737 GB, free: 97.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002601/2.646, allocations: 0.5261 MB / 0.7375 GB, free: 97.07 MB / 426.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.003731/2.65, allocations: 0.5594 MB / 0.738 GB, free: 96.96 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05251/2.702, allocations: 11.87 MB / 0.7496 GB, free: 96.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001861/2.704, allocations: 477.9 kB / 0.7501 GB, free: 96.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05154/2.756, allocations: 12.02 MB / 0.7618 GB, free: 96.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001546/2.756, allocations: 57.12 kB / 0.7619 GB, free: 96.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.78e-05/2.756, allocations: 8.594 kB / 0.7619 GB, free: 96.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.308e-05/2.756, allocations: 16.83 kB / 0.7619 GB, free: 96.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0805/2.837, allocations: 22.48 MB / 0.7838 GB, free: 88.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.425e-05/2.837, allocations: 3.438 kB / 0.7838 GB, free: 88.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005805/2.843, allocations: 0.5618 MB / 0.7844 GB, free: 88.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03466/2.877, allocations: 4.633 MB / 0.7889 GB, free: 87.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009435/2.878, allocations: 11.8 kB / 0.7889 GB, free: 87.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03567/2.914, allocations: 17.33 MB / 0.8059 GB, free: 79.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-05/2.914, allocations: 15.05 kB / 0.8059 GB, free: 79.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05578/2.97, allocations: 16.98 MB / 0.8224 GB, free: 66.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004746/2.975, allocations: 1.18 MB / 0.8236 GB, free: 65.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002202/2.977, allocations: 14.7 kB / 0.8236 GB, free: 65.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006422/2.983, allocations: 199.6 kB / 0.8238 GB, free: 65.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001582/2.985, allocations: 191.7 kB / 0.824 GB, free: 64.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005787/2.986, allocations: 88.69 kB / 0.8241 GB, free: 64.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007358/2.993, allocations: 2.834 MB / 0.8268 GB, free: 61.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.62e-07/2.993, allocations: 1.969 kB / 0.8268 GB, free: 61.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01245/3.006, allocations: 1.496 MB / 0.8283 GB, free: 60.44 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.05688/3.063, allocations: 18.68 MB / 0.8465 GB, free: 41.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02119/3.084, allocations: 9.98 MB / 0.8563 GB, free: 32.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/3.084, allocations: 0.7656 kB / 0.8563 GB, free: 32.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008418/3.092, allocations: 3.806 MB / 0.86 GB, free: 28.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004851/3.097, allocations: 463.5 kB / 0.8605 GB, free: 27.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04863/3.146, allocations: 15.15 MB / 0.8752 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01129/3.157, allocations: 4.744 MB / 0.8799 GB, free: 7.871 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.3102/3.467, allocations: 3.076 MB / 0.8829 GB, free: 96.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007937/3.475, allocations: 2.901 MB / 0.8857 GB, free: 96.77 MB / 426.7 MB Notification: Performance of SimCode: time 2.324e-06/3.475, allocations: 1.219 kB / 0.8857 GB, free: 96.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2823/3.758, allocations: 127.5 MB / 1.01 GB, free: 20.71 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002539/3.758, allocations: 136.9 kB / 1.01 GB, free: 20.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.839/10.6, allocations: 4 kB / 1.01 GB, free: 20.52 MB / 426.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