Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_Universal",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.742/2.742, allocations: 235.1 MB / 242.3 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.081e-05, allocations: 4 kB / 299.6 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.434, allocations: 54.86 MB / 354.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.6399, allocations: 96.24 MB / 450.7 MB, free: 1.906 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.6403, allocations: 79.91 kB / 450.8 MB, free: 1.828 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8647/1.505, allocations: 92.52 MB / 0.5305 GB, free: 95.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.485e-06/1.505, allocations: 0 / 0.5305 GB, free: 95.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002274/1.505, allocations: 78.72 kB / 0.5306 GB, free: 95.41 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: 1763 * Number of variables: 1763 Notification: Performance of Generate backend data structure: time 0.01884/1.524, allocations: 4.244 MB / 0.5348 GB, free: 92.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/1.524, allocations: 7.531 kB / 0.5348 GB, free: 92.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03307/1.557, allocations: 3.604 MB / 0.5383 GB, free: 89.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01866/1.576, allocations: 4.453 MB / 0.5426 GB, free: 84.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/1.576, allocations: 145.4 kB / 0.5428 GB, free: 84.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002994/1.579, allocations: 259.9 kB / 0.543 GB, free: 84.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02112/1.601, allocations: 8.177 MB / 0.551 GB, free: 76.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03189/1.633, allocations: 10.71 MB / 0.5615 GB, free: 64.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002811/1.633, allocations: 39.64 kB / 0.5615 GB, free: 64.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002804/1.636, allocations: 16 kB / 0.5615 GB, free: 64.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003367/1.639, allocations: 1.328 MB / 0.5628 GB, free: 63.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08879/1.728, allocations: 38.78 MB / 0.6007 GB, free: 24.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009062/1.737, allocations: 5.094 MB / 0.6057 GB, free: 18.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005693/1.743, allocations: 2.935 MB / 0.6085 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002382/1.745, allocations: 1.881 MB / 0.6104 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/1.745, allocations: 56.56 kB / 0.6104 GB, free: 13.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=264): time 7.214e-06/1.745, allocations: 0 / 0.6104 GB, free: 13.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=285): time 0.06267/1.808, allocations: 16.71 MB / 0.6267 GB, free: 12.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/1.808, allocations: 81.41 kB / 0.6268 GB, free: 12.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006272/1.814, allocations: 2.449 MB / 0.6292 GB, free: 10.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007561/1.815, allocations: 29.7 kB / 0.6292 GB, free: 10.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003797/1.819, allocations: 3.073 MB / 0.6322 GB, free: 7.176 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00208/1.821, allocations: 1.002 MB / 0.6332 GB, free: 6.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008162/1.822, allocations: 0 / 0.6332 GB, free: 6.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006887/1.823, allocations: 0.5786 MB / 0.6338 GB, free: 5.574 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007667/1.83, allocations: 2.718 MB / 0.6364 GB, free: 2.848 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01171/1.842, allocations: 6.098 MB / 0.6424 GB, free: 11.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/1.854, allocations: 4.1 MB / 0.6464 GB, free: 6.973 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001392/1.854, allocations: 32 kB / 0.6464 GB, free: 6.941 MB / 458.7 MB Notification: Performance of matching and sorting (n=831) (initialization): time 0.03197/1.886, allocations: 9.422 MB / 0.6556 GB, free: 13.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/1.886, allocations: 56 kB / 0.6557 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001929/1.886, allocations: 116 kB / 0.6558 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007602/1.894, allocations: 1.39 MB / 0.6572 GB, free: 11.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01154/1.906, allocations: 1.466 MB / 0.6586 GB, free: 10.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01802/1.924, allocations: 6.816 MB / 0.6652 GB, free: 3.539 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00794/1.932, allocations: 303.6 kB / 0.6655 GB, free: 3.242 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001321/1.933, allocations: 364 kB / 0.6659 GB, free: 2.887 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 27 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (761): * Single equations (assignments): 754 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001483/1.934, allocations: 417 kB / 0.6663 GB, free: 2.473 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.3926/2.327, allocations: 5.772 MB / 0.6719 GB, free: 126 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001413/2.329, allocations: 295.3 kB / 0.6722 GB, free: 126 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02831/2.357, allocations: 6.411 MB / 0.6785 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001488/2.357, allocations: 46.91 kB / 0.6785 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/2.357, allocations: 3.969 kB / 0.6785 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-05/2.357, allocations: 11.34 kB / 0.6785 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04092/2.398, allocations: 12.81 MB / 0.691 GB, free: 124.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.842e-05/2.398, allocations: 7.75 kB / 0.691 GB, free: 124.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00508/2.403, allocations: 455.7 kB / 0.6915 GB, free: 124.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007062/2.41, allocations: 1.212 MB / 0.6926 GB, free: 124.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007111/2.411, allocations: 19.02 kB / 0.6927 GB, free: 124.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/2.426, allocations: 6.152 MB / 0.6987 GB, free: 121.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-05/2.426, allocations: 10.66 kB / 0.6987 GB, free: 121.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02677/2.453, allocations: 10.27 MB / 0.7087 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00326/2.456, allocations: 0.8116 MB / 0.7095 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001336/2.457, allocations: 12.06 kB / 0.7095 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004177/2.462, allocations: 166.3 kB / 0.7097 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001095/2.463, allocations: 161.8 kB / 0.7098 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003939/2.463, allocations: 77.86 kB / 0.7099 GB, free: 116.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004198/2.467, allocations: 1.604 MB / 0.7115 GB, free: 116.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.42e-07/2.467, allocations: 0 / 0.7115 GB, free: 116.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0085/2.476, allocations: 0.988 MB / 0.7124 GB, free: 116.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 213 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03447/2.51, allocations: 12.78 MB / 0.7249 GB, free: 108.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02258/2.533, allocations: 6.653 MB / 0.7314 GB, free: 103.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.746e-05/2.533, allocations: 0 / 0.7314 GB, free: 103.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009315/2.542, allocations: 2.677 MB / 0.734 GB, free: 100.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00391/2.546, allocations: 234.1 kB / 0.7343 GB, free: 100.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04332/2.59, allocations: 10.94 MB / 0.7449 GB, free: 91.05 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00863/2.599, allocations: 3.663 MB / 0.7485 GB, free: 88.25 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01251/2.611, allocations: 2.314 MB / 0.7508 GB, free: 86.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005994/2.617, allocations: 2.085 MB / 0.7528 GB, free: 84.96 MB / 474.7 MB Notification: Performance of SimCode: time 1.493e-06/2.617, allocations: 0 / 0.7528 GB, free: 84.96 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2048/2.822, allocations: 75.26 MB / 0.8263 GB, free: 11.59 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003069/2.822, allocations: 145.2 kB / 0.8264 GB, free: 11.39 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.703/8.526, allocations: 0 / 0.8264 GB, free: 11.39 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat