Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.479/2.479, allocations: 270 MB / 283.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.286e-05/4.287e-05, allocations: 4 kB / 348.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.394, allocations: 61.88 MB / 410.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2042/0.5982, allocations: 109.5 MB / 0.5077 GB, free: 12.87 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.5986, allocations: 83.95 kB / 0.5078 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6902/1.289, allocations: 81.98 MB / 0.5879 GB, free: 54.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.289, allocations: 0 / 0.5879 GB, free: 54.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002534/1.289, allocations: 87.92 kB / 0.588 GB, free: 54.11 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.02508/1.314, allocations: 4.34 MB / 0.5922 GB, free: 49.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/1.314, allocations: 8.031 kB / 0.5922 GB, free: 49.7 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003468/1.318, allocations: 0.7333 MB / 0.5929 GB, free: 48.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01687/1.335, allocations: 2.182 MB / 0.5951 GB, free: 46.76 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01605/1.351, allocations: 4.278 MB / 0.5992 GB, free: 42.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003843/1.351, allocations: 304 kB / 0.5995 GB, free: 42.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002351/1.354, allocations: 399.8 kB / 0.5999 GB, free: 41.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0314/1.385, allocations: 10.17 MB / 0.6098 GB, free: 30.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00028/1.385, allocations: 59.41 kB / 0.6099 GB, free: 30.51 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002042/1.387, allocations: 195.9 kB / 0.6101 GB, free: 30.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002394/1.39, allocations: 0.9475 MB / 0.611 GB, free: 29.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02676/1.417, allocations: 8.323 MB / 0.6191 GB, free: 21.03 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07439/1.491, allocations: 45.88 MB / 0.6639 GB, free: 5.664 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0195/1.511, allocations: 3.348 MB / 0.6672 GB, free: 2.16 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003923/1.515, allocations: 1.635 MB / 0.6688 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01269/1.527, allocations: 4.438 MB / 0.6731 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.706e-05/1.528, allocations: 51.08 kB / 0.6732 GB, free: 11.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 5.199e-06/1.528, allocations: 0 / 0.6732 GB, free: 11.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=127): time 0.04096/1.569, allocations: 9.021 MB / 0.682 GB, free: 2.695 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.569, allocations: 145.2 kB / 0.6821 GB, free: 2.523 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01019/1.579, allocations: 3.525 MB / 0.6856 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004241/1.579, allocations: 41.7 kB / 0.6856 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003656/1.583, allocations: 3.04 MB / 0.6886 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001106/1.584, allocations: 0.5133 MB / 0.6891 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008637/1.585, allocations: 112 kB / 0.6892 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009279/1.586, allocations: 0.5374 MB / 0.6897 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005513/1.592, allocations: 1.733 MB / 0.6914 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009234/1.601, allocations: 5.273 MB / 0.6966 GB, free: 1.898 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007875/1.609, allocations: 3.006 MB / 0.6995 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001275/1.609, allocations: 40.23 kB / 0.6995 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=715) (initialization): time 0.02318/1.632, allocations: 7.138 MB / 0.7065 GB, free: 7.711 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/1.632, allocations: 60 kB / 0.7066 GB, free: 7.652 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/1.633, allocations: 128 kB / 0.7067 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004546/1.637, allocations: 0.9101 MB / 0.7076 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008257/1.645, allocations: 1.279 MB / 0.7088 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/1.656, allocations: 4.759 MB / 0.7135 GB, free: 448 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006357/1.663, allocations: 303.7 kB / 0.7138 GB, free: 144 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3887/2.051, allocations: 345.6 kB / 0.7141 GB, free: 128.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 584 * Number of states: 0 () * Number of discrete variables: 38 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (676): * Single equations (assignments): 672 * 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.002205/2.054, allocations: 0.5362 MB / 0.7146 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/2.055, allocations: 326.5 kB / 0.7149 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009867/2.065, allocations: 2.478 MB / 0.7173 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.359e-05/2.065, allocations: 15.62 kB / 0.7174 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/2.065, allocations: 4 kB / 0.7174 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.784e-05/2.065, allocations: 6.266 kB / 0.7174 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02072/2.086, allocations: 6.405 MB / 0.7236 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.443e-05/2.086, allocations: 9.688 kB / 0.7236 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002223/2.088, allocations: 206.5 kB / 0.7238 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004032/2.092, allocations: 0.6953 MB / 0.7245 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003583/2.092, allocations: 28.09 kB / 0.7245 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008574/2.101, allocations: 4.325 MB / 0.7288 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/2.101, allocations: 3.953 kB / 0.7288 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/2.113, allocations: 4.562 MB / 0.7332 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/2.114, allocations: 399.5 kB / 0.7336 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001251/2.115, allocations: 19.94 kB / 0.7336 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002962/2.118, allocations: 88.59 kB / 0.7337 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005738/2.119, allocations: 68.62 kB / 0.7338 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/2.119, allocations: 35.88 kB / 0.7338 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00664/2.126, allocations: 2.45 MB / 0.7362 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.543e-06/2.126, allocations: 0 / 0.7362 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007267/2.133, allocations: 0.8933 MB / 0.7371 GB, free: 126.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 91 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01242/2.146, allocations: 5.37 MB / 0.7423 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009877/2.155, allocations: 4.043 MB / 0.7463 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/2.156, allocations: 3.094 kB / 0.7463 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002694/2.158, allocations: 1.153 MB / 0.7474 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003647/2.162, allocations: 389.8 kB / 0.7478 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02822/2.19, allocations: 8.003 MB / 0.7556 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007096/2.197, allocations: 3.189 MB / 0.7587 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008209/2.206, allocations: 1.731 MB / 0.7604 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004421/2.21, allocations: 1.756 MB / 0.7621 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of SimCode: time 2.084e-06/2.21, allocations: 3.469 kB / 0.7621 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.167/2.377, allocations: 70.02 MB / 0.8305 GB, free: 63.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/2.377, allocations: 170.3 kB / 0.8306 GB, free: 63.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.285/7.662, allocations: 4 kB / 0.8306 GB, free: 63.05 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat