Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.499/1.499, allocations: 171.2 MB / 178.1 MB, free: 8.297 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1904/1.69, allocations: 41.11 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09343/1.783, allocations: 38.77 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3792/2.162, allocations: 95.5 MB / 353.5 MB, free: 8.938 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/2.163, allocations: 84.77 kB / 353.6 MB, free: 8.898 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 1.357/3.52, allocations: 237.8 MB / 0.5775 GB, free: 18.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/3.52, allocations: 15.03 kB / 0.5775 GB, free: 18.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0336/3.553, allocations: 3.469 MB / 0.5809 GB, free: 18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05558/3.609, allocations: 12.14 MB / 0.5928 GB, free: 16.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001227/3.61, allocations: 386.3 kB / 0.5931 GB, free: 16.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008076/3.619, allocations: 0.7053 MB / 0.5938 GB, free: 16.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06287/3.681, allocations: 22 MB / 0.6153 GB, free: 16.08 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08924/3.771, allocations: 26.9 MB / 0.6416 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008317/3.772, allocations: 95.09 kB / 0.6417 GB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007152/3.779, allocations: 52 kB / 0.6417 GB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00684/3.786, allocations: 2.727 MB / 0.6444 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6539/4.44, allocations: 120.4 MB / 0.7619 GB, free: 36.25 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02277/4.462, allocations: 10.3 MB / 0.772 GB, free: 35.59 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01993/4.482, allocations: 9.154 MB / 0.7809 GB, free: 31.31 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08121/4.564, allocations: 32.71 MB / 0.8129 GB, free: 12.55 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/4.564, allocations: 79.31 kB / 0.813 GB, free: 12.48 MB / 394.8 MB Notification: Performance of pre-optimization done (n=483): time 1.028e-05/4.564, allocations: 3.344 kB / 0.813 GB, free: 12.48 MB / 394.8 MB Notification: Performance of matching and sorting (n=708): time 0.8163/5.38, allocations: 107.6 MB / 0.9181 GB, free: 84.31 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/5.38, allocations: 198.5 kB / 0.9182 GB, free: 84.15 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01798/5.398, allocations: 6.183 MB / 0.9243 GB, free: 81.93 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002856/5.401, allocations: 29.11 kB / 0.9243 GB, free: 81.89 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.01078/5.412, allocations: 6.645 MB / 0.9308 GB, free: 77.01 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.007284/5.42, allocations: 2.43 MB / 0.9332 GB, free: 75.15 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004333/5.424, allocations: 1.094 kB / 0.9332 GB, free: 75.15 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.003185/5.427, allocations: 0.9122 MB / 0.9341 GB, free: 74.58 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0264/5.454, allocations: 9.967 MB / 0.9438 GB, free: 65.94 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2351/5.689, allocations: 16.79 MB / 0.9602 GB, free: 78.77 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03497/5.724, allocations: 12.99 MB / 0.9729 GB, free: 78.67 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002866/5.724, allocations: 66.78 kB / 0.9729 GB, free: 78.67 MB / 394.8 MB Notification: Performance of matching and sorting (n=1887) (initialization): time 0.08661/5.811, allocations: 26.23 MB / 0.9986 GB, free: 77.99 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/5.811, allocations: 3.531 kB / 0.9986 GB, free: 77.99 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009044/5.812, allocations: 237.4 kB / 0.9988 GB, free: 77.99 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008087/5.813, allocations: 365.4 kB / 0.9991 GB, free: 77.99 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04837/5.861, allocations: 3.941 MB / 1.003 GB, free: 77.72 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005496/5.862, allocations: 482.4 kB / 1.003 GB, free: 77.62 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02437/5.886, allocations: 0.6979 MB / 1.004 GB, free: 77.62 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007277/5.893, allocations: 0.7569 MB / 1.005 GB, free: 77.62 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1086 * Number of states: 0 () * Number of discrete variables: 99 (body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[1],rod4.color[3],rod4.color[2],rod4.color[1],jointRRR3.rodColor[3],jointRRR3.rodColor[2],jointRRR3.rodColor[1],jointRRR3.cylinderColor[3],jointRRR3.cylinderColor[2],jointRRR3.cylinderColor[1],jointRRR3.jointUSR.rod1Color[3],jointRRR3.jointUSR.rod1Color[2],jointRRR3.jointUSR.rod1Color[1],jointRRR3.jointUSR.cylinderColor[3],jointRRR3.jointUSR.cylinderColor[2],jointRRR3.jointUSR.cylinderColor[1],jointRRR3.jointUSR.sphereColor[3],jointRRR3.jointUSR.sphereColor[2],jointRRR3.jointUSR.sphereColor[1],jointRRR3.jointUSR.revoluteColor[3],jointRRR3.jointUSR.revoluteColor[2],jointRRR3.jointUSR.revoluteColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[1],rod3.color[3],rod3.color[2],rod3.color[1],jointRRR2.rodColor[3],jointRRR2.rodColor[2],jointRRR2.rodColor[1],jointRRR2.cylinderColor[3],jointRRR2.cylinderColor[2],jointRRR2.cylinderColor[1],jointRRR2.jointUSR.rod1Color[3],jointRRR2.jointUSR.rod1Color[2],jointRRR2.jointUSR.rod1Color[1],jointRRR2.jointUSR.cylinderColor[3],jointRRR2.jointUSR.cylinderColor[2],jointRRR2.jointUSR.cylinderColor[1],jointRRR2.jointUSR.sphereColor[3],jointRRR2.jointUSR.sphereColor[2],jointRRR2.jointUSR.sphereColor[1],jointRRR2.jointUSR.revoluteColor[3],jointRRR2.jointUSR.revoluteColor[2],jointRRR2.jointUSR.revoluteColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],jointRRR1.rodColor[3],jointRRR1.rodColor[2],jointRRR1.rodColor[1],jointRRR1.cylinderColor[3],jointRRR1.cylinderColor[2],jointRRR1.cylinderColor[1],jointRRR1.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR3.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.rod1Color[3],jointRRR1.jointUSR.rod1Color[2],jointRRR1.jointUSR.rod1Color[1],jointRRR1.jointUSR.cylinderColor[3],jointRRR1.jointUSR.cylinderColor[2],jointRRR1.jointUSR.cylinderColor[1],jointRRR1.jointUSR.sphereColor[3],jointRRR1.jointUSR.sphereColor[2],jointRRR1.jointUSR.sphereColor[1],jointRRR1.jointUSR.revoluteColor[3],jointRRR1.jointUSR.revoluteColor[2],jointRRR1.jointUSR.revoluteColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1857): * Single equations (assignments): 1851 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01213/5.906, allocations: 0.7647 MB / 1.006 GB, free: 77.22 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005038/5.911, allocations: 0.7427 MB / 1.006 GB, free: 77.22 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06202/5.973, allocations: 19.18 MB / 1.025 GB, free: 71.66 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001507/5.973, allocations: 63.78 kB / 1.025 GB, free: 71.66 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.698e-05/5.973, allocations: 5.312 kB / 1.025 GB, free: 71.66 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001687/5.973, allocations: 31.08 kB / 1.025 GB, free: 71.66 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.115/6.088, allocations: 39.21 MB / 1.063 GB, free: 51.57 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-05/6.088, allocations: 3.25 kB / 1.063 GB, free: 51.57 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02853/6.117, allocations: 1.764 MB / 1.065 GB, free: 50.23 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001387/6.117, allocations: 22.03 kB / 1.065 GB, free: 50.21 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003007/6.12, allocations: 19.27 kB / 1.065 GB, free: 50.2 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.873e-05/6.12, allocations: 27.94 kB / 1.065 GB, free: 50.17 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/6.12, allocations: 7.281 kB / 1.065 GB, free: 50.17 MB / 394.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3065/6.427, allocations: 34.54 MB / 1.099 GB, free: 77.74 MB / 394.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.129/6.556, allocations: 47.88 MB / 1.146 GB, free: 68.88 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01055/6.567, allocations: 2.626 MB / 1.148 GB, free: 67.84 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0055/6.572, allocations: 3.625 kB / 1.148 GB, free: 67.84 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01763/6.59, allocations: 409 kB / 1.149 GB, free: 67.84 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005141/6.595, allocations: 322.5 kB / 1.149 GB, free: 67.79 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003614/6.599, allocations: 172.7 kB / 1.149 GB, free: 67.75 MB / 394.8 MB Notification: Performance of sort global known variables: time 0.01205/6.611, allocations: 4.14 MB / 1.153 GB, free: 66.26 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.02128/6.632, allocations: 2.767 MB / 1.156 GB, free: 66.25 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (692): * Single equations (assignments): 689 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00372/6.636, allocations: 289.8 kB / 1.156 GB, free: 66.17 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.05461/6.691, allocations: 22.66 MB / 1.178 GB, free: 57.38 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/6.691, allocations: 3.469 kB / 1.178 GB, free: 57.38 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02597/6.717, allocations: 9.775 MB / 1.188 GB, free: 52.2 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008396/6.725, allocations: 0.6139 MB / 1.188 GB, free: 51.67 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1177/6.843, allocations: 28.78 MB / 1.217 GB, free: 25.99 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2223/7.065, allocations: 9.142 MB / 1.226 GB, free: 78.47 MB / 394.8 MB Notification: Performance of SimCode: time 1.513e-06/7.065, allocations: 0 / 1.226 GB, free: 78.47 MB / 394.8 MB