Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.536/2.536, allocations: 195 MB / 202.9 MB, free: 6.637 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.803e-05/3.824e-05, allocations: 5.719 kB / 249.8 MB, free: 5.27 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5667/0.6751, allocations: 90.24 MB / 384.5 MB, free: 5.094 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003665/0.6755, allocations: 86.48 kB / 384.6 MB, free: 5.082 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3996/1.075, allocations: 70.55 MB / 455.2 MB, free: 488 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.853e-06/1.075, allocations: 3.984 kB / 455.2 MB, free: 484 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002627/1.075, allocations: 71.98 kB / 455.2 MB, free: 408 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01518/1.091, allocations: 3.345 MB / 458.6 MB, free: 13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.842e-05/1.091, allocations: 12.03 kB / 458.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002727/1.094, allocations: 0.4983 MB / 459.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02025/1.114, allocations: 2.078 MB / 461.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01899/1.133, allocations: 4.01 MB / 465.2 MB, free: 6.316 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002639/1.133, allocations: 146.9 kB / 465.3 MB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001569/1.135, allocations: 207.9 kB / 465.5 MB, free: 5.969 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01598/1.151, allocations: 5.03 MB / 470.5 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02284/1.174, allocations: 7.946 MB / 478.5 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002489/1.174, allocations: 55.47 kB / 478.6 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008845/1.175, allocations: 28 kB / 478.6 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002523/1.177, allocations: 0.8721 MB / 479.4 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4364/1.614, allocations: 40.96 MB / 0.5082 GB, free: 65.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006076/1.62, allocations: 2.459 MB / 0.5106 GB, free: 65.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003727/1.624, allocations: 1.373 MB / 0.512 GB, free: 65.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006418/1.625, allocations: 331.6 kB / 0.5123 GB, free: 64.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/1.625, allocations: 48.42 kB / 0.5123 GB, free: 64.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 6.081e-06/1.625, allocations: 0 / 0.5123 GB, free: 64.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=130): time 0.04632/1.671, allocations: 11.25 MB / 0.5233 GB, free: 61.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/1.671, allocations: 172.8 kB / 0.5235 GB, free: 61.74 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/1.681, allocations: 2.788 MB / 0.5262 GB, free: 61.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004938/1.682, allocations: 25.7 kB / 0.5262 GB, free: 61.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003434/1.685, allocations: 2.768 MB / 0.5289 GB, free: 60 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001039/1.686, allocations: 0.5113 MB / 0.5294 GB, free: 59.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007447/1.687, allocations: 0 / 0.5294 GB, free: 59.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004777/1.688, allocations: 0.5415 MB / 0.5299 GB, free: 59.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004795/1.692, allocations: 1.583 MB / 0.5315 GB, free: 59.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007533/1.7, allocations: 5.101 MB / 0.5365 GB, free: 54.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007696/1.708, allocations: 2.844 MB / 0.5393 GB, free: 54.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001586/1.708, allocations: 36.47 kB / 0.5393 GB, free: 54.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02017/1.728, allocations: 5.996 MB / 0.5451 GB, free: 53.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/1.728, allocations: 58.03 kB / 0.5452 GB, free: 53.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002306/1.729, allocations: 130.9 kB / 0.5453 GB, free: 53.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/1.73, allocations: 349.4 kB / 0.5457 GB, free: 53.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/1.74, allocations: 1.326 MB / 0.547 GB, free: 53.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/1.744, allocations: 2.249 MB / 0.5491 GB, free: 51.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006991/1.751, allocations: 183.4 kB / 0.5493 GB, free: 51.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/1.753, allocations: 349.4 kB / 0.5497 GB, free: 51.51 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (686): * Single equations (assignments): 682 * Array equations: 3 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002065/1.755, allocations: 426.5 kB / 0.5501 GB, free: 51.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/1.756, allocations: 280.9 kB / 0.5503 GB, free: 51.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009505/1.765, allocations: 2.248 MB / 0.5525 GB, free: 50.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.312e-05/1.765, allocations: 16.94 kB / 0.5525 GB, free: 50.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/1.766, allocations: 3.812 kB / 0.5525 GB, free: 50.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.252e-05/1.766, allocations: 7.125 kB / 0.5526 GB, free: 50.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02239/1.788, allocations: 5.599 MB / 0.558 GB, free: 48.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.476e-05/1.788, allocations: 7.406 kB / 0.558 GB, free: 48.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002081/1.79, allocations: 173.3 kB / 0.5582 GB, free: 48.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004912/1.795, allocations: 0.708 MB / 0.5589 GB, free: 48.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003537/1.796, allocations: 13.39 kB / 0.5589 GB, free: 48.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/1.806, allocations: 4.291 MB / 0.5631 GB, free: 45.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/1.806, allocations: 3.781 kB / 0.5631 GB, free: 45.63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/1.82, allocations: 4.393 MB / 0.5674 GB, free: 43.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002452/1.823, allocations: 0.4966 MB / 0.5679 GB, free: 43.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001014/1.824, allocations: 6.375 kB / 0.5679 GB, free: 43.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00283/1.827, allocations: 52.42 kB / 0.5679 GB, free: 43.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005536/1.827, allocations: 69.12 kB / 0.568 GB, free: 43.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001933/1.828, allocations: 38.89 kB / 0.568 GB, free: 43.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005785/1.833, allocations: 1.849 MB / 0.5698 GB, free: 42.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.693e-06/1.833, allocations: 0 / 0.5698 GB, free: 42.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007706/1.841, allocations: 0.6967 MB / 0.5705 GB, free: 41.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * Array equations: 3 * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01438/1.856, allocations: 5.374 MB / 0.5758 GB, free: 37.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009882/1.866, allocations: 3.761 MB / 0.5794 GB, free: 33.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.866, allocations: 0 / 0.5794 GB, free: 33.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002751/1.868, allocations: 1.074 MB / 0.5805 GB, free: 32.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/1.872, allocations: 293.2 kB / 0.5808 GB, free: 32.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02837/1.9, allocations: 6.82 MB / 0.5874 GB, free: 26.51 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00661/1.907, allocations: 2.837 MB / 0.5902 GB, free: 24.33 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.009691/1.917, allocations: 1.715 MB / 0.5919 GB, free: 23.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00443/1.921, allocations: 1.511 MB / 0.5933 GB, free: 21.86 MB / 394.7 MB Notification: Performance of SimCode: time 1.944e-06/1.921, allocations: 0 / 0.5933 GB, free: 21.86 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5553/2.477, allocations: 60.4 MB / 0.6523 GB, free: 98.98 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002745/2.477, allocations: 160.7 kB / 0.6525 GB, free: 98.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.578/9.055, allocations: 3.094 kB / 0.6525 GB, free: 98.8 MB / 426.7 MB