Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.311/2.311, allocations: 270 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.713e-05/3.719e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1486, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5832/0.7318, allocations: 110.3 MB / 0.5085 GB, free: 9.613 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00036/0.7322, allocations: 83.95 kB / 0.5086 GB, free: 9.531 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4154/1.148, allocations: 95.54 MB / 0.6019 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.495e-06/1.148, allocations: 0 / 0.6019 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003377/1.148, allocations: 96 kB / 0.602 GB, free: 9.328 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.03196/1.18, allocations: 5.365 MB / 0.6072 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/1.18, allocations: 8.031 kB / 0.6072 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004025/1.184, allocations: 0.886 MB / 0.6081 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01826/1.202, allocations: 2.279 MB / 0.6103 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3941/1.597, allocations: 4.723 MB / 0.6149 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005717/1.597, allocations: 378.4 kB / 0.6153 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002934/1.6, allocations: 0.4904 MB / 0.6157 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04369/1.644, allocations: 12.36 MB / 0.6278 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004222/1.644, allocations: 64.06 kB / 0.6279 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002245/1.647, allocations: 239.7 kB / 0.6281 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00325/1.65, allocations: 1.153 MB / 0.6292 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03602/1.686, allocations: 10.48 MB / 0.6395 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08975/1.776, allocations: 54.24 MB / 0.6924 GB, free: 73.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02706/1.803, allocations: 5.047 MB / 0.6974 GB, free: 71.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006085/1.809, allocations: 3.118 MB / 0.7004 GB, free: 69.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002402/1.812, allocations: 1.004 MB / 0.7014 GB, free: 69.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.706e-05/1.812, allocations: 66.06 kB / 0.7015 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=203): time 6.522e-06/1.812, allocations: 0 / 0.7015 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=234): time 0.1026/1.914, allocations: 20.95 MB / 0.7219 GB, free: 61.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/1.914, allocations: 160.7 kB / 0.7221 GB, free: 61.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01138/1.926, allocations: 3.891 MB / 0.7259 GB, free: 58.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009459/1.927, allocations: 61.7 kB / 0.7259 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003455/1.93, allocations: 3.441 MB / 0.7293 GB, free: 55.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001669/1.932, allocations: 0.8841 MB / 0.7301 GB, free: 54.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009979/1.933, allocations: 124 kB / 0.7303 GB, free: 54.72 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004708/1.934, allocations: 0.5906 MB / 0.7308 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007149/1.941, allocations: 2.816 MB / 0.7336 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009662/1.95, allocations: 6.58 MB / 0.74 GB, free: 43.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009501/1.96, allocations: 4.255 MB / 0.7442 GB, free: 40.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001366/1.96, allocations: 40 kB / 0.7442 GB, free: 40.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.02824/1.988, allocations: 9.928 MB / 0.7539 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.989, allocations: 64 kB / 0.754 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001913/1.989, allocations: 134.3 kB / 0.7541 GB, free: 31.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004926/1.994, allocations: 1.134 MB / 0.7552 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01116/2.005, allocations: 1.627 MB / 0.7568 GB, free: 29.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/2.017, allocations: 5.932 MB / 0.7626 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009153/2.026, allocations: 404.8 kB / 0.763 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001988/2.028, allocations: 413.6 kB / 0.7634 GB, free: 23.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 44 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (817): * Single equations (assignments): 813 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002576/2.031, allocations: 0.6086 MB / 0.764 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001258/2.032, allocations: 398.8 kB / 0.7643 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/2.048, allocations: 5.222 MB / 0.7694 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.2e-05/2.048, allocations: 29.25 kB / 0.7695 GB, free: 18.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/2.048, allocations: 4 kB / 0.7695 GB, free: 18.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.467e-05/2.048, allocations: 10.83 kB / 0.7695 GB, free: 18.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04832/2.096, allocations: 11.58 MB / 0.7808 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.814e-05/2.096, allocations: 0 / 0.7808 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007857/2.104, allocations: 479.6 kB / 0.7812 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007085/2.111, allocations: 0.9371 MB / 0.7822 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007962/2.112, allocations: 43.98 kB / 0.7822 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01685/2.129, allocations: 5.637 MB / 0.7877 GB, free: 440 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/2.129, allocations: 7.938 kB / 0.7877 GB, free: 432 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03692/2.166, allocations: 9.262 MB / 0.7968 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005512/2.172, allocations: 0.8706 MB / 0.7976 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002238/2.174, allocations: 40 kB / 0.7976 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006901/2.181, allocations: 179.8 kB / 0.7978 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001286/2.182, allocations: 145.7 kB / 0.798 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005442/2.183, allocations: 64 kB / 0.798 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01122/2.194, allocations: 2.718 MB / 0.8007 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.192e-06/2.194, allocations: 4 kB / 0.8007 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01328/2.208, allocations: 1.206 MB / 0.8018 GB, free: 1.742 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 202 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03958/2.247, allocations: 10.61 MB / 0.8122 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01846/2.266, allocations: 6.579 MB / 0.8186 GB, free: 480 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/2.266, allocations: 0 / 0.8186 GB, free: 480 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.3906/2.656, allocations: 2.525 MB / 0.8211 GB, free: 134.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004445/2.661, allocations: 451.2 kB / 0.8215 GB, free: 134.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04206/2.703, allocations: 11.24 MB / 0.8325 GB, free: 132.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01086/2.714, allocations: 3.768 MB / 0.8362 GB, free: 132 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01175/2.726, allocations: 2.198 MB / 0.8383 GB, free: 131.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006393/2.732, allocations: 2.237 MB / 0.8405 GB, free: 131.9 MB / 0.5417 GB Notification: Performance of SimCode: time 1.824e-06/2.732, allocations: 0 / 0.8405 GB, free: 131.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2182/2.95, allocations: 92.63 MB / 0.931 GB, free: 90.85 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/2.951, allocations: 166.6 kB / 0.9311 GB, free: 90.63 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.006/8.957, allocations: 3.375 kB / 0.9311 GB, free: 90.63 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat