Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.103/2.103, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.652e-05/3.67e-05, allocations: 8 kB / 269.5 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1003, allocations: 47.57 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4807/0.5811, allocations: 97.73 MB / 414.8 MB, free: 6.238 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/0.5815, allocations: 86.58 kB / 414.8 MB, free: 6.195 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.048/1.63, allocations: 166.6 MB / 0.5678 GB, free: 83.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.655e-06/1.63, allocations: 0 / 0.5678 GB, free: 83.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008358/1.631, allocations: 166.6 kB / 0.568 GB, free: 83.53 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: 2489 * Number of variables: 2489 Notification: Performance of Generate backend data structure: time 0.03504/1.666, allocations: 8.192 MB / 0.576 GB, free: 80.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/1.666, allocations: 14.78 kB / 0.576 GB, free: 80.43 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006221/1.672, allocations: 1.254 MB / 0.5772 GB, free: 80.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1232/1.795, allocations: 16.56 MB / 0.5934 GB, free: 78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04721/1.843, allocations: 13.77 MB / 0.6068 GB, free: 65.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007225/1.843, allocations: 0.5484 MB / 0.6074 GB, free: 64.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004073/1.848, allocations: 0.7636 MB / 0.6081 GB, free: 64.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05407/1.902, allocations: 16.75 MB / 0.6245 GB, free: 46.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007853/1.903, allocations: 111 kB / 0.6246 GB, free: 46.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00364/1.906, allocations: 351.7 kB / 0.6249 GB, free: 45.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003621/1.91, allocations: 1.533 MB / 0.6264 GB, free: 44.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04423/1.954, allocations: 12.88 MB / 0.639 GB, free: 31.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5501/2.504, allocations: 74.8 MB / 0.712 GB, free: 45.47 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0411/2.546, allocations: 6.999 MB / 0.7189 GB, free: 44.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007191/2.553, allocations: 3.916 MB / 0.7227 GB, free: 44.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02843/2.581, allocations: 11.92 MB / 0.7343 GB, free: 42.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.529e-05/2.581, allocations: 68.25 kB / 0.7344 GB, free: 42.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=293): time 7.494e-06/2.581, allocations: 0 / 0.7344 GB, free: 42.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=366): time 0.2442/2.826, allocations: 35.3 MB / 0.7689 GB, free: 34.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/2.826, allocations: 407.4 kB / 0.7693 GB, free: 34.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01595/2.842, allocations: 6.376 MB / 0.7755 GB, free: 32.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009364/2.843, allocations: 81.17 kB / 0.7756 GB, free: 32.31 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005367/2.848, allocations: 5.442 MB / 0.7809 GB, free: 28.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002082/2.85, allocations: 1.344 MB / 0.7822 GB, free: 27.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/2.851, allocations: 175.6 kB / 0.7824 GB, free: 27.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000628/2.852, allocations: 0.6721 MB / 0.783 GB, free: 26.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008567/2.861, allocations: 3.463 MB / 0.7864 GB, free: 25.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01258/2.873, allocations: 8.284 MB / 0.7945 GB, free: 17.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01226/2.886, allocations: 5.293 MB / 0.7997 GB, free: 13.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002104/2.886, allocations: 48 kB / 0.7997 GB, free: 13.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=1139) (initialization): time 0.05275/2.939, allocations: 14.35 MB / 0.8137 GB, free: 1.781 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001767/2.939, allocations: 82.34 kB / 0.8138 GB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003676/2.939, allocations: 168 kB / 0.814 GB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02744/2.967, allocations: 4.102 MB / 0.818 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.013/2.98, allocations: 1.864 MB / 0.8198 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4022/3.382, allocations: 24.1 MB / 0.8433 GB, free: 92.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01172/3.394, allocations: 0.4922 MB / 0.8438 GB, free: 92.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002392/3.396, allocations: 0.4922 MB / 0.8443 GB, free: 92.48 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * Number of states: 0 () * Number of discrete variables: 72 (Rod3.color[3],Rod3.color[2],Rod3.color[1],Rod1.color[3],Rod1.color[2],Rod1.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1003): * Single equations (assignments): 997 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,72.0%) 101,(1,100.0%) 4} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.003312/3.4, allocations: 0.7687 MB / 0.845 GB, free: 92.37 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002121/3.402, allocations: 0.6919 MB / 0.8457 GB, free: 92.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03439/3.436, allocations: 8.843 MB / 0.8544 GB, free: 92.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-05/3.436, allocations: 39.44 kB / 0.8544 GB, free: 92.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-05/3.436, allocations: 16.84 kB / 0.8544 GB, free: 92.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.739e-05/3.437, allocations: 22.77 kB / 0.8544 GB, free: 92.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08613/3.523, allocations: 19.41 MB / 0.8734 GB, free: 90.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-05/3.523, allocations: 9.781 kB / 0.8734 GB, free: 90.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004131/3.527, allocations: 447 kB / 0.8738 GB, free: 90.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01865/3.546, allocations: 3.476 MB / 0.8772 GB, free: 90.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00111/3.547, allocations: 70.19 kB / 0.8773 GB, free: 90.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05265/3.599, allocations: 23.07 MB / 0.8998 GB, free: 78.99 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.389e-05/3.6, allocations: 13.19 kB / 0.8998 GB, free: 78.99 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03943/3.639, allocations: 14.92 MB / 0.9144 GB, free: 72.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004995/3.644, allocations: 1.22 MB / 0.9156 GB, free: 71.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002601/3.647, allocations: 76.8 kB / 0.9157 GB, free: 71.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007217/3.654, allocations: 215.5 kB / 0.9159 GB, free: 71.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002858/3.657, allocations: 261.1 kB / 0.9161 GB, free: 71.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008822/3.658, allocations: 106.6 kB / 0.9162 GB, free: 71.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0129/3.671, allocations: 4.588 MB / 0.9207 GB, free: 69.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.213e-06/3.671, allocations: 0 / 0.9207 GB, free: 69.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01487/3.686, allocations: 2.012 MB / 0.9227 GB, free: 69.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 2 (Inertia.phi,Inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 237 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,64.1%) 93,(1,100.0%) 4} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.04156/3.727, allocations: 16.91 MB / 0.9392 GB, free: 56.45 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0224/3.75, allocations: 8.938 MB / 0.9479 GB, free: 48.58 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-05/3.75, allocations: 0 / 0.9479 GB, free: 48.58 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0138/3.764, allocations: 3.981 MB / 0.9518 GB, free: 44.97 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01243/3.776, allocations: 1.008 MB / 0.9528 GB, free: 44.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07664/3.853, allocations: 17.96 MB / 0.9703 GB, free: 28.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01513/3.868, allocations: 5.944 MB / 0.9761 GB, free: 24.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01483/3.883, allocations: 2.795 MB / 0.9788 GB, free: 22.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009532/3.892, allocations: 3.955 MB / 0.9827 GB, free: 18.07 MB / 458.7 MB Notification: Performance of SimCode: time 2.274e-06/3.893, allocations: 0 / 0.9827 GB, free: 18.07 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8048/4.697, allocations: 161.4 MB / 1.14 GB, free: 25.69 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/4.698, allocations: 180.3 kB / 1.14 GB, free: 25.46 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.967/13.66, allocations: 0 / 1.14 GB, free: 25.46 MB / 474.7 MB