Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.014/2.014, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.276e-05/4.296e-05, allocations: 0 / 292.8 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1256, allocations: 50.41 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5373/0.6629, allocations: 105.3 MB / 448.5 MB, free: 4.859 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.6633, allocations: 87.83 kB / 448.6 MB, free: 4.816 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8803/1.544, allocations: 112.7 MB / 0.5481 GB, free: 99.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.564e-06/1.544, allocations: 0 / 0.5481 GB, free: 99.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000347/1.544, allocations: 101.9 kB / 0.5482 GB, free: 99.38 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01854/1.563, allocations: 4.923 MB / 0.553 GB, free: 97.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.563, allocations: 11.78 kB / 0.553 GB, free: 97.34 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003738/1.566, allocations: 1.039 MB / 0.5541 GB, free: 97.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05459/1.621, allocations: 6.902 MB / 0.5608 GB, free: 96.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02407/1.645, allocations: 6.459 MB / 0.5671 GB, free: 96.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004886/1.646, allocations: 391.9 kB / 0.5675 GB, free: 96.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002867/1.649, allocations: 0.5175 MB / 0.568 GB, free: 96.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04001/1.689, allocations: 12.51 MB / 0.5802 GB, free: 92.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003469/1.689, allocations: 66.42 kB / 0.5803 GB, free: 92.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002221/1.691, allocations: 243.5 kB / 0.5805 GB, free: 92.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002216/1.693, allocations: 1.045 MB / 0.5815 GB, free: 92.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03379/1.727, allocations: 10.2 MB / 0.5915 GB, free: 89.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07669/1.804, allocations: 50.19 MB / 0.6405 GB, free: 45.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02157/1.826, allocations: 4.755 MB / 0.6451 GB, free: 41.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003983/1.83, allocations: 1.881 MB / 0.647 GB, free: 39.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01735/1.847, allocations: 7.027 MB / 0.6538 GB, free: 31.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/1.847, allocations: 47.56 kB / 0.6539 GB, free: 31.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=179): time 6.552e-06/1.847, allocations: 0 / 0.6539 GB, free: 31.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=224): time 0.1105/1.958, allocations: 17.01 MB / 0.6705 GB, free: 14.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/1.958, allocations: 205.9 kB / 0.6707 GB, free: 14.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0127/1.971, allocations: 3.888 MB / 0.6745 GB, free: 10.67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006119/1.971, allocations: 53.7 kB / 0.6745 GB, free: 10.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004487/1.976, allocations: 3.574 MB / 0.678 GB, free: 7.039 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001601/1.977, allocations: 0.8434 MB / 0.6788 GB, free: 6.203 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000943/1.978, allocations: 124 kB / 0.679 GB, free: 6.082 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006239/1.979, allocations: 0.5775 MB / 0.6795 GB, free: 5.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007391/1.986, allocations: 2.113 MB / 0.6816 GB, free: 3.383 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3442/2.331, allocations: 5.817 MB / 0.6873 GB, free: 85.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01486/2.346, allocations: 3.513 MB / 0.6907 GB, free: 85.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003345/2.346, allocations: 37.38 kB / 0.6907 GB, free: 85.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=835) (initialization): time 0.0438/2.39, allocations: 8.318 MB / 0.6989 GB, free: 85.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001857/2.39, allocations: 62.5 kB / 0.6989 GB, free: 85.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003236/2.391, allocations: 131.5 kB / 0.6991 GB, free: 85.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006331/2.397, allocations: 1.035 MB / 0.7001 GB, free: 85.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009352/2.406, allocations: 1.418 MB / 0.7014 GB, free: 85.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01551/2.422, allocations: 6.893 MB / 0.7082 GB, free: 83.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00791/2.43, allocations: 330.5 kB / 0.7085 GB, free: 83.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001789/2.432, allocations: 393.9 kB / 0.7089 GB, free: 83.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 46 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (771): * Single equations (assignments): 767 * 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.002776/2.434, allocations: 0.582 MB / 0.7094 GB, free: 83.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/2.436, allocations: 405 kB / 0.7098 GB, free: 83.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/2.449, allocations: 3.611 MB / 0.7133 GB, free: 83.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-05/2.449, allocations: 26.17 kB / 0.7134 GB, free: 83.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.832e-05/2.449, allocations: 7.562 kB / 0.7134 GB, free: 83.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-05/2.449, allocations: 15.2 kB / 0.7134 GB, free: 83.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03189/2.481, allocations: 9.804 MB / 0.723 GB, free: 80.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.216e-05/2.481, allocations: 10.89 kB / 0.723 GB, free: 80.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003388/2.485, allocations: 353.8 kB / 0.7233 GB, free: 80.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005065/2.49, allocations: 0.7949 MB / 0.7241 GB, free: 80.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004949/2.49, allocations: 45.78 kB / 0.7241 GB, free: 80.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01228/2.503, allocations: 5.598 MB / 0.7296 GB, free: 77.65 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.485e-06/2.503, allocations: 7.875 kB / 0.7296 GB, free: 77.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01647/2.519, allocations: 6.952 MB / 0.7364 GB, free: 74.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/2.521, allocations: 453.8 kB / 0.7368 GB, free: 73.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001388/2.522, allocations: 42.12 kB / 0.7369 GB, free: 73.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003755/2.526, allocations: 102.6 kB / 0.737 GB, free: 73.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000731/2.527, allocations: 141.5 kB / 0.7371 GB, free: 73.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002331/2.527, allocations: 68.36 kB / 0.7372 GB, free: 73.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007079/2.534, allocations: 2.723 MB / 0.7398 GB, free: 72.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.31e-07/2.534, allocations: 0 / 0.7398 GB, free: 72.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008513/2.543, allocations: 1.178 MB / 0.741 GB, free: 72.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (176): * Single equations (assignments): 172 * 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.01798/2.561, allocations: 8.904 MB / 0.7497 GB, free: 67.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01241/2.573, allocations: 5.116 MB / 0.7547 GB, free: 65.37 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/2.573, allocations: 3.656 kB / 0.7547 GB, free: 65.37 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004269/2.577, allocations: 1.741 MB / 0.7564 GB, free: 64.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004581/2.582, allocations: 0.5199 MB / 0.7569 GB, free: 64.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03606/2.618, allocations: 10.67 MB / 0.7673 GB, free: 59.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009578/2.628, allocations: 3.983 MB / 0.7712 GB, free: 56.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009483/2.637, allocations: 1.945 MB / 0.7731 GB, free: 55.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005561/2.643, allocations: 2.299 MB / 0.7753 GB, free: 53.38 MB / 442.7 MB Notification: Performance of SimCode: time 1.913e-06/2.643, allocations: 0 / 0.7753 GB, free: 53.38 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5538/3.197, allocations: 90.07 MB / 0.8633 GB, free: 83.7 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/3.197, allocations: 186 kB / 0.8635 GB, free: 83.47 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.049/9.246, allocations: 3.906 kB / 0.8635 GB, free: 83.47 MB / 458.7 MB