Running command: "" <> buildModelFMU(PlanarMechanics.Examples.SpringDemo,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_SpringDemo",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PlanarMechanics): time 2.119/2.119, allocations: 234.8 MB / 247 MB, free: 1.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.428e-05, allocations: 4.219 kB / 302.3 MB, free: 14.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1172, allocations: 52.37 MB / 354.7 MB, free: 10 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5066/0.6239, allocations: 90.22 MB / 444.9 MB, free: 6.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.6242, allocations: 71.97 kB / 445 MB, free: 6.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2795/0.9037, allocations: 68.47 MB / 0.5014 GB, free: 1.484 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.9037, allocations: 4 kB / 0.5014 GB, free: 1.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001705/0.9039, allocations: 60 kB / 0.5015 GB, free: 1.422 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: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.01303/0.917, allocations: 2.999 MB / 0.5044 GB, free: 14.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.917, allocations: 8.031 kB / 0.5044 GB, free: 14.36 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003298/0.9204, allocations: 0.6436 MB / 0.505 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01706/0.9375, allocations: 2.011 MB / 0.507 GB, free: 11.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006533/0.944, allocations: 1.791 MB / 0.5087 GB, free: 9.848 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003914/0.9445, allocations: 254.6 kB / 0.509 GB, free: 9.598 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00228/0.9468, allocations: 335.8 kB / 0.5093 GB, free: 9.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0266/0.9734, allocations: 8.072 MB / 0.5172 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001671/0.9736, allocations: 23.81 kB / 0.5172 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001652/0.9753, allocations: 151.9 kB / 0.5174 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3332/1.308, allocations: 0.9584 MB / 0.5183 GB, free: 103.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02358/1.332, allocations: 7.183 MB / 0.5253 GB, free: 103.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05714/1.389, allocations: 26.97 MB / 0.5516 GB, free: 90.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006791/1.396, allocations: 2.098 MB / 0.5537 GB, free: 89.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002401/1.399, allocations: 0.8961 MB / 0.5546 GB, free: 89.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01346/1.412, allocations: 5.507 MB / 0.5599 GB, free: 85.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/1.412, allocations: 53.44 kB / 0.56 GB, free: 85.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=119): time 6.052e-06/1.412, allocations: 0 / 0.56 GB, free: 85.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.01852/1.431, allocations: 6.099 MB / 0.566 GB, free: 83.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/1.431, allocations: 67.16 kB / 0.566 GB, free: 83.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006016/1.437, allocations: 2.576 MB / 0.5685 GB, free: 82.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002517/1.437, allocations: 41.39 kB / 0.5686 GB, free: 82.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001948/1.439, allocations: 2.36 MB / 0.5709 GB, free: 80.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007567/1.44, allocations: 0.5128 MB / 0.5714 GB, free: 79.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005506/1.441, allocations: 80.81 kB / 0.5715 GB, free: 79.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000393/1.441, allocations: 494.2 kB / 0.5719 GB, free: 79.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00349/1.444, allocations: 1.261 MB / 0.5732 GB, free: 79.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004933/1.449, allocations: 3.664 MB / 0.5767 GB, free: 75.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005131/1.455, allocations: 2.166 MB / 0.5789 GB, free: 74.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.954e-05/1.455, allocations: 27.53 kB / 0.5789 GB, free: 74.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=551) (initialization): time 0.01437/1.469, allocations: 5.195 MB / 0.584 GB, free: 72.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.562e-05/1.469, allocations: 42.97 kB / 0.584 GB, free: 72.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001424/1.469, allocations: 84.78 kB / 0.5841 GB, free: 72.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/1.471, allocations: 388 kB / 0.5844 GB, free: 72.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005786/1.477, allocations: 0.9111 MB / 0.5853 GB, free: 72.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007841/1.484, allocations: 8.218 MB / 0.5934 GB, free: 64.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007732/1.492, allocations: 216.5 kB / 0.5936 GB, free: 64.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001469/1.494, allocations: 251.6 kB / 0.5938 GB, free: 64.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 391 * Number of states: 0 () * Number of discrete variables: 30 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],damper.colorConnector_b[3],damper.colorConnector_b[2],damper.colorConnector_b[1],damper.colorConnector_a[3],damper.colorConnector_a[2],damper.colorConnector_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.colorConnector_b[3],spring1.colorConnector_b[2],spring1.colorConnector_b[1],spring1.colorConnector_a[3],spring1.colorConnector_a[2],spring1.colorConnector_a[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 (504): * Single equations (assignments): 494 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 11,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001887/1.496, allocations: 432.8 kB / 0.5942 GB, free: 64.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007873/1.497, allocations: 237.1 kB / 0.5944 GB, free: 64.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006295/1.503, allocations: 2.137 MB / 0.5965 GB, free: 63.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002491/1.503, allocations: 29 kB / 0.5966 GB, free: 63.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/1.503, allocations: 7.656 kB / 0.5966 GB, free: 63.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/1.503, allocations: 6.281 kB / 0.5966 GB, free: 63.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/1.519, allocations: 5.631 MB / 0.6021 GB, free: 60.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/1.519, allocations: 4 kB / 0.6021 GB, free: 60.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/1.52, allocations: 168.2 kB / 0.6022 GB, free: 60.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006475/1.521, allocations: 151.1 kB / 0.6024 GB, free: 60.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/1.521, allocations: 33.28 kB / 0.6024 GB, free: 60.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004157/1.525, allocations: 4.657 MB / 0.607 GB, free: 55.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.525, allocations: 7.719 kB / 0.607 GB, free: 55.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005754/1.531, allocations: 3.117 MB / 0.61 GB, free: 52.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/1.532, allocations: 335.4 kB / 0.6103 GB, free: 52.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005213/1.533, allocations: 21.56 kB / 0.6104 GB, free: 52.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/1.534, allocations: 58.98 kB / 0.6104 GB, free: 52.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/1.534, allocations: 86.16 kB / 0.6105 GB, free: 52.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/1.535, allocations: 40.78 kB / 0.6105 GB, free: 52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004126/1.539, allocations: 1.806 MB / 0.6123 GB, free: 50.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.539, allocations: 0 / 0.6123 GB, free: 50.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005487/1.544, allocations: 0.737 MB / 0.613 GB, free: 49.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 92 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006333/1.551, allocations: 4.61 MB / 0.6175 GB, free: 45.15 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007547/1.558, allocations: 3.381 MB / 0.6208 GB, free: 41.99 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/1.558, allocations: 0 / 0.6208 GB, free: 41.99 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002077/1.56, allocations: 1.049 MB / 0.6218 GB, free: 40.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/1.564, allocations: 374.8 kB / 0.6222 GB, free: 40.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02154/1.585, allocations: 6.492 MB / 0.6285 GB, free: 34.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009236/1.594, allocations: 2.818 MB / 0.6313 GB, free: 32.78 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008537/1.603, allocations: 1.214 MB / 0.6325 GB, free: 32.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004696/1.608, allocations: 1.432 MB / 0.6339 GB, free: 30.69 MB / 442.7 MB Notification: Performance of SimCode: time 1.904e-06/1.608, allocations: 0 / 0.6339 GB, free: 30.69 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1512/1.759, allocations: 55.13 MB / 0.6877 GB, free: 9.875 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003105/1.759, allocations: 157.9 kB / 0.6879 GB, free: 9.652 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.4/6.159, allocations: 0 / 0.6879 GB, free: 9.652 MB / 474.7 MB