Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_Force2",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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(ModelicaTest): time 2.607/2.607, allocations: 235.1 MB / 242 MB, free: 9.73 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2051/2.812, allocations: 57.2 MB / 299.2 MB, free: 416 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/3.201, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5291/3.73, allocations: 104.6 MB / 458.7 MB, free: 35.24 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/3.73, allocations: 73.44 kB / 458.8 MB, free: 35.24 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 1.529/5.26, allocations: 241.5 MB / 0.6839 GB, free: 46.09 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/5.26, allocations: 9.531 kB / 0.6839 GB, free: 46.09 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1523/5.412, allocations: 12.35 MB / 0.696 GB, free: 45.19 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05827/5.47, allocations: 13.36 MB / 0.709 GB, free: 43.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001182/5.472, allocations: 415.1 kB / 0.7094 GB, free: 43.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00789/5.479, allocations: 0.7336 MB / 0.7101 GB, free: 43.67 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05677/5.536, allocations: 18 MB / 0.7277 GB, free: 41.55 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08823/5.625, allocations: 26.32 MB / 0.7534 GB, free: 17.46 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001306/5.626, allocations: 142.6 kB / 0.7535 GB, free: 17.39 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007193/5.633, allocations: 64 kB / 0.7536 GB, free: 17.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01055/5.644, allocations: 3.041 MB / 0.7566 GB, free: 14.85 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7866/6.43, allocations: 123.4 MB / 0.8771 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03105/6.462, allocations: 11.63 MB / 0.8885 GB, free: 59.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01872/6.48, allocations: 8.334 MB / 0.8966 GB, free: 58.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06517/6.546, allocations: 22.71 MB / 0.9188 GB, free: 55.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/6.546, allocations: 91.56 kB / 0.9189 GB, free: 55.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=514): time 1.031e-05/6.546, allocations: 2.031 kB / 0.9189 GB, free: 55.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=598): time 0.2586/6.804, allocations: 57.44 MB / 0.975 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001739/6.805, allocations: 377.7 kB / 0.9753 GB, free: 32.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02762/6.832, allocations: 8.186 MB / 0.9833 GB, free: 29.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002082/6.834, allocations: 27.05 kB / 0.9833 GB, free: 29.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.008069/6.843, allocations: 7.727 MB / 0.9909 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004917/6.847, allocations: 2.154 MB / 0.993 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00368/6.851, allocations: 0 / 0.993 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.002335/6.854, allocations: 0.9697 MB / 0.9939 GB, free: 21.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02171/6.875, allocations: 6.566 MB / 1 GB, free: 17.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3361/7.212, allocations: 15.03 MB / 1.015 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03034/7.242, allocations: 9.875 MB / 1.025 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005846/7.243, allocations: 90.5 kB / 1.025 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2037) (initialization): time 0.08272/7.325, allocations: 22.54 MB / 1.047 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/7.325, allocations: 13.28 kB / 1.047 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006012/7.326, allocations: 297.5 kB / 1.047 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01826/7.344, allocations: 3.119 MB / 1.05 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03506/7.379, allocations: 3.704 MB / 1.054 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0988/7.478, allocations: 20.37 MB / 1.074 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02925/7.508, allocations: 0.5196 MB / 1.074 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006809/7.515, allocations: 0.8975 MB / 1.075 GB, free: 102.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1365 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1919): * Single equations (assignments): 1912 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 20,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01009/7.525, allocations: 0.8724 MB / 1.076 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00479/7.53, allocations: 0.8989 MB / 1.077 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06259/7.592, allocations: 13.46 MB / 1.09 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002005/7.592, allocations: 61.2 kB / 1.09 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.529e-05/7.593, allocations: 18.75 kB / 1.09 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001912/7.593, allocations: 31.59 kB / 1.09 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1139/7.707, allocations: 27.34 MB / 1.117 GB, free: 93.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-05/7.707, allocations: 0 / 1.117 GB, free: 93.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01889/7.726, allocations: 1.07 MB / 1.118 GB, free: 93.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02006/7.746, allocations: 2.612 MB / 1.12 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002187/7.748, allocations: 23.11 kB / 1.12 GB, free: 92.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05692/7.805, allocations: 19.13 MB / 1.139 GB, free: 81.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/7.805, allocations: 3.938 kB / 1.139 GB, free: 81.79 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07185/7.877, allocations: 21.73 MB / 1.16 GB, free: 62.81 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3511/8.228, allocations: 30.34 MB / 1.19 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01022/8.238, allocations: 1.885 MB / 1.192 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005221/8.244, allocations: 9.75 kB / 1.192 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0129/8.257, allocations: 212.5 kB / 1.192 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002562/8.259, allocations: 277 kB / 1.192 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002097/8.261, allocations: 148.6 kB / 1.192 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.01961/8.281, allocations: 5.562 MB / 1.198 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02451/8.306, allocations: 2.617 MB / 1.2 GB, free: 105.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (511): * Single equations (assignments): 504 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002533/8.308, allocations: 190.2 kB / 1.2 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.06304/8.371, allocations: 16.15 MB / 1.216 GB, free: 105 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/8.371, allocations: 0 / 1.216 GB, free: 105 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.03428/8.406, allocations: 6.596 MB / 1.223 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01722/8.423, allocations: 0.9284 MB / 1.224 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1272/8.55, allocations: 24.89 MB / 1.248 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04917/8.599, allocations: 9.504 MB / 1.257 GB, free: 99.33 MB / 0.5105 GB Notification: Performance of SimCode: time 2.806e-06/8.599, allocations: 0 / 1.257 GB, free: 99.33 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat