Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.823/1.823, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.955e-05/3.964e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2952, allocations: 38.77 MB / 263.9 MB, free: 9.715 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1848/0.4801, allocations: 91.97 MB / 355.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/0.4805, allocations: 83.95 kB / 355.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6496/1.13, allocations: 110.4 MB / 466.3 MB, free: 7.453 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.924e-06/1.13, allocations: 0 / 466.3 MB, free: 7.453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003622/1.131, allocations: 108 kB / 466.4 MB, free: 7.348 MB / 314.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.01923/1.15, allocations: 4.913 MB / 471.4 MB, free: 2.367 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/1.15, allocations: 8.031 kB / 471.4 MB, free: 2.359 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00427/1.154, allocations: 1.032 MB / 472.4 MB, free: 1.316 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05311/1.207, allocations: 6.904 MB / 479.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02808/1.235, allocations: 6.761 MB / 486.1 MB, free: 3.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006359/1.236, allocations: 390.3 kB / 486.4 MB, free: 3.188 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003105/1.239, allocations: 0.5153 MB / 487 MB, free: 2.672 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04463/1.284, allocations: 12.49 MB / 499.4 MB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003207/1.284, allocations: 59.47 kB / 499.5 MB, free: 5.156 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00215/1.286, allocations: 243.9 kB / 499.7 MB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002623/1.289, allocations: 1.036 MB / 0.489 GB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3037/1.593, allocations: 10.2 MB / 0.499 GB, free: 58.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07525/1.668, allocations: 50.11 MB / 0.5479 GB, free: 29.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02093/1.689, allocations: 4.751 MB / 0.5526 GB, free: 28.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003744/1.693, allocations: 1.89 MB / 0.5544 GB, free: 27.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01656/1.71, allocations: 7.054 MB / 0.5613 GB, free: 23.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/1.71, allocations: 47.09 kB / 0.5614 GB, free: 23.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=179): time 5.5e-06/1.71, allocations: 0 / 0.5614 GB, free: 23.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=224): time 0.09967/1.809, allocations: 17.1 MB / 0.5781 GB, free: 18.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.127e-05/1.81, allocations: 204.3 kB / 0.5782 GB, free: 18.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008627/1.818, allocations: 3.872 MB / 0.582 GB, free: 15.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004945/1.819, allocations: 61.7 kB / 0.5821 GB, free: 15.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003082/1.822, allocations: 3.567 MB / 0.5856 GB, free: 12.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001214/1.823, allocations: 0.8414 MB / 0.5864 GB, free: 11.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000767/1.824, allocations: 124 kB / 0.5865 GB, free: 11.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004598/1.824, allocations: 0.5772 MB / 0.5871 GB, free: 11.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005267/1.83, allocations: 2.106 MB / 0.5891 GB, free: 9.414 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007444/1.837, allocations: 5.802 MB / 0.5948 GB, free: 2.223 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008283/1.846, allocations: 3.536 MB / 0.5982 GB, free: 15.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001462/1.846, allocations: 40 kB / 0.5983 GB, free: 15.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.02731/1.873, allocations: 8.291 MB / 0.6064 GB, free: 8.215 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/1.873, allocations: 64 kB / 0.6064 GB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002207/1.873, allocations: 135.3 kB / 0.6066 GB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005755/1.879, allocations: 1.035 MB / 0.6076 GB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009276/1.889, allocations: 1.415 MB / 0.609 GB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01729/1.906, allocations: 6.924 MB / 0.6157 GB, free: 0 / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007316/1.913, allocations: 341.1 kB / 0.6161 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/1.915, allocations: 382.5 kB / 0.6164 GB, free: 15.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * 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 (768): * Single equations (assignments): 764 * 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.001421/1.916, allocations: 0.5941 MB / 0.617 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/1.917, allocations: 409.3 kB / 0.6174 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/1.93, allocations: 3.6 MB / 0.6209 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.944e-05/1.93, allocations: 24 kB / 0.6209 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-05/1.93, allocations: 8 kB / 0.6209 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.475e-05/1.93, allocations: 9.234 kB / 0.6209 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03233/1.962, allocations: 9.821 MB / 0.6305 GB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.083e-05/1.963, allocations: 4 kB / 0.6305 GB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003467/1.966, allocations: 364.1 kB / 0.6309 GB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005194/1.971, allocations: 0.7889 MB / 0.6317 GB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004677/1.972, allocations: 44 kB / 0.6317 GB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2788/2.251, allocations: 5.572 MB / 0.6371 GB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/2.251, allocations: 16.53 kB / 0.6372 GB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01654/2.267, allocations: 6.936 MB / 0.6439 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002718/2.27, allocations: 0.7155 MB / 0.6446 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/2.271, allocations: 42.66 kB / 0.6447 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003641/2.275, allocations: 101.5 kB / 0.6448 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007341/2.276, allocations: 149.3 kB / 0.6449 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002271/2.276, allocations: 61.8 kB / 0.645 GB, free: 80.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007014/2.283, allocations: 2.718 MB / 0.6476 GB, free: 80.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.42e-07/2.283, allocations: 7.406 kB / 0.6476 GB, free: 80.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008134/2.291, allocations: 1.172 MB / 0.6488 GB, free: 80.74 MB / 378.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.01737/2.309, allocations: 8.894 MB / 0.6575 GB, free: 77.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01163/2.32, allocations: 5.093 MB / 0.6624 GB, free: 77.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/2.32, allocations: 3.5 kB / 0.6624 GB, free: 77.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003853/2.324, allocations: 1.73 MB / 0.6641 GB, free: 77.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004251/2.329, allocations: 0.5138 MB / 0.6646 GB, free: 77.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03532/2.364, allocations: 10.66 MB / 0.675 GB, free: 74.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008801/2.373, allocations: 3.979 MB / 0.6789 GB, free: 73.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.009222/2.382, allocations: 1.933 MB / 0.6808 GB, free: 73.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005555/2.388, allocations: 2.317 MB / 0.6831 GB, free: 71.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.024e-06/2.388, allocations: 0 / 0.6831 GB, free: 71.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4681/2.856, allocations: 89.73 MB / 0.7707 GB, free: 55.94 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003242/2.856, allocations: 192.7 kB / 0.7709 GB, free: 55.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.792/8.648, allocations: 3.531 kB / 0.7709 GB, free: 55.71 MB / 378.7 MB