Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.349/2.349, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.834e-05/3.85e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1379, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5891/0.727, allocations: 110.4 MB / 0.5085 GB, free: 9.535 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004241/0.7275, allocations: 79.95 kB / 0.5086 GB, free: 9.457 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.071/1.799, allocations: 150.3 MB / 0.6554 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.414e-06/1.799, allocations: 0 / 0.6554 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000721/1.8, allocations: 146.2 kB / 0.6555 GB, free: 109.3 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: 2276 * Number of variables: 2276 Notification: Performance of Generate backend data structure: time 0.05765/1.857, allocations: 8.548 MB / 0.6639 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/1.857, allocations: 7.5 kB / 0.6639 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005999/1.863, allocations: 1.162 MB / 0.665 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1157/1.979, allocations: 16.68 MB / 0.6813 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.047/2.026, allocations: 12.7 MB / 0.6937 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007377/2.027, allocations: 491.8 kB / 0.6942 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004085/2.031, allocations: 0.6655 MB / 0.6948 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05684/2.088, allocations: 16.72 MB / 0.7112 GB, free: 88.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006596/2.089, allocations: 103.1 kB / 0.7113 GB, free: 87.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003875/2.093, allocations: 321.9 kB / 0.7116 GB, free: 87.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00362/2.096, allocations: 1.477 MB / 0.713 GB, free: 86.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0472/2.144, allocations: 13.21 MB / 0.7259 GB, free: 72.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1263/2.27, allocations: 76.74 MB / 0.8009 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05015/2.32, allocations: 8.527 MB / 0.8092 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4524/2.773, allocations: 4.084 MB / 0.8132 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0033/2.776, allocations: 1.348 MB / 0.8145 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/2.776, allocations: 68.67 kB / 0.8146 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=268): time 7.804e-06/2.776, allocations: 2.953 kB / 0.8146 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=352): time 0.2733/3.049, allocations: 44.7 MB / 0.8582 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002983/3.052, allocations: 3.223 MB / 0.8614 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01997/3.072, allocations: 6.458 MB / 0.8677 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001403/3.074, allocations: 76.3 kB / 0.8677 GB, free: 106 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006498/3.08, allocations: 5.2 MB / 0.8728 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002943/3.083, allocations: 1.348 MB / 0.8741 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002237/3.086, allocations: 188.4 kB / 0.8743 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001235/3.087, allocations: 0.7068 MB / 0.875 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01251/3.1, allocations: 4.478 MB / 0.8794 GB, free: 99.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01654/3.116, allocations: 9.726 MB / 0.8889 GB, free: 90.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01625/3.133, allocations: 6.522 MB / 0.8952 GB, free: 88.47 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002874/3.133, allocations: 59.47 kB / 0.8953 GB, free: 88.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.1307/3.264, allocations: 30.92 MB / 0.9255 GB, free: 73.35 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/3.264, allocations: 85 kB / 0.9256 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1269/3.391, allocations: 20.58 MB / 0.9457 GB, free: 54.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08839/3.479, allocations: 16.59 MB / 0.9619 GB, free: 37.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01401/3.493, allocations: 2.117 MB / 0.9639 GB, free: 35.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07768/3.571, allocations: 33.34 MB / 0.9965 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01533/3.586, allocations: 0.773 MB / 0.9973 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003047/3.589, allocations: 0.5601 MB / 0.9978 GB, free: 496 kB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 63 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[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 (1092): * Single equations (assignments): 1079 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.005082/3.595, allocations: 0.8143 MB / 0.9986 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003148/3.598, allocations: 0.6784 MB / 0.9993 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04139/3.639, allocations: 10.15 MB / 1.009 GB, free: 4.719 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4765/4.116, allocations: 8.84 MB / 1.018 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.753e-05/4.116, allocations: 17.19 kB / 1.018 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001036/4.116, allocations: 19.75 kB / 1.018 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08876/4.205, allocations: 23.34 MB / 1.041 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.58e-05/4.205, allocations: 3.75 kB / 1.041 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006078/4.211, allocations: 0.5543 MB / 1.041 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.025/4.236, allocations: 4.006 MB / 1.045 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001302/4.237, allocations: 103.6 kB / 1.045 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05015/4.288, allocations: 23.98 MB / 1.069 GB, free: 100.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00265/4.29, allocations: 2.993 MB / 1.072 GB, free: 97.89 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04625/4.337, allocations: 15.47 MB / 1.087 GB, free: 91.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003115/4.34, allocations: 0.7005 MB / 1.087 GB, free: 91.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003303/4.343, allocations: 88.88 kB / 1.087 GB, free: 91.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008939/4.352, allocations: 363.5 kB / 1.088 GB, free: 91.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001826/4.354, allocations: 245 kB / 1.088 GB, free: 91.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001114/4.355, allocations: 96.72 kB / 1.088 GB, free: 91.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01376/4.369, allocations: 4.609 MB / 1.093 GB, free: 90.18 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.122e-06/4.369, allocations: 0 / 1.093 GB, free: 90.18 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01584/4.385, allocations: 2.129 MB / 1.095 GB, free: 89.96 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (244): * Single equations (assignments): 233 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(5,100.0%) 35,(1,100.0%) 1,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04815/4.433, allocations: 16.45 MB / 1.111 GB, free: 83.06 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02941/4.463, allocations: 11.5 MB / 1.122 GB, free: 74.96 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/4.463, allocations: 0 / 1.122 GB, free: 74.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0137/4.476, allocations: 5.088 MB / 1.127 GB, free: 70.31 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009296/4.486, allocations: 0.9409 MB / 1.128 GB, free: 69.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06991/4.556, allocations: 18.68 MB / 1.146 GB, free: 53.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01378/4.57, allocations: 5.503 MB / 1.151 GB, free: 49.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01589/4.586, allocations: 3.167 MB / 1.155 GB, free: 47.76 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009863/4.595, allocations: 3.667 MB / 1.158 GB, free: 44.39 MB / 0.5417 GB Notification: Performance of SimCode: time 1.764e-06/4.595, allocations: 4 kB / 1.158 GB, free: 44.38 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8579/5.453, allocations: 174.9 MB / 1.329 GB, free: 76.91 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/5.454, allocations: 189.4 kB / 1.329 GB, free: 76.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.373/14.83, allocations: 0 / 1.329 GB, free: 76.68 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat