Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.638/2.638, allocations: 270.1 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.374e-05/4.399e-05, allocations: 4 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1345, allocations: 61.89 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5361/0.6707, allocations: 109 MB / 0.5072 GB, free: 11.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/0.6711, allocations: 75.97 kB / 0.5073 GB, free: 10.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4928/1.164, allocations: 105.1 MB / 0.6099 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.014e-06/1.164, allocations: 4 kB / 0.6099 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004606/1.164, allocations: 104 kB / 0.61 GB, free: 1.301 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.4031/1.568, allocations: 5.19 MB / 0.6151 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/1.568, allocations: 10.12 kB / 0.6151 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005116/1.573, allocations: 1.019 MB / 0.6161 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06266/1.635, allocations: 6.882 MB / 0.6228 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04259/1.678, allocations: 7.182 MB / 0.6298 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001002/1.679, allocations: 376.8 kB / 0.6301 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004082/1.683, allocations: 0.4913 MB / 0.6306 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04456/1.728, allocations: 12.21 MB / 0.6425 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004101/1.728, allocations: 73.61 kB / 0.6426 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002399/1.731, allocations: 240.4 kB / 0.6428 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002421/1.733, allocations: 1.145 MB / 0.644 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03108/1.764, allocations: 9.936 MB / 0.6537 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1138/1.878, allocations: 55.68 MB / 0.708 GB, free: 67.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02479/1.903, allocations: 5.651 MB / 0.7136 GB, free: 65.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005533/1.909, allocations: 2.831 MB / 0.7163 GB, free: 63.97 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02153/1.93, allocations: 8.787 MB / 0.7249 GB, free: 59.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.224e-05/1.93, allocations: 58.59 kB / 0.725 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=206): time 6.352e-06/1.93, allocations: 0 / 0.725 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=265): time 0.171/2.101, allocations: 29.3 MB / 0.7536 GB, free: 38.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.186e-05/2.102, allocations: 209.3 kB / 0.7538 GB, free: 38.31 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009994/2.112, allocations: 4.153 MB / 0.7578 GB, free: 34.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007529/2.112, allocations: 65.61 kB / 0.7579 GB, free: 34.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00326/2.116, allocations: 3.596 MB / 0.7614 GB, free: 30.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001704/2.117, allocations: 0.9821 MB / 0.7624 GB, free: 29.69 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009308/2.118, allocations: 135.9 kB / 0.7625 GB, free: 29.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004689/2.119, allocations: 0.595 MB / 0.7631 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00713/2.126, allocations: 2.946 MB / 0.766 GB, free: 26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009759/2.136, allocations: 6.722 MB / 0.7725 GB, free: 17.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009708/2.146, allocations: 4.419 MB / 0.7768 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001198/2.146, allocations: 39.98 kB / 0.7769 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.04151/2.187, allocations: 12.58 MB / 0.7892 GB, free: 348 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.803e-05/2.187, allocations: 60.94 kB / 0.7892 GB, free: 288 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001618/2.188, allocations: 139.9 kB / 0.7894 GB, free: 148 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02244/2.21, allocations: 4.085 MB / 0.7933 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009676/2.22, allocations: 1.423 MB / 0.7947 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09623/2.316, allocations: 25.79 MB / 0.8199 GB, free: 480 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01368/2.33, allocations: 403.3 kB / 0.8203 GB, free: 76 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.4463/2.776, allocations: 402 kB / 0.8207 GB, free: 127.6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (763): * Single equations (assignments): 757 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.002959/2.779, allocations: 0.6051 MB / 0.8213 GB, free: 127.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001469/2.781, allocations: 445 kB / 0.8217 GB, free: 127.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03248/2.813, allocations: 8.063 MB / 0.8296 GB, free: 127.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.409e-05/2.813, allocations: 27.67 kB / 0.8296 GB, free: 127.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.997e-05/2.813, allocations: 12.53 kB / 0.8296 GB, free: 127.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-05/2.814, allocations: 17.28 kB / 0.8296 GB, free: 127.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05805/2.872, allocations: 16.64 MB / 0.8459 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.627e-05/2.872, allocations: 6 kB / 0.8459 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004081/2.876, allocations: 294.8 kB / 0.8462 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01961/2.895, allocations: 3.77 MB / 0.8498 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007937/2.896, allocations: 48.34 kB / 0.8499 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05985/2.956, allocations: 24.55 MB / 0.8739 GB, free: 116.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/2.956, allocations: 13.97 kB / 0.8739 GB, free: 116.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03591/2.992, allocations: 12.55 MB / 0.8861 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/2.994, allocations: 495.4 kB / 0.8866 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00193/2.996, allocations: 48.11 kB / 0.8867 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006404/3.002, allocations: 166.9 kB / 0.8868 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001501/3.004, allocations: 193.4 kB / 0.887 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003967/3.004, allocations: 72.98 kB / 0.8871 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007594/3.012, allocations: 2.93 MB / 0.8899 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.733e-06/3.012, allocations: 2.844 kB / 0.8899 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01013/3.022, allocations: 1.428 MB / 0.8913 GB, free: 109.5 MB / 0.5417 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 (161): * Single equations (assignments): 155 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0435/3.066, allocations: 14.35 MB / 0.9053 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02238/3.088, allocations: 7.786 MB / 0.9129 GB, free: 99.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/3.088, allocations: 0 / 0.9129 GB, free: 99.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009267/3.097, allocations: 3.345 MB / 0.9162 GB, free: 98.21 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004995/3.103, allocations: 0.5553 MB / 0.9168 GB, free: 97.97 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03567/3.138, allocations: 12.02 MB / 0.9285 GB, free: 88.58 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008089/3.146, allocations: 4.04 MB / 0.9324 GB, free: 85.57 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00921/3.156, allocations: 2.026 MB / 0.9344 GB, free: 84.41 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005514/3.161, allocations: 2.374 MB / 0.9367 GB, free: 82.2 MB / 0.5417 GB Notification: Performance of SimCode: time 2.094e-06/3.161, allocations: 2.938 kB / 0.9367 GB, free: 82.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7184/3.88, allocations: 116.9 MB / 1.051 GB, free: 118.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/3.88, allocations: 201.5 kB / 1.051 GB, free: 118.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.747/10.63, allocations: 1.312 kB / 1.051 GB, free: 118.2 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat