Running command: "" <> buildModelFMU(PlanarMechanics.Examples.ControlledCraneCrab,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_ControlledCraneCrab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PlanarMechanics): time 2.063/2.063, allocations: 234.8 MB / 247 MB, free: 2.074 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.76e-05/3.772e-05, allocations: 0 / 302.3 MB, free: 14.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1188, allocations: 52.37 MB / 354.7 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4632/0.582, allocations: 89.77 MB / 444.4 MB, free: 7.133 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.5824, allocations: 76.59 kB / 444.5 MB, free: 7.059 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2806/0.863, allocations: 63.71 MB / 0.4963 GB, free: 6.867 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.8631, allocations: 0 / 0.4963 GB, free: 6.867 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001555/0.8632, allocations: 56 kB / 0.4964 GB, free: 6.812 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.01697/0.8802, allocations: 3.106 MB / 0.4994 GB, free: 3.645 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.8803, allocations: 11.97 kB / 0.4994 GB, free: 3.633 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002762/0.8831, allocations: 0.5779 MB / 0.5 GB, free: 3.043 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01761/0.9007, allocations: 1.938 MB / 0.5019 GB, free: 1.098 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008094/0.9089, allocations: 1.721 MB / 0.5036 GB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004731/0.9094, allocations: 233.7 kB / 0.5038 GB, free: 15.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002191/0.9116, allocations: 295.8 kB / 0.5041 GB, free: 14.81 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03074/0.9424, allocations: 7.479 MB / 0.5114 GB, free: 6.957 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001869/0.9427, allocations: 31.64 kB / 0.5114 GB, free: 6.926 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001169/0.9438, allocations: 139.9 kB / 0.5115 GB, free: 6.789 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003027/0.9469, allocations: 0.861 MB / 0.5124 GB, free: 5.926 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3363/1.283, allocations: 6.884 MB / 0.5191 GB, free: 103.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05623/1.34, allocations: 24.41 MB / 0.5429 GB, free: 93.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009449/1.349, allocations: 2.33 MB / 0.5452 GB, free: 93.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002562/1.352, allocations: 0.7897 MB / 0.546 GB, free: 93.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0136/1.365, allocations: 4.66 MB / 0.5505 GB, free: 90.65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/1.365, allocations: 44.69 kB / 0.5506 GB, free: 90.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=131): time 5.46e-06/1.365, allocations: 0 / 0.5506 GB, free: 90.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=153): time 0.0216/1.387, allocations: 6.141 MB / 0.5566 GB, free: 88.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/1.387, allocations: 71.78 kB / 0.5566 GB, free: 88.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005269/1.392, allocations: 2.347 MB / 0.5589 GB, free: 87.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003092/1.393, allocations: 45.61 kB / 0.559 GB, free: 87.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001742/1.394, allocations: 2.108 MB / 0.561 GB, free: 85.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008394/1.395, allocations: 0.5672 MB / 0.5616 GB, free: 85.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004621/1.396, allocations: 76.77 kB / 0.5617 GB, free: 85.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002833/1.396, allocations: 487.3 kB / 0.5621 GB, free: 84.74 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003102/1.399, allocations: 1.231 MB / 0.5633 GB, free: 84.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004571/1.404, allocations: 3.326 MB / 0.5666 GB, free: 81.06 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005124/1.409, allocations: 2.076 MB / 0.5686 GB, free: 80.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/1.409, allocations: 25.64 kB / 0.5686 GB, free: 80.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.01286/1.422, allocations: 4.548 MB / 0.5731 GB, free: 78.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.053e-05/1.422, allocations: 35.97 kB / 0.5731 GB, free: 78.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001028/1.422, allocations: 79.78 kB / 0.5732 GB, free: 78.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/1.424, allocations: 326.2 kB / 0.5735 GB, free: 78.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005526/1.429, allocations: 0.8702 MB / 0.5743 GB, free: 78.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005889/1.435, allocations: 3.343 MB / 0.5776 GB, free: 76.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004427/1.44, allocations: 203.2 kB / 0.5778 GB, free: 76.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006736/1.44, allocations: 235.5 kB / 0.578 GB, free: 76.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 16 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],PID.I.local_reset,body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (472): * Single equations (assignments): 467 * Array equations: 4 * 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,88.9%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007652/1.441, allocations: 392.1 kB / 0.5784 GB, free: 76.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005437/1.442, allocations: 231.7 kB / 0.5786 GB, free: 75.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004873/1.447, allocations: 1.955 MB / 0.5805 GB, free: 75.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001864/1.447, allocations: 26.95 kB / 0.5806 GB, free: 75.26 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/1.447, allocations: 0 / 0.5806 GB, free: 75.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.779e-05/1.447, allocations: 6.797 kB / 0.5806 GB, free: 75.26 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01767/1.465, allocations: 5.635 MB / 0.5861 GB, free: 73.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/1.465, allocations: 3.969 kB / 0.5861 GB, free: 73.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002314/1.467, allocations: 203.3 kB / 0.5863 GB, free: 73.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/1.468, allocations: 209.3 kB / 0.5865 GB, free: 73.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002259/1.469, allocations: 26.34 kB / 0.5865 GB, free: 73.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006183/1.475, allocations: 2.7 MB / 0.5891 GB, free: 71.19 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.475, allocations: 8 kB / 0.5891 GB, free: 71.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008693/1.484, allocations: 3.17 MB / 0.5922 GB, free: 69.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/1.486, allocations: 472.9 kB / 0.5927 GB, free: 69.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007135/1.486, allocations: 29.38 kB / 0.5927 GB, free: 69.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002398/1.489, allocations: 67.19 kB / 0.5928 GB, free: 69.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003677/1.489, allocations: 85.12 kB / 0.5928 GB, free: 69.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/1.489, allocations: 42.92 kB / 0.5929 GB, free: 69.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005153/1.495, allocations: 1.666 MB / 0.5945 GB, free: 68.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.82e-07/1.495, allocations: 0 / 0.5945 GB, free: 68.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006709/1.501, allocations: 0.7 MB / 0.5952 GB, free: 68.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (PID.I.y,PID.D.x,prismatic.s,prismatic.v,revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 107 * Array equations: 4 * 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 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009723/1.511, allocations: 4.384 MB / 0.5995 GB, free: 65.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009287/1.52, allocations: 2.949 MB / 0.6024 GB, free: 62.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.521, allocations: 8.062 kB / 0.6024 GB, free: 62.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00299/1.524, allocations: 0.9735 MB / 0.6033 GB, free: 61.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003901/1.527, allocations: 373 kB / 0.6037 GB, free: 61.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/1.547, allocations: 6.317 MB / 0.6098 GB, free: 56.08 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004607/1.551, allocations: 2.661 MB / 0.6124 GB, free: 53.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005339/1.557, allocations: 1.192 MB / 0.6136 GB, free: 53.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003066/1.56, allocations: 1.344 MB / 0.6149 GB, free: 52 MB / 442.7 MB Notification: Performance of SimCode: time 1.773e-06/1.56, allocations: 0 / 0.6149 GB, free: 52 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1223/1.682, allocations: 53.16 MB / 0.6668 GB, free: 1.57 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/1.683, allocations: 165.1 kB / 0.667 GB, free: 1.348 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.26/5.942, allocations: 4 kB / 0.667 GB, free: 1.344 MB / 442.7 MB