Running command: "" <> buildModelFMU(PlanarMechanics.Examples.SpringDamperDemo,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_SpringDamperDemo",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PlanarMechanics): time 2.099/2.099, allocations: 234.8 MB / 247 MB, free: 2.066 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.735e-05/3.736e-05, allocations: 4.219 kB / 302.3 MB, free: 14.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 52.37 MB / 354.7 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.505/0.6222, allocations: 88.48 MB / 443.2 MB, free: 8.406 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/0.6225, allocations: 76.58 kB / 443.2 MB, free: 8.332 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2696/0.8922, allocations: 62.07 MB / 0.4935 GB, free: 9.734 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.8922, allocations: 0 / 0.4935 GB, free: 9.734 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001463/0.8924, allocations: 48 kB / 0.4935 GB, free: 9.688 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: 1172 * Number of variables: 1172 Notification: Performance of Generate backend data structure: time 0.01229/0.9047, allocations: 2.732 MB / 0.4962 GB, free: 6.895 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/0.9048, allocations: 12.88 kB / 0.4962 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002889/0.9077, allocations: 0.5859 MB / 0.4968 GB, free: 6.285 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01703/0.9247, allocations: 1.969 MB / 0.4987 GB, free: 4.309 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006239/0.931, allocations: 1.661 MB / 0.5003 GB, free: 2.602 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003851/0.9315, allocations: 229.8 kB / 0.5005 GB, free: 2.375 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002101/0.9336, allocations: 291.9 kB / 0.5008 GB, free: 2.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02412/0.9578, allocations: 7.501 MB / 0.5081 GB, free: 10.22 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001544/0.958, allocations: 23.78 kB / 0.5081 GB, free: 10.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001421/0.9594, allocations: 135.9 kB / 0.5083 GB, free: 10.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002479/0.9619, allocations: 0.8999 MB / 0.5092 GB, free: 9.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02266/0.9846, allocations: 6.829 MB / 0.5158 GB, free: 2.324 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3684/1.353, allocations: 24.12 MB / 0.5394 GB, free: 96.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007325/1.36, allocations: 2.098 MB / 0.5414 GB, free: 95.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00201/1.362, allocations: 0.7031 MB / 0.5421 GB, free: 95.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009786/1.372, allocations: 3.991 MB / 0.546 GB, free: 93.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/1.372, allocations: 52.52 kB / 0.5461 GB, free: 93.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=114): time 5.591e-06/1.372, allocations: 0 / 0.5461 GB, free: 93.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=117): time 0.01458/1.387, allocations: 3.752 MB / 0.5497 GB, free: 92.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/1.387, allocations: 61.38 kB / 0.5498 GB, free: 92.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005798/1.393, allocations: 2.286 MB / 0.552 GB, free: 92.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000231/1.393, allocations: 48.09 kB / 0.5521 GB, free: 92.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001735/1.395, allocations: 2.107 MB / 0.5541 GB, free: 90.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006589/1.396, allocations: 457.7 kB / 0.5546 GB, free: 90.49 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003984/1.396, allocations: 70 kB / 0.5546 GB, free: 90.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002532/1.396, allocations: 476.6 kB / 0.5551 GB, free: 90.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002737/1.399, allocations: 1.1 MB / 0.5562 GB, free: 89.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004144/1.403, allocations: 3.211 MB / 0.5593 GB, free: 86.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00423/1.408, allocations: 1.928 MB / 0.5612 GB, free: 85.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.769e-05/1.408, allocations: 20.44 kB / 0.5612 GB, free: 85.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=486) (initialization): time 0.01115/1.419, allocations: 4.083 MB / 0.5652 GB, free: 84.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.802e-05/1.419, allocations: 37.34 kB / 0.5652 GB, free: 84.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/1.419, allocations: 74.03 kB / 0.5653 GB, free: 84.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001438/1.419, allocations: 116.9 kB / 0.5654 GB, free: 84.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005271/1.424, allocations: 0.8443 MB / 0.5662 GB, free: 84.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001432/1.425, allocations: 148.3 kB / 0.5664 GB, free: 84.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004477/1.429, allocations: 186.2 kB / 0.5665 GB, free: 84.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009634/1.43, allocations: 223.6 kB / 0.5668 GB, free: 84.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 344 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],springDamper.colorConnector_b[3],springDamper.colorConnector_b[2],springDamper.colorConnector_b[1],springDamper.colorConnector_a[3],springDamper.colorConnector_a[2],springDamper.colorConnector_a[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (458): * Single equations (assignments): 453 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001059/1.431, allocations: 388 kB / 0.5671 GB, free: 84.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005875/1.432, allocations: 205.8 kB / 0.5673 GB, free: 83.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003496/1.435, allocations: 1.324 MB / 0.5686 GB, free: 83.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002412/1.436, allocations: 27.2 kB / 0.5686 GB, free: 83.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/1.436, allocations: 3.953 kB / 0.5686 GB, free: 83.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/1.436, allocations: 7.75 kB / 0.5687 GB, free: 83.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01902/1.455, allocations: 4.693 MB / 0.5732 GB, free: 81.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/1.455, allocations: 7 kB / 0.5732 GB, free: 81.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/1.456, allocations: 178.5 kB / 0.5734 GB, free: 81.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.126e-05/1.457, allocations: 10.22 kB / 0.5734 GB, free: 81.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/1.457, allocations: 35.7 kB / 0.5735 GB, free: 81.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.65e-05/1.457, allocations: 14.69 kB / 0.5735 GB, free: 81.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/1.457, allocations: 14.59 kB / 0.5735 GB, free: 81.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004589/1.461, allocations: 2.643 MB / 0.5761 GB, free: 79.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.462, allocations: 304.7 kB / 0.5764 GB, free: 79.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007242/1.463, allocations: 22.83 kB / 0.5764 GB, free: 79.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001774/1.465, allocations: 52.42 kB / 0.5764 GB, free: 79.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/1.465, allocations: 71.75 kB / 0.5765 GB, free: 79.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/1.465, allocations: 49.39 kB / 0.5765 GB, free: 79.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003888/1.469, allocations: 1.606 MB / 0.5781 GB, free: 78.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.469, allocations: 0 / 0.5781 GB, free: 78.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004724/1.474, allocations: 0.6348 MB / 0.5787 GB, free: 78.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 85 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00542/1.48, allocations: 4.673 MB / 0.5833 GB, free: 75.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005794/1.485, allocations: 2.399 MB / 0.5856 GB, free: 74.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.485, allocations: 8.125 kB / 0.5856 GB, free: 74.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001275/1.487, allocations: 0.5852 MB / 0.5862 GB, free: 74.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002978/1.49, allocations: 346.7 kB / 0.5865 GB, free: 74.28 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/1.509, allocations: 6.189 MB / 0.5926 GB, free: 71.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004422/1.513, allocations: 2.618 MB / 0.5951 GB, free: 70.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005154/1.519, allocations: 1.113 MB / 0.5962 GB, free: 70.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00284/1.522, allocations: 1.249 MB / 0.5975 GB, free: 68.95 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/1.522, allocations: 0 / 0.5975 GB, free: 68.95 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/1.632, allocations: 48.51 MB / 0.6448 GB, free: 25.38 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/1.633, allocations: 154.2 kB / 0.645 GB, free: 25.15 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.091/5.723, allocations: 0 / 0.645 GB, free: 25.15 MB / 442.7 MB