Running command: "" <> buildModelFMU(PlanarMechanics.Examples.CraneCrabTo3D,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_CraneCrabTo3D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PlanarMechanics): time 2.141/2.141, allocations: 234.8 MB / 247 MB, free: 1.926 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.606e-05/3.621e-05, allocations: 4 kB / 302.3 MB, free: 14.42 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.114, allocations: 52.37 MB / 354.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5094/0.6234, allocations: 101.6 MB / 456.3 MB, free: 11.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.6237, allocations: 83.95 kB / 456.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8147/1.438, allocations: 119.8 MB / 0.5627 GB, free: 97.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.285e-06/1.438, allocations: 0 / 0.5627 GB, free: 97.87 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003139/1.439, allocations: 100.5 kB / 0.5628 GB, free: 97.87 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: 2075 * Number of variables: 2075 Notification: Performance of Generate backend data structure: time 0.02461/1.463, allocations: 5.339 MB / 0.568 GB, free: 95.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.463, allocations: 14.66 kB / 0.568 GB, free: 95.63 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004924/1.468, allocations: 1.021 MB / 0.569 GB, free: 95.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03012/1.499, allocations: 3.881 MB / 0.5728 GB, free: 95.15 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01829/1.517, allocations: 4.963 MB / 0.5777 GB, free: 94.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005457/1.518, allocations: 403.9 kB / 0.578 GB, free: 94.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003558/1.521, allocations: 0.5211 MB / 0.5786 GB, free: 93.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03884/1.56, allocations: 13.85 MB / 0.5921 GB, free: 84.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003053/1.56, allocations: 67.31 kB / 0.5921 GB, free: 84.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002263/1.563, allocations: 255.7 kB / 0.5924 GB, free: 84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003373/1.566, allocations: 1.535 MB / 0.5939 GB, free: 82.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0334/1.599, allocations: 11.83 MB / 0.6054 GB, free: 70.63 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09787/1.697, allocations: 58.94 MB / 0.663 GB, free: 10.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01762/1.715, allocations: 5.035 MB / 0.6679 GB, free: 5.086 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004395/1.72, allocations: 1.762 MB / 0.6696 GB, free: 3.312 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02547/1.745, allocations: 7.994 MB / 0.6774 GB, free: 11.04 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.321e-05/1.745, allocations: 63.77 kB / 0.6775 GB, free: 10.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=239): time 6.893e-06/1.745, allocations: 0 / 0.6775 GB, free: 10.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=269): time 0.3815/2.127, allocations: 13.07 MB / 0.6903 GB, free: 104.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/2.127, allocations: 157.3 kB / 0.6904 GB, free: 104.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01452/2.141, allocations: 4.724 MB / 0.695 GB, free: 104.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005245/2.142, allocations: 60.27 kB / 0.6951 GB, free: 104.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004386/2.146, allocations: 4.119 MB / 0.6991 GB, free: 102.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00177/2.148, allocations: 1.026 MB / 0.7001 GB, free: 101.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/2.149, allocations: 162.4 kB / 0.7003 GB, free: 101.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008657/2.15, allocations: 0.6507 MB / 0.7009 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007656/2.158, allocations: 2.404 MB / 0.7032 GB, free: 101.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01156/2.169, allocations: 7.145 MB / 0.7102 GB, free: 95.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/2.18, allocations: 4.234 MB / 0.7144 GB, free: 95.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002618/2.18, allocations: 50 kB / 0.7144 GB, free: 95.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.027/2.207, allocations: 9.157 MB / 0.7233 GB, free: 92.87 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001877/2.208, allocations: 80.92 kB / 0.7234 GB, free: 92.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000277/2.208, allocations: 167.1 kB / 0.7236 GB, free: 92.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/2.21, allocations: 490.5 kB / 0.7241 GB, free: 92.81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01159/2.221, allocations: 1.864 MB / 0.7259 GB, free: 92.58 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007415/2.229, allocations: 4.836 MB / 0.7306 GB, free: 89.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01053/2.239, allocations: 463.3 kB / 0.731 GB, free: 88.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002202/2.242, allocations: 487.7 kB / 0.7315 GB, free: 88.88 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 773 * Number of states: 0 () * Number of discrete variables: 36 (fixedRotation3D.color[3],fixedRotation3D.color[2],fixedRotation3D.color[1],body3D.sphereColor[3],body3D.sphereColor[2],body3D.sphereColor[1],prismatic3D.boxColor[3],prismatic3D.boxColor[2],prismatic3D.boxColor[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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1003): * Single equations (assignments): 995 * 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: 2 {(3,88.9%) 16,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003363/2.245, allocations: 0.7046 MB / 0.7322 GB, free: 88.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001491/2.247, allocations: 468.8 kB / 0.7326 GB, free: 88.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007945/2.255, allocations: 2.898 MB / 0.7355 GB, free: 86.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.748e-05/2.255, allocations: 29.55 kB / 0.7355 GB, free: 86.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/2.255, allocations: 4.438 kB / 0.7355 GB, free: 86.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.483e-05/2.255, allocations: 18.81 kB / 0.7355 GB, free: 86.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02645/2.281, allocations: 8.939 MB / 0.7442 GB, free: 83.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.51e-05/2.281, allocations: 3.969 kB / 0.7443 GB, free: 83.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003161/2.284, allocations: 380.9 kB / 0.7446 GB, free: 83.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/2.286, allocations: 248.8 kB / 0.7449 GB, free: 83.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000284/2.286, allocations: 49.47 kB / 0.7449 GB, free: 83.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005921/2.292, allocations: 4.004 MB / 0.7488 GB, free: 80.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/2.292, allocations: 15.02 kB / 0.7488 GB, free: 80.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/2.304, allocations: 6.487 MB / 0.7552 GB, free: 76.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/2.306, allocations: 0.5294 MB / 0.7557 GB, free: 76.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001532/2.307, allocations: 51.7 kB / 0.7557 GB, free: 76.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003892/2.311, allocations: 121.1 kB / 0.7558 GB, free: 76.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005769/2.312, allocations: 164.9 kB / 0.756 GB, free: 76.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00022/2.312, allocations: 78.69 kB / 0.7561 GB, free: 76.15 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008018/2.32, allocations: 3.289 MB / 0.7593 GB, free: 75 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.022e-06/2.32, allocations: 0 / 0.7593 GB, free: 75 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009883/2.33, allocations: 1.27 MB / 0.7605 GB, free: 74.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 6 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel,prismatic3D.s,prismatic3D.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 196 * 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: 2 {(2,100.0%) 15,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01199/2.342, allocations: 8.384 MB / 0.7687 GB, free: 69.49 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01343/2.356, allocations: 5.715 MB / 0.7743 GB, free: 64.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/2.356, allocations: 4 kB / 0.7743 GB, free: 64.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003814/2.359, allocations: 1.731 MB / 0.776 GB, free: 62.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004532/2.364, allocations: 0.5852 MB / 0.7766 GB, free: 62.37 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03402/2.398, allocations: 11.88 MB / 0.7882 GB, free: 51.94 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008077/2.406, allocations: 4.361 MB / 0.7924 GB, free: 48.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.012/2.418, allocations: 2.716 MB / 0.7951 GB, free: 46.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005598/2.424, allocations: 2.627 MB / 0.7976 GB, free: 44.56 MB / 458.7 MB Notification: Performance of SimCode: time 2.775e-06/2.424, allocations: 0 / 0.7976 GB, free: 44.56 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6145/3.038, allocations: 99.1 MB / 0.8944 GB, free: 90.81 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/3.039, allocations: 162.5 kB / 0.8946 GB, free: 90.59 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.273/9.312, allocations: 3.688 kB / 0.8946 GB, free: 90.59 MB / 474.7 MB