Running command: "" <> buildModelFMU(PlanarMechanics.Examples.KinematicLoop,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_KinematicLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PlanarMechanics): time 2.169/2.169, allocations: 234.8 MB / 247 MB, free: 2.047 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.404e-05/3.409e-05, allocations: 4.219 kB / 302.3 MB, free: 14.44 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 52.37 MB / 354.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.47/0.5808, allocations: 88.41 MB / 443.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.5811, allocations: 71.97 kB / 443.2 MB, free: 8.336 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3436/0.9248, allocations: 74.16 MB / 0.5052 GB, free: 13.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.9248, allocations: 0 / 0.5052 GB, free: 13.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001762/0.925, allocations: 67.98 kB / 0.5053 GB, free: 13.57 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: 1368 * Number of variables: 1368 Notification: Performance of Generate backend data structure: time 0.02326/0.9483, allocations: 3.913 MB / 0.5091 GB, free: 9.602 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.9484, allocations: 8.031 kB / 0.5091 GB, free: 9.594 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003235/0.9516, allocations: 0.6846 MB / 0.5098 GB, free: 8.898 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02059/0.9722, allocations: 1.999 MB / 0.5117 GB, free: 6.891 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009589/0.9819, allocations: 1.896 MB / 0.5136 GB, free: 4.949 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006544/0.9826, allocations: 262.9 kB / 0.5138 GB, free: 4.691 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003081/0.9857, allocations: 351.8 kB / 0.5142 GB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3521/1.338, allocations: 8.777 MB / 0.5227 GB, free: 97.81 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002816/1.338, allocations: 27.84 kB / 0.5227 GB, free: 97.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002119/1.34, allocations: 163.8 kB / 0.5229 GB, free: 97.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003089/1.343, allocations: 1.038 MB / 0.5239 GB, free: 97.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02727/1.371, allocations: 7.933 MB / 0.5317 GB, free: 97.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06105/1.432, allocations: 30.03 MB / 0.561 GB, free: 82.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0126/1.445, allocations: 2.972 MB / 0.5639 GB, free: 80.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002871/1.447, allocations: 1.077 MB / 0.5649 GB, free: 80.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01203/1.46, allocations: 6.306 MB / 0.5711 GB, free: 76.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/1.46, allocations: 58.12 kB / 0.5712 GB, free: 76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=179): time 5.841e-06/1.46, allocations: 0 / 0.5712 GB, free: 76 MB / 442.7 MB Notification: Performance of matching and sorting (n=233): time 0.03084/1.491, allocations: 6.697 MB / 0.5777 GB, free: 74.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/1.491, allocations: 74.06 kB / 0.5778 GB, free: 73.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006347/1.497, allocations: 2.685 MB / 0.5804 GB, free: 72.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003883/1.497, allocations: 62.62 kB / 0.5804 GB, free: 72.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002079/1.5, allocations: 2.414 MB / 0.5828 GB, free: 71.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001122/1.501, allocations: 0.8413 MB / 0.5836 GB, free: 70.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005933/1.501, allocations: 102.5 kB / 0.5837 GB, free: 70.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004608/1.502, allocations: 0.513 MB / 0.5842 GB, free: 69.92 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00417/1.506, allocations: 1.56 MB / 0.5858 GB, free: 69.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005657/1.512, allocations: 4.121 MB / 0.5898 GB, free: 65.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005648/1.517, allocations: 2.59 MB / 0.5923 GB, free: 64.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.999e-05/1.518, allocations: 26.22 kB / 0.5923 GB, free: 64.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=659) (initialization): time 0.01638/1.534, allocations: 6.056 MB / 0.5982 GB, free: 62.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.875e-05/1.534, allocations: 41.34 kB / 0.5983 GB, free: 62.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/1.534, allocations: 91.91 kB / 0.5984 GB, free: 62.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003038/1.537, allocations: 0.7173 MB / 0.5991 GB, free: 62.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006442/1.544, allocations: 1.05 MB / 0.6001 GB, free: 62.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/1.562, allocations: 12.37 MB / 0.6122 GB, free: 51.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005441/1.567, allocations: 259.5 kB / 0.6124 GB, free: 51.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009358/1.568, allocations: 295 kB / 0.6127 GB, free: 50.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 413 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (583): * Single equations (assignments): 574 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(2,100.0%) 17,(2,100.0%) 10,(1,100.0%) 1} * Non-linear torn systems: 1 {2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0009344/1.569, allocations: 479.1 kB / 0.6132 GB, free: 50.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006609/1.57, allocations: 280.3 kB / 0.6134 GB, free: 49.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00797/1.578, allocations: 3.042 MB / 0.6164 GB, free: 47.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002029/1.578, allocations: 31.8 kB / 0.6164 GB, free: 47.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.462e-05/1.578, allocations: 11.33 kB / 0.6164 GB, free: 47.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-05/1.578, allocations: 6.844 kB / 0.6165 GB, free: 47.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02124/1.6, allocations: 8.171 MB / 0.6244 GB, free: 40.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/1.6, allocations: 4 kB / 0.6244 GB, free: 40.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002246/1.602, allocations: 295.2 kB / 0.6247 GB, free: 40.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002305/1.604, allocations: 0.5361 MB / 0.6252 GB, free: 39.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003127/1.605, allocations: 47.78 kB / 0.6253 GB, free: 39.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/1.618, allocations: 10.67 MB / 0.6357 GB, free: 29.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/1.619, allocations: 4 kB / 0.6357 GB, free: 29.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.629, allocations: 4.869 MB / 0.6405 GB, free: 24.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.63, allocations: 368.9 kB / 0.6408 GB, free: 24.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008569/1.631, allocations: 45.77 kB / 0.6409 GB, free: 24.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002148/1.633, allocations: 97.2 kB / 0.641 GB, free: 24.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004207/1.633, allocations: 146.8 kB / 0.6411 GB, free: 24.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/1.633, allocations: 64.55 kB / 0.6412 GB, free: 24.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004371/1.638, allocations: 1.894 MB / 0.643 GB, free: 22.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.011e-06/1.638, allocations: 0 / 0.643 GB, free: 22.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006102/1.644, allocations: 0.9133 MB / 0.6439 GB, free: 21.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute1.phi,revolute1.w,revolute4.phi,revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 160 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(2,100.0%) 15,(1,100.0%) 1,(1,100.0%) 7} * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01077/1.655, allocations: 6.457 MB / 0.6502 GB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009373/1.664, allocations: 4.387 MB / 0.6545 GB, free: 11.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/1.664, allocations: 0 / 0.6545 GB, free: 11.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003725/1.668, allocations: 1.868 MB / 0.6563 GB, free: 9.402 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003759/1.672, allocations: 429.2 kB / 0.6567 GB, free: 9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02312/1.695, allocations: 7.597 MB / 0.6641 GB, free: 1.332 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006089/1.701, allocations: 3.011 MB / 0.6671 GB, free: 14.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007082/1.708, allocations: 1.381 MB / 0.6684 GB, free: 12.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004472/1.713, allocations: 1.616 MB / 0.67 GB, free: 11.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.653e-06/1.713, allocations: 0 / 0.67 GB, free: 11.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4999/2.213, allocations: 67.69 MB / 0.7361 GB, free: 114.4 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/2.213, allocations: 172.6 kB / 0.7363 GB, free: 114.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.177/7.39, allocations: 0 / 0.7363 GB, free: 114.1 MB / 474.7 MB