Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.386/2.386, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.4e-05, allocations: 3.438 kB / 249.8 MB, free: 5.242 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.563/0.6776, allocations: 97.03 MB / 391.3 MB, free: 3.125 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/0.678, allocations: 86.83 kB / 391.4 MB, free: 3.113 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5646/1.243, allocations: 107.9 MB / 499.4 MB, free: 4.105 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.243, allocations: 0 / 499.4 MB, free: 4.105 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004671/1.243, allocations: 107.9 kB / 499.5 MB, free: 4 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1738 * Number of variables: 1738 Notification: Performance of Generate backend data structure: time 0.3708/1.614, allocations: 4.917 MB / 0.4926 GB, free: 72.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.465e-05/1.614, allocations: 8.844 kB / 0.4926 GB, free: 72.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08416/1.698, allocations: 6.899 MB / 0.4993 GB, free: 72.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03384/1.732, allocations: 6.751 MB / 0.5059 GB, free: 71.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003357/1.733, allocations: 165 kB / 0.506 GB, free: 71.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002722/1.735, allocations: 319.4 kB / 0.5064 GB, free: 71.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02595/1.761, allocations: 7.48 MB / 0.5137 GB, free: 71.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0396/1.801, allocations: 10.63 MB / 0.524 GB, free: 69.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003995/1.801, allocations: 61.28 kB / 0.5241 GB, free: 69.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001596/1.803, allocations: 31.41 kB / 0.5241 GB, free: 69.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003454/1.806, allocations: 1.041 MB / 0.5251 GB, free: 69.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08934/1.896, allocations: 48.37 MB / 0.5724 GB, free: 37.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006385/1.902, allocations: 3.147 MB / 0.5754 GB, free: 36.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003529/1.906, allocations: 1.791 MB / 0.5772 GB, free: 35.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001947/1.908, allocations: 1.208 MB / 0.5784 GB, free: 34.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/1.908, allocations: 57.94 kB / 0.5784 GB, free: 34.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=185): time 6.372e-06/1.908, allocations: 0 / 0.5784 GB, free: 34.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=233): time 0.07926/1.987, allocations: 16.16 MB / 0.5942 GB, free: 26.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.338e-05/1.987, allocations: 205.9 kB / 0.5944 GB, free: 26.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008307/1.996, allocations: 3.458 MB / 0.5978 GB, free: 23.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005256/1.996, allocations: 25.7 kB / 0.5978 GB, free: 23.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002952/1.999, allocations: 3.608 MB / 0.6013 GB, free: 20.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001192/2, allocations: 0.8392 MB / 0.6021 GB, free: 19.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004992/2.001, allocations: 0 / 0.6021 GB, free: 19.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004341/2.001, allocations: 0.5845 MB / 0.6027 GB, free: 18.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004697/2.006, allocations: 2.048 MB / 0.6047 GB, free: 17.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006847/2.013, allocations: 5.893 MB / 0.6105 GB, free: 9.703 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007939/2.021, allocations: 3.469 MB / 0.6139 GB, free: 6.742 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001/2.021, allocations: 36 kB / 0.6139 GB, free: 6.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=865) (initialization): time 0.02557/2.047, allocations: 7.991 MB / 0.6217 GB, free: 15.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/2.047, allocations: 64 kB / 0.6218 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002305/2.047, allocations: 142.7 kB / 0.6219 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006281/2.053, allocations: 1.03 MB / 0.6229 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01069/2.064, allocations: 1.474 MB / 0.6243 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/2.082, allocations: 6.516 MB / 0.6307 GB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007884/2.09, allocations: 207.9 kB / 0.6309 GB, free: 7.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001692/2.092, allocations: 394.1 kB / 0.6313 GB, free: 7.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 43 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (801): * Single equations (assignments): 797 * 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%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001595/2.093, allocations: 465 kB / 0.6317 GB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01414/2.108, allocations: 3.723 MB / 0.6354 GB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00153/2.109, allocations: 391 kB / 0.6357 GB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01386/2.123, allocations: 3.438 MB / 0.6391 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.011e-05/2.123, allocations: 29.17 kB / 0.6391 GB, free: 384 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.251e-05/2.123, allocations: 8 kB / 0.6391 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.474e-05/2.123, allocations: 10.5 kB / 0.6391 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4251/2.548, allocations: 9.001 MB / 0.6479 GB, free: 78.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-05/2.548, allocations: 10.47 kB / 0.6479 GB, free: 78.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004587/2.553, allocations: 366 kB / 0.6483 GB, free: 78.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006724/2.56, allocations: 0.7879 MB / 0.6491 GB, free: 78.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005312/2.56, allocations: 12.16 kB / 0.6491 GB, free: 78.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01538/2.576, allocations: 5.244 MB / 0.6542 GB, free: 76.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-05/2.576, allocations: 7.031 kB / 0.6542 GB, free: 76.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02025/2.596, allocations: 6.904 MB / 0.6609 GB, free: 75.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00302/2.599, allocations: 0.6872 MB / 0.6616 GB, free: 75.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00134/2.601, allocations: 11.42 kB / 0.6616 GB, free: 75.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003679/2.604, allocations: 72.03 kB / 0.6617 GB, free: 75.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007141/2.605, allocations: 148.4 kB / 0.6618 GB, free: 75.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002803/2.605, allocations: 65.81 kB / 0.6619 GB, free: 75.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.007265/2.613, allocations: 2.338 MB / 0.6642 GB, free: 75.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.723e-06/2.613, allocations: 0 / 0.6642 GB, free: 75.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009897/2.623, allocations: 1.018 MB / 0.6652 GB, free: 75.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (185): * Single equations (assignments): 181 * 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%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02157/2.644, allocations: 8.967 MB / 0.6739 GB, free: 71.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01317/2.657, allocations: 5.085 MB / 0.6789 GB, free: 71.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/2.657, allocations: 2.906 kB / 0.6789 GB, free: 71.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004445/2.662, allocations: 1.724 MB / 0.6806 GB, free: 71.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004567/2.667, allocations: 448.2 kB / 0.681 GB, free: 71.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0373/2.704, allocations: 10.46 MB / 0.6912 GB, free: 68.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009682/2.714, allocations: 3.974 MB / 0.6951 GB, free: 67.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0113/2.725, allocations: 2.023 MB / 0.6971 GB, free: 67.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006343/2.731, allocations: 2.292 MB / 0.6993 GB, free: 65.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.794e-06/2.731, allocations: 0 / 0.6993 GB, free: 65.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2436/2.975, allocations: 85.18 MB / 0.7825 GB, free: 3.852 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003335/2.975, allocations: 171 kB / 0.7827 GB, free: 3.645 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.855/9.831, allocations: 7.844 kB / 0.7827 GB, free: 3.637 MB / 410.7 MB