Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.061/2.061, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.822e-05/2.832e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3076, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1747/0.4824, allocations: 97.04 MB / 391.3 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/0.4828, allocations: 83.95 kB / 391.3 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6817/1.165, allocations: 107.9 MB / 499.3 MB, free: 50.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.165, allocations: 0 / 499.3 MB, free: 50.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003786/1.165, allocations: 107.3 kB / 499.4 MB, free: 50.7 MB / 362.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.01935/1.184, allocations: 4.917 MB / 0.4925 GB, free: 45.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/1.184, allocations: 8.031 kB / 0.4925 GB, free: 45.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05035/1.235, allocations: 6.9 MB / 0.4992 GB, free: 38.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02551/1.26, allocations: 6.742 MB / 0.5058 GB, free: 32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000312/1.261, allocations: 175.9 kB / 0.506 GB, free: 31.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00257/1.263, allocations: 311.8 kB / 0.5063 GB, free: 31.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01844/1.282, allocations: 7.49 MB / 0.5136 GB, free: 24.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02702/1.309, allocations: 10.62 MB / 0.524 GB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004604/1.309, allocations: 63.41 kB / 0.524 GB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002448/1.312, allocations: 28 kB / 0.5241 GB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002077/1.314, allocations: 1.047 MB / 0.5251 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3957/1.71, allocations: 48.35 MB / 0.5723 GB, free: 60.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006387/1.716, allocations: 3.151 MB / 0.5754 GB, free: 60.31 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003833/1.72, allocations: 1.788 MB / 0.5771 GB, free: 60.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001774/1.722, allocations: 1.207 MB / 0.5783 GB, free: 59.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/1.722, allocations: 57.44 kB / 0.5784 GB, free: 59.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=185): time 5.461e-06/1.722, allocations: 0 / 0.5784 GB, free: 59.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=233): time 0.07285/1.795, allocations: 16.15 MB / 0.5941 GB, free: 56.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/1.795, allocations: 201.6 kB / 0.5943 GB, free: 56.33 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008495/1.803, allocations: 3.464 MB / 0.5977 GB, free: 55.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005632/1.804, allocations: 28.2 kB / 0.5977 GB, free: 55.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003483/1.808, allocations: 3.606 MB / 0.6013 GB, free: 53.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001325/1.809, allocations: 0.8438 MB / 0.6021 GB, free: 53.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007718/1.81, allocations: 0 / 0.6021 GB, free: 53.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004696/1.81, allocations: 0.5836 MB / 0.6026 GB, free: 53.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004976/1.815, allocations: 2.046 MB / 0.6046 GB, free: 53.15 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007858/1.823, allocations: 5.888 MB / 0.6104 GB, free: 48.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007899/1.831, allocations: 3.483 MB / 0.6138 GB, free: 47.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001776/1.831, allocations: 38.72 kB / 0.6138 GB, free: 47.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=865) (initialization): time 0.02468/1.856, allocations: 7.99 MB / 0.6216 GB, free: 45.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/1.856, allocations: 63.91 kB / 0.6217 GB, free: 45.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002129/1.856, allocations: 136.4 kB / 0.6218 GB, free: 45.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005577/1.862, allocations: 1.035 MB / 0.6228 GB, free: 45.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009239/1.871, allocations: 1.468 MB / 0.6243 GB, free: 45.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01339/1.885, allocations: 6.509 MB / 0.6306 GB, free: 41.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007209/1.892, allocations: 214.1 kB / 0.6308 GB, free: 41.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001573/1.894, allocations: 393.3 kB / 0.6312 GB, free: 41.68 MB / 394.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.001626/1.895, allocations: 462.9 kB / 0.6316 GB, free: 41.31 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01137/1.907, allocations: 3.73 MB / 0.6353 GB, free: 38.81 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/1.908, allocations: 387 kB / 0.6357 GB, free: 38.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/1.92, allocations: 3.442 MB / 0.639 GB, free: 35.65 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.835e-05/1.92, allocations: 28 kB / 0.639 GB, free: 35.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/1.92, allocations: 4 kB / 0.6391 GB, free: 35.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-05/1.92, allocations: 17.25 kB / 0.6391 GB, free: 35.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02658/1.947, allocations: 8.925 MB / 0.6478 GB, free: 28.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.468e-05/1.947, allocations: 8 kB / 0.6478 GB, free: 28.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003334/1.95, allocations: 367.4 kB / 0.6481 GB, free: 28.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004777/1.955, allocations: 0.779 MB / 0.6489 GB, free: 27.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000394/1.955, allocations: 15.23 kB / 0.6489 GB, free: 27.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01073/1.966, allocations: 5.248 MB / 0.654 GB, free: 22.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/1.966, allocations: 11.94 kB / 0.6541 GB, free: 22.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/1.981, allocations: 6.893 MB / 0.6608 GB, free: 16.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002477/1.984, allocations: 0.6955 MB / 0.6615 GB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009811/1.985, allocations: 8 kB / 0.6615 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002859/1.988, allocations: 63.47 kB / 0.6615 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004927/1.988, allocations: 164 kB / 0.6617 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/1.989, allocations: 60.62 kB / 0.6617 GB, free: 15.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004888/1.993, allocations: 2.337 MB / 0.664 GB, free: 13.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.172e-06/1.993, allocations: 0 / 0.664 GB, free: 13.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008365/2.002, allocations: 1.017 MB / 0.665 GB, free: 12.52 MB / 394.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.01697/2.019, allocations: 8.969 MB / 0.6738 GB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01164/2.031, allocations: 5.111 MB / 0.6788 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/2.031, allocations: 0 / 0.6788 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004292/2.035, allocations: 1.731 MB / 0.6805 GB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004445/2.039, allocations: 432.4 kB / 0.6809 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03953/2.079, allocations: 10.47 MB / 0.6911 GB, free: 4.496 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01107/2.09, allocations: 3.97 MB / 0.695 GB, free: 1.508 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01108/2.101, allocations: 2.024 MB / 0.697 GB, free: 184 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006422/2.108, allocations: 2.292 MB / 0.6992 GB, free: 13.89 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/2.108, allocations: 4 kB / 0.6992 GB, free: 13.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5369/2.645, allocations: 85.16 MB / 0.7824 GB, free: 116 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003237/2.645, allocations: 162.3 kB / 0.7825 GB, free: 115.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.519/8.164, allocations: 0 / 0.7825 GB, free: 115.8 MB / 442.7 MB