Running command: "" <> buildModelFMU(PlanarMechanics.GearComponents.Examples.PlanetaryGear,fileNamePrefix="PlanarMechanics_PlanarMechanics_GearComponents_Examples_PlanetaryGear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PlanarMechanics): time 2.087/2.087, allocations: 234.8 MB / 247 MB, free: 2.051 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.602e-05, allocations: 4 kB / 302.3 MB, free: 14.47 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1141, allocations: 52.37 MB / 354.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5129/0.6271, allocations: 108.7 MB / 463.4 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003726/0.6275, allocations: 103.9 kB / 463.5 MB, free: 4.141 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8966/1.524, allocations: 152.8 MB / 0.6019 GB, free: 77.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.834e-06/1.524, allocations: 0 / 0.6019 GB, free: 77.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003653/1.525, allocations: 112 kB / 0.602 GB, free: 77.48 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: 2448 * Number of variables: 2448 Notification: Performance of Generate backend data structure: time 0.06485/1.589, allocations: 7.443 MB / 0.6092 GB, free: 69.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/1.589, allocations: 11.97 kB / 0.6093 GB, free: 69.95 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005812/1.595, allocations: 1.189 MB / 0.6104 GB, free: 68.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02992/1.625, allocations: 3.937 MB / 0.6143 GB, free: 64.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02101/1.646, allocations: 5.655 MB / 0.6198 GB, free: 59.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000651/1.647, allocations: 468.2 kB / 0.6202 GB, free: 58.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004135/1.651, allocations: 0.6168 MB / 0.6208 GB, free: 58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05558/1.707, allocations: 17.48 MB / 0.6379 GB, free: 39.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005135/1.707, allocations: 91.2 kB / 0.638 GB, free: 38.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003778/1.711, allocations: 311.7 kB / 0.6383 GB, free: 38.63 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004801/1.716, allocations: 1.966 MB / 0.6402 GB, free: 36.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04799/1.764, allocations: 14.98 MB / 0.6548 GB, free: 21.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5034/2.267, allocations: 80.47 MB / 0.7334 GB, free: 35.28 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04431/2.312, allocations: 7.199 MB / 0.7404 GB, free: 34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008207/2.32, allocations: 3.116 MB / 0.7435 GB, free: 33.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04447/2.365, allocations: 14.53 MB / 0.7577 GB, free: 30.51 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.349e-05/2.365, allocations: 69.44 kB / 0.7577 GB, free: 30.46 MB / 458.7 MB Notification: Performance of pre-optimization done (n=369): time 8.506e-06/2.365, allocations: 0 / 0.7577 GB, free: 30.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=425): time 0.1564/2.521, allocations: 24.56 MB / 0.7817 GB, free: 23.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/2.521, allocations: 199.2 kB / 0.7819 GB, free: 23.19 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02059/2.542, allocations: 5.795 MB / 0.7876 GB, free: 21 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008366/2.543, allocations: 88.75 kB / 0.7877 GB, free: 20.92 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004469/2.547, allocations: 4.799 MB / 0.7924 GB, free: 17.22 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002332/2.55, allocations: 1.566 MB / 0.7939 GB, free: 16.06 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001499/2.551, allocations: 209.3 kB / 0.7941 GB, free: 15.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001071/2.552, allocations: 0.7533 MB / 0.7948 GB, free: 15.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01114/2.564, allocations: 4.071 MB / 0.7988 GB, free: 13.88 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01356/2.577, allocations: 9.479 MB / 0.808 GB, free: 4.602 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01386/2.591, allocations: 5.96 MB / 0.8139 GB, free: 2.512 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002308/2.591, allocations: 59.81 kB / 0.8139 GB, free: 2.512 MB / 458.7 MB Notification: Performance of matching and sorting (n=1391) (initialization): time 0.05902/2.65, allocations: 13.15 MB / 0.8268 GB, free: 11.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002122/2.651, allocations: 100.2 kB / 0.8269 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004585/2.651, allocations: 211.9 kB / 0.8271 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004498/2.656, allocations: 1.048 MB / 0.8281 GB, free: 9.945 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01715/2.673, allocations: 2.4 MB / 0.8304 GB, free: 7.863 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02315/2.696, allocations: 9.007 MB / 0.8392 GB, free: 15.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01275/2.709, allocations: 493 kB / 0.8397 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002733/2.712, allocations: 0.6215 MB / 0.8403 GB, free: 14.29 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: heatCapacitor.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real ringTorque.phi:VARIABLE(start = 0.0 unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real sunSpeed.phi:VARIABLE(start = 0.0 unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real planetary.carrier.w:VARIABLE(start = 0.0 unit = "rad/s" ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 42 (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],fixed.color[3],fixed.color[2],fixed.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],planetary.body3D.sphereColor[3],planetary.body3D.sphereColor[2],planetary.body3D.sphereColor[1],planetary.bearing_Ring.cylinderColor[3],planetary.bearing_Ring.cylinderColor[2],planetary.bearing_Ring.cylinderColor[1],planetary.bearing_Carrier.cylinderColor[3],planetary.bearing_Carrier.cylinderColor[2],planetary.bearing_Carrier.cylinderColor[1],planetary.bearing_Sun.cylinderColor[3],planetary.bearing_Sun.cylinderColor[2],planetary.bearing_Sun.cylinderColor[1],planetary.bearing_Planet.cylinderColor[3],planetary.bearing_Planet.cylinderColor[2],planetary.bearing_Planet.cylinderColor[1],planetary.carrierAngle.color[3],planetary.carrierAngle.color[2],planetary.carrierAngle.color[1],planetary.carrierPart.color[3],planetary.carrierPart.color[2],planetary.carrierPart.color[1],planetary.planet.sphereColor[3],planetary.planet.sphereColor[2],planetary.planet.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1293): * Single equations (assignments): 1285 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 34} * Non-linear torn systems: 1 {1 15} Notification: Performance of prepare postOptimizeDAE: time 0.004102/2.716, allocations: 0.9109 MB / 0.8412 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001907/2.718, allocations: 0.5784 MB / 0.8418 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02259/2.74, allocations: 5.683 MB / 0.8473 GB, free: 7.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001555/2.741, allocations: 68.47 kB / 0.8474 GB, free: 7.848 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.644e-05/2.741, allocations: 7.953 kB / 0.8474 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.662e-05/2.741, allocations: 26.64 kB / 0.8474 GB, free: 7.836 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06924/2.81, allocations: 22.52 MB / 0.8694 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.104e-05/2.81, allocations: 28 kB / 0.8694 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006292/2.816, allocations: 0.6766 MB / 0.8701 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002488/2.819, allocations: 0.7104 MB / 0.8708 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008819/2.82, allocations: 101 kB / 0.8709 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3756/3.196, allocations: 7.871 MB / 0.8786 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.001e-05/3.196, allocations: 42.34 kB / 0.8786 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03276/3.228, allocations: 15.75 MB / 0.894 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002774/3.231, allocations: 0.7274 MB / 0.8947 GB, free: 113 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002754/3.234, allocations: 105.4 kB / 0.8948 GB, free: 113 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006515/3.241, allocations: 170.7 kB / 0.895 GB, free: 113 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00149/3.242, allocations: 327.3 kB / 0.8953 GB, free: 113 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009032/3.243, allocations: 143 kB / 0.8954 GB, free: 113 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01378/3.257, allocations: 4.251 MB / 0.8996 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.012e-06/3.257, allocations: 3.969 kB / 0.8996 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0133/3.27, allocations: 1.684 MB / 0.9012 GB, free: 112.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 117 * Number of states: 6 (heatCapacitor.T,planetary.planetRing.frame_a.phi,planetary.bearing_Carrier.phi,planetary.carrier.w,sunSpeed.phi,ringTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (370): * Single equations (assignments): 361 * Array equations: 6 * 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: 3 {(3,100.0%) 24,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03176/3.302, allocations: 21.01 MB / 0.9217 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.021/3.323, allocations: 8.59 MB / 0.9301 GB, free: 99.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-05/3.323, allocations: 3.594 kB / 0.9301 GB, free: 99.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007324/3.33, allocations: 3.113 MB / 0.9331 GB, free: 97.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0076/3.338, allocations: 0.779 MB / 0.9339 GB, free: 97.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05225/3.39, allocations: 15.55 MB / 0.9491 GB, free: 91.05 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0128/3.403, allocations: 5.067 MB / 0.954 GB, free: 89.24 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0171/3.42, allocations: 3.23 MB / 0.9572 GB, free: 89.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008184/3.429, allocations: 3.201 MB / 0.9603 GB, free: 86.45 MB / 0.4948 GB Notification: Performance of SimCode: time 1.503e-06/3.429, allocations: 0 / 0.9603 GB, free: 86.45 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6587/4.087, allocations: 138.1 MB / 1.095 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/4.088, allocations: 194 kB / 1.095 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/11.86, allocations: 0 / 1.095 GB, free: 118.6 MB / 0.4948 GB