Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.868/1.868, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.251e-05/3.252e-05, allocations: 4 kB / 267.6 MB, free: 4.938 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1105, allocations: 48.71 MB / 316.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4456/0.5561, allocations: 98.12 MB / 414.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.5565, allocations: 69.97 kB / 414.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.186/1.742, allocations: 230.8 MB / 0.6302 GB, free: 15.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.294e-06/1.742, allocations: 0 / 0.6302 GB, free: 15.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009734/1.743, allocations: 252 kB / 0.6304 GB, free: 15.1 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: 4378 * Number of variables: 4378 Notification: Performance of Generate backend data structure: time 0.05479/1.798, allocations: 12.24 MB / 0.6424 GB, free: 2.766 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/1.798, allocations: 12.03 kB / 0.6424 GB, free: 2.754 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7179/2.516, allocations: 12.79 MB / 0.6549 GB, free: 35.81 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04626/2.562, allocations: 13.21 MB / 0.6678 GB, free: 35.21 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007912/2.563, allocations: 415.4 kB / 0.6682 GB, free: 35.21 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006278/2.569, allocations: 0.7271 MB / 0.6689 GB, free: 35.2 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04298/2.612, allocations: 17.43 MB / 0.6859 GB, free: 35.14 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06692/2.679, allocations: 25.76 MB / 0.711 GB, free: 29.23 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007573/2.68, allocations: 139.5 kB / 0.7112 GB, free: 29.21 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004991/2.685, allocations: 73.39 kB / 0.7113 GB, free: 29.21 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006372/2.692, allocations: 2.859 MB / 0.714 GB, free: 29.18 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5705/3.262, allocations: 121.4 MB / 0.8326 GB, free: 85.95 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02249/3.285, allocations: 10.93 MB / 0.8433 GB, free: 84.65 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01533/3.3, allocations: 7.669 MB / 0.8507 GB, free: 84.58 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002415/3.303, allocations: 1.097 MB / 0.8518 GB, free: 83.73 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/3.303, allocations: 96.5 kB / 0.8519 GB, free: 83.68 MB / 490.8 MB Notification: Performance of pre-optimization done (n=552): time 1.026e-05/3.303, allocations: 0 / 0.8519 GB, free: 83.68 MB / 490.8 MB Notification: Performance of matching and sorting (n=640): time 0.2203/3.523, allocations: 62.78 MB / 0.9132 GB, free: 69.9 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/3.523, allocations: 384.7 kB / 0.9136 GB, free: 69.52 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01981/3.543, allocations: 7.918 MB / 0.9213 GB, free: 66.77 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001865/3.545, allocations: 25.7 kB / 0.9213 GB, free: 66.73 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007549/3.553, allocations: 8.528 MB / 0.9297 GB, free: 60.27 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003987/3.557, allocations: 2.286 MB / 0.9319 GB, free: 58.56 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002764/3.56, allocations: 0 / 0.9319 GB, free: 58.56 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001344/3.561, allocations: 0.972 MB / 0.9329 GB, free: 57.97 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01553/3.577, allocations: 6.43 MB / 0.9391 GB, free: 55.62 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02097/3.598, allocations: 14.89 MB / 0.9537 GB, free: 40.88 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02078/3.618, allocations: 9.674 MB / 0.9631 GB, free: 33.23 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003484/3.619, allocations: 84 kB / 0.9632 GB, free: 33.15 MB / 490.8 MB Notification: Performance of matching and sorting (n=2053) (initialization): time 0.06587/3.685, allocations: 22.6 MB / 0.9853 GB, free: 14.65 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002248/3.685, allocations: 136 kB / 0.9854 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005129/3.685, allocations: 296 kB / 0.9857 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01367/3.699, allocations: 3.306 MB / 0.9889 GB, free: 11.76 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02837/3.728, allocations: 3.843 MB / 0.9927 GB, free: 8.527 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4335/4.161, allocations: 21.36 MB / 1.014 GB, free: 84.07 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02066/4.182, allocations: 0.6373 MB / 1.014 GB, free: 84.07 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004564/4.187, allocations: 0.9026 MB / 1.015 GB, free: 84.07 MB / 0.4949 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 (1935): * Single equations (assignments): 1928 * 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%) 21,(4,75.0%) 21,(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007139/4.194, allocations: 0.8884 MB / 1.016 GB, free: 83.9 MB / 0.4949 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03922/4.233, allocations: 13.2 MB / 1.029 GB, free: 83.7 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004085/4.237, allocations: 0.8924 MB / 1.03 GB, free: 83.7 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04745/4.285, allocations: 13.84 MB / 1.043 GB, free: 83.31 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001634/4.285, allocations: 65.66 kB / 1.043 GB, free: 83.31 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001033/4.285, allocations: 18.53 kB / 1.043 GB, free: 83.31 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001744/4.285, allocations: 28.12 kB / 1.043 GB, free: 83.31 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09741/4.383, allocations: 28.84 MB / 1.071 GB, free: 81.03 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.201e-05/4.383, allocations: 4.688 kB / 1.071 GB, free: 81.03 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01243/4.395, allocations: 1.257 MB / 1.073 GB, free: 80.99 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01239/4.408, allocations: 2.79 MB / 1.075 GB, free: 80.44 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001767/4.409, allocations: 31 kB / 1.075 GB, free: 80.43 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03802/4.447, allocations: 19.67 MB / 1.095 GB, free: 70.02 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-05/4.447, allocations: 14.94 kB / 1.095 GB, free: 70.02 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05361/4.501, allocations: 23.42 MB / 1.118 GB, free: 59.87 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007968/4.509, allocations: 1.928 MB / 1.119 GB, free: 58.85 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004232/4.513, allocations: 14.08 kB / 1.119 GB, free: 58.85 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0102/4.524, allocations: 364.8 kB / 1.12 GB, free: 58.85 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002483/4.526, allocations: 388.3 kB / 1.12 GB, free: 58.79 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007773/4.527, allocations: 162.7 kB / 1.12 GB, free: 58.75 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01304/4.54, allocations: 5.366 MB / 1.126 GB, free: 56.87 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.124e-06/4.54, allocations: 0 / 1.126 GB, free: 56.87 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0214/4.561, allocations: 2.655 MB / 1.128 GB, free: 55.48 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (553): * Single equations (assignments): 546 * 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%) 18,(4,75.0%) 18,(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.053/4.614, allocations: 24.96 MB / 1.153 GB, free: 33.29 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.03725/4.652, allocations: 16.34 MB / 1.168 GB, free: 19.38 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/4.652, allocations: 0 / 1.168 GB, free: 19.38 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01753/4.669, allocations: 6.849 MB / 1.175 GB, free: 13.39 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01001/4.679, allocations: 0.9617 MB / 1.176 GB, free: 12.61 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4568/5.136, allocations: 28.55 MB / 1.204 GB, free: 93.31 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02299/5.159, allocations: 8.798 MB / 1.213 GB, free: 92.29 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.02441/5.184, allocations: 5.07 MB / 1.218 GB, free: 92.2 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01602/5.2, allocations: 6.188 MB / 1.224 GB, free: 92.2 MB / 0.4949 GB Notification: Performance of SimCode: time 2.455e-06/5.2, allocations: 0 / 1.224 GB, free: 92.2 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8443/6.044, allocations: 214 MB / 1.433 GB, free: 87.66 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/6.044, allocations: 125.2 kB / 1.433 GB, free: 87.46 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/16.73, allocations: 0 / 1.433 GB, free: 87.46 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat