Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.484/2.484, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.739e-05/3.748e-05, allocations: 7.938 kB / 299.5 MB, free: 6.355 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3787, allocations: 54.87 MB / 354.4 MB, free: 36 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.5806, allocations: 98.23 MB / 452.6 MB, free: 13.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.581, allocations: 75.95 kB / 452.7 MB, free: 13.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5395/1.12, allocations: 53.09 MB / 0.4939 GB, free: 97.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.845e-06/1.121, allocations: 3.812 kB / 0.4939 GB, free: 97.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001619/1.121, allocations: 52.28 kB / 0.4939 GB, free: 97.62 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.008038/1.129, allocations: 2.368 MB / 0.4963 GB, free: 96.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/1.129, allocations: 7.031 kB / 0.4963 GB, free: 96.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004037/1.133, allocations: 481.7 kB / 0.4967 GB, free: 96.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00482/1.138, allocations: 1.509 MB / 0.4982 GB, free: 95.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/1.138, allocations: 94.53 kB / 0.4983 GB, free: 95.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001248/1.139, allocations: 169 kB / 0.4985 GB, free: 95.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00856/1.148, allocations: 3.384 MB / 0.5018 GB, free: 92.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/1.16, allocations: 4.632 MB / 0.5063 GB, free: 88.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001123/1.16, allocations: 19.83 kB / 0.5063 GB, free: 88.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005203/1.161, allocations: 8 kB / 0.5063 GB, free: 88.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001248/1.162, allocations: 486.5 kB / 0.5068 GB, free: 87.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0377/1.2, allocations: 18.2 MB / 0.5245 GB, free: 69.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/1.202, allocations: 0.6545 MB / 0.5252 GB, free: 68.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005802/1.202, allocations: 311.2 kB / 0.5255 GB, free: 68.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001673/1.204, allocations: 1.743 MB / 0.5272 GB, free: 66.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/1.204, allocations: 35.12 kB / 0.5272 GB, free: 66.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 4.057e-06/1.204, allocations: 8 kB / 0.5272 GB, free: 66.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.01428/1.218, allocations: 3.334 MB / 0.5305 GB, free: 62.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/1.218, allocations: 93.89 kB / 0.5306 GB, free: 62.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/1.221, allocations: 1.346 MB / 0.5319 GB, free: 61.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001395/1.221, allocations: 25.7 kB / 0.5319 GB, free: 61.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/1.222, allocations: 1.694 MB / 0.5336 GB, free: 59.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/1.222, allocations: 335.5 kB / 0.5339 GB, free: 59.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/1.222, allocations: 0 / 0.5339 GB, free: 59.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002315/1.222, allocations: 472.5 kB / 0.5343 GB, free: 58.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/1.224, allocations: 0.6692 MB / 0.535 GB, free: 58.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/1.226, allocations: 2.237 MB / 0.5372 GB, free: 55.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002484/1.228, allocations: 1.198 MB / 0.5383 GB, free: 54.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.832e-05/1.228, allocations: 20 kB / 0.5384 GB, free: 54.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=356) (initialization): time 0.006401/1.235, allocations: 2.599 MB / 0.5409 GB, free: 51.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.565e-05/1.235, allocations: 32 kB / 0.5409 GB, free: 51.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.297e-05/1.235, allocations: 59.98 kB / 0.541 GB, free: 51.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/1.235, allocations: 84 kB / 0.5411 GB, free: 51.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003799/1.239, allocations: 0.6509 MB / 0.5417 GB, free: 50.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-05/1.239, allocations: 114.8 kB / 0.5418 GB, free: 50.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/1.242, allocations: 71.8 kB / 0.5419 GB, free: 50.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004703/1.242, allocations: 160 kB / 0.542 GB, free: 50.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 256 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (356): * Single equations (assignments): 356 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000469/1.243, allocations: 264.1 kB / 0.5423 GB, free: 49.98 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001804/1.245, allocations: 0.8615 MB / 0.5431 GB, free: 49.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/1.245, allocations: 150.1 kB / 0.5433 GB, free: 48.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/1.247, allocations: 0.9469 MB / 0.5442 GB, free: 48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/1.247, allocations: 8 kB / 0.5442 GB, free: 47.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/1.247, allocations: 4 kB / 0.5442 GB, free: 47.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/1.247, allocations: 7.938 kB / 0.5442 GB, free: 47.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/1.257, allocations: 4.531 MB / 0.5486 GB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.039e-05/1.257, allocations: 16 kB / 0.5487 GB, free: 43.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/1.258, allocations: 179.8 kB / 0.5488 GB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.033e-05/1.258, allocations: 27.94 kB / 0.5488 GB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/1.258, allocations: 20 kB / 0.5489 GB, free: 42.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.551e-05/1.258, allocations: 35.81 kB / 0.5489 GB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.878e-05/1.258, allocations: 27.88 kB / 0.5489 GB, free: 42.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/1.261, allocations: 2.355 MB / 0.5512 GB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/1.261, allocations: 235.1 kB / 0.5515 GB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002808/1.261, allocations: 27.98 kB / 0.5515 GB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009642/1.262, allocations: 19.98 kB / 0.5515 GB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/1.263, allocations: 111.5 kB / 0.5516 GB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-05/1.263, allocations: 40 kB / 0.5516 GB, free: 39.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001763/1.264, allocations: 0.9045 MB / 0.5525 GB, free: 38.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.264, allocations: 0 / 0.5525 GB, free: 38.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003424/1.268, allocations: 419.9 kB / 0.5529 GB, free: 37.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003472/1.271, allocations: 7.62 MB / 0.5604 GB, free: 29.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003278/1.275, allocations: 1.529 MB / 0.5619 GB, free: 28.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.705e-05/1.275, allocations: 4 kB / 0.5619 GB, free: 28.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007443/1.276, allocations: 363.6 kB / 0.5622 GB, free: 27.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/1.277, allocations: 173.5 kB / 0.5624 GB, free: 27.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/1.291, allocations: 4.62 MB / 0.5669 GB, free: 22.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003168/1.294, allocations: 2.207 MB / 0.569 GB, free: 20.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003433/1.298, allocations: 0.6595 MB / 0.5697 GB, free: 20.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00242/1.3, allocations: 1.015 MB / 0.5707 GB, free: 19 MB / 410.7 MB Notification: Performance of SimCode: time 1.864e-06/1.3, allocations: 0 / 0.5707 GB, free: 19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1671/1.467, allocations: 31.89 MB / 0.6018 GB, free: 3.098 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002915/1.468, allocations: 135.5 kB / 0.602 GB, free: 2.898 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.179/4.647, allocations: 0 / 0.602 GB, free: 2.898 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat