Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.612/2.612, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.744e-05/4.752e-05, allocations: 7.984 kB / 323.5 MB, free: 4.238 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4354, allocations: 58.84 MB / 382.3 MB, free: 10.25 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2513/0.6868, allocations: 109.3 MB / 491.6 MB, free: 15.05 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003561/0.6872, allocations: 75.97 kB / 491.7 MB, free: 14.97 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.9586/1.646, allocations: 127 MB / 0.6042 GB, free: 70.72 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.944e-06/1.646, allocations: 0 / 0.6042 GB, free: 70.72 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003831/1.646, allocations: 120 kB / 0.6043 GB, free: 70.61 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02849/1.675, allocations: 6.333 MB / 0.6105 GB, free: 64.2 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/1.675, allocations: 16.03 kB / 0.6105 GB, free: 64.18 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006771/1.682, allocations: 1.312 MB / 0.6118 GB, free: 62.86 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06083/1.743, allocations: 8.318 MB / 0.6199 GB, free: 54.52 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.027/1.77, allocations: 7.377 MB / 0.6271 GB, free: 47.08 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005627/1.77, allocations: 455.7 kB / 0.6275 GB, free: 46.64 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003725/1.774, allocations: 0.5856 MB / 0.6281 GB, free: 46.05 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04538/1.819, allocations: 15.56 MB / 0.6433 GB, free: 29.32 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004033/1.82, allocations: 75.34 kB / 0.6434 GB, free: 29.25 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003064/1.823, allocations: 283.8 kB / 0.6436 GB, free: 28.97 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003517/1.826, allocations: 1.616 MB / 0.6452 GB, free: 27.35 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04079/1.867, allocations: 13.58 MB / 0.6585 GB, free: 13.75 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5154/2.383, allocations: 64.1 MB / 0.7211 GB, free: 109.6 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02281/2.406, allocations: 6.387 MB / 0.7273 GB, free: 108.3 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007201/2.413, allocations: 3.529 MB / 0.7308 GB, free: 108.3 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03638/2.449, allocations: 14.44 MB / 0.7449 GB, free: 104.9 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.645e-05/2.449, allocations: 66.92 kB / 0.7449 GB, free: 104.9 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=289): time 6.923e-06/2.449, allocations: 3.969 kB / 0.7449 GB, free: 104.9 MB / 0.4949 GB Notification: Performance of matching and sorting (n=339): time 0.1556/2.605, allocations: 29.78 MB / 0.774 GB, free: 99.43 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/2.605, allocations: 217.8 kB / 0.7742 GB, free: 99.21 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/2.617, allocations: 4.795 MB / 0.7789 GB, free: 97.55 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009401/2.618, allocations: 72.67 kB / 0.779 GB, free: 97.48 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00406/2.622, allocations: 4.438 MB / 0.7833 GB, free: 94.08 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002096/2.624, allocations: 1.252 MB / 0.7845 GB, free: 93.16 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/2.625, allocations: 175.9 kB / 0.7847 GB, free: 93.03 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006843/2.626, allocations: 0.6801 MB / 0.7854 GB, free: 92.56 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01046/2.636, allocations: 4.486 MB / 0.7897 GB, free: 90.9 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01386/2.65, allocations: 9.392 MB / 0.7989 GB, free: 82.66 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01382/2.664, allocations: 6.442 MB / 0.8052 GB, free: 78.55 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001852/2.664, allocations: 52 kB / 0.8053 GB, free: 78.5 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.06956/2.734, allocations: 18.08 MB / 0.8229 GB, free: 64.65 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/2.734, allocations: 83.28 kB / 0.823 GB, free: 64.57 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000258/2.734, allocations: 172 kB / 0.8232 GB, free: 64.41 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0396/2.774, allocations: 5.635 MB / 0.8287 GB, free: 61 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01375/2.788, allocations: 2.06 MB / 0.8307 GB, free: 59.23 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04693/2.835, allocations: 23.63 MB / 0.8538 GB, free: 36.16 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01186/2.847, allocations: 0.5452 MB / 0.8543 GB, free: 35.62 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002363/2.849, allocations: 0.5 MB / 0.8548 GB, free: 35.12 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 793 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.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.groundColor[3],world.groundColor[2],world.groundColor[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 (1061): * Single equations (assignments): 1053 * 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.003528/2.853, allocations: 0.755 MB / 0.8555 GB, free: 34.36 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001558/2.854, allocations: 0.4975 MB / 0.856 GB, free: 33.85 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05389/2.908, allocations: 12.34 MB / 0.8681 GB, free: 21.44 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001305/2.908, allocations: 59.94 kB / 0.8681 GB, free: 21.38 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.28e-05/2.908, allocations: 12 kB / 0.8681 GB, free: 21.37 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-05/2.908, allocations: 11.95 kB / 0.8681 GB, free: 21.36 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1091/3.017, allocations: 23.96 MB / 0.8915 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.13e-05/3.018, allocations: 8.594 kB / 0.8915 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007826/3.025, allocations: 0.5847 MB / 0.8921 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03727/3.063, allocations: 4.642 MB / 0.8966 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009655/3.064, allocations: 56 kB / 0.8967 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.425/3.489, allocations: 18.91 MB / 0.9152 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.158e-06/3.489, allocations: 8.594 kB / 0.9152 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05975/3.549, allocations: 17.39 MB / 0.9322 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004616/3.553, allocations: 1.223 MB / 0.9334 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002231/3.556, allocations: 55.03 kB / 0.9334 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006703/3.562, allocations: 249.3 kB / 0.9336 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001484/3.564, allocations: 188.4 kB / 0.9338 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007857/3.565, allocations: 85.38 kB / 0.9339 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008966/3.574, allocations: 3.335 MB / 0.9372 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.372e-06/3.574, allocations: 0 / 0.9372 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01219/3.586, allocations: 1.715 MB / 0.9388 GB, free: 136.5 MB / 0.5261 GB 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 (254): * Single equations (assignments): 246 * 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.06155/3.648, allocations: 19.1 MB / 0.9575 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02319/3.671, allocations: 10.12 MB / 0.9674 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/3.671, allocations: 1.781 kB / 0.9674 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009379/3.68, allocations: 3.904 MB / 0.9712 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005609/3.686, allocations: 0.5812 MB / 0.9717 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06386/3.75, allocations: 15.58 MB / 0.987 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01736/3.767, allocations: 4.764 MB / 0.9916 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.02166/3.789, allocations: 2.995 MB / 0.9945 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01132/3.8, allocations: 2.932 MB / 0.9974 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of SimCode: time 2.474e-06/3.801, allocations: 0 / 0.9974 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6951/4.496, allocations: 134.5 MB / 1.129 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/4.496, allocations: 191.1 kB / 1.129 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.286/11.78, allocations: 0 / 1.129 GB, free: 128.6 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat