Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.53/2.53, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.277e-05/4.317e-05, allocations: 7.234 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1346, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5375/0.6722, allocations: 110.2 MB / 0.5084 GB, free: 9.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.6725, allocations: 79.94 kB / 0.5085 GB, free: 9.742 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4176/1.09, allocations: 97.88 MB / 0.6041 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.265e-06/1.09, allocations: 0 / 0.6041 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.00025/1.09, allocations: 88 kB / 0.6042 GB, free: 7.094 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.02563/1.116, allocations: 4.6 MB / 0.6087 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/1.116, allocations: 12.03 kB / 0.6087 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004858/1.121, allocations: 0.927 MB / 0.6096 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3876/1.509, allocations: 3.597 MB / 0.6131 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02745/1.536, allocations: 4.718 MB / 0.6177 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006953/1.537, allocations: 369.7 kB / 0.618 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003753/1.541, allocations: 498.6 kB / 0.6185 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05244/1.593, allocations: 11.89 MB / 0.6301 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004126/1.594, allocations: 32.66 kB / 0.6302 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003387/1.597, allocations: 220.3 kB / 0.6304 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004188/1.601, allocations: 1.294 MB / 0.6316 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04715/1.649, allocations: 11.04 MB / 0.6424 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09541/1.744, allocations: 41.36 MB / 0.6828 GB, free: 94.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01586/1.76, allocations: 4.892 MB / 0.6876 GB, free: 92 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004748/1.765, allocations: 2.343 MB / 0.6899 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01526/1.78, allocations: 6.811 MB / 0.6965 GB, free: 87.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.26e-05/1.78, allocations: 48.41 kB / 0.6966 GB, free: 87.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=226): time 6.182e-06/1.78, allocations: 3.344 kB / 0.6966 GB, free: 87.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=235): time 0.05687/1.837, allocations: 13.54 MB / 0.7098 GB, free: 80.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/1.837, allocations: 69.41 kB / 0.7099 GB, free: 80.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006382/1.844, allocations: 2.777 MB / 0.7126 GB, free: 77.83 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005665/1.844, allocations: 57.7 kB / 0.7126 GB, free: 77.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002479/1.847, allocations: 3.228 MB / 0.7158 GB, free: 74.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001469/1.848, allocations: 0.8788 MB / 0.7166 GB, free: 74.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008347/1.849, allocations: 116 kB / 0.7167 GB, free: 74.01 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005271/1.85, allocations: 0.5574 MB / 0.7173 GB, free: 73.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008159/1.858, allocations: 2.293 MB / 0.7195 GB, free: 71.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0131/1.871, allocations: 5.558 MB / 0.725 GB, free: 64.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007858/1.879, allocations: 3.616 MB / 0.7285 GB, free: 61.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/1.879, allocations: 32 kB / 0.7285 GB, free: 61.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.02311/1.902, allocations: 8.346 MB / 0.7367 GB, free: 54.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-05/1.902, allocations: 56.97 kB / 0.7367 GB, free: 54.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001472/1.902, allocations: 116 kB / 0.7368 GB, free: 54.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006102/1.909, allocations: 1.138 MB / 0.738 GB, free: 53.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008535/1.917, allocations: 1.344 MB / 0.7393 GB, free: 52.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00867/1.926, allocations: 4.585 MB / 0.7437 GB, free: 48.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006237/1.932, allocations: 316.7 kB / 0.744 GB, free: 47.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001341/1.934, allocations: 350.5 kB / 0.7444 GB, free: 47.58 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 528 * Number of states: 0 () * Number of discrete variables: 32 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (729): * Single equations (assignments): 721 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.001382/1.935, allocations: 0.5396 MB / 0.7449 GB, free: 47.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006925/1.936, allocations: 295.4 kB / 0.7452 GB, free: 46.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/1.947, allocations: 4.348 MB / 0.7494 GB, free: 43.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001041/1.948, allocations: 39.8 kB / 0.7495 GB, free: 43.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.948, allocations: 4 kB / 0.7495 GB, free: 43.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.097e-05/1.948, allocations: 10.22 kB / 0.7495 GB, free: 43.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02859/1.976, allocations: 10.31 MB / 0.7596 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-05/1.976, allocations: 4 kB / 0.7596 GB, free: 34.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003582/1.98, allocations: 374.4 kB / 0.7599 GB, free: 34.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003535/1.983, allocations: 0.6765 MB / 0.7606 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005442/1.984, allocations: 51.94 kB / 0.7606 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003754/1.988, allocations: 2.412 MB / 0.763 GB, free: 31.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.988, allocations: 8 kB / 0.763 GB, free: 31.01 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/2.003, allocations: 7.117 MB / 0.7699 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009744/2.004, allocations: 353.1 kB / 0.7703 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008898/2.005, allocations: 40 kB / 0.7703 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002871/2.008, allocations: 143.5 kB / 0.7705 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005667/2.008, allocations: 129.7 kB / 0.7706 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002321/2.009, allocations: 67.8 kB / 0.7706 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004088/2.013, allocations: 1.861 MB / 0.7725 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.12e-07/2.013, allocations: 8 kB / 0.7725 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006551/2.019, allocations: 1.057 MB / 0.7735 GB, free: 19.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (187): * Single equations (assignments): 178 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01597/2.035, allocations: 9.089 MB / 0.7824 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01349/2.049, allocations: 5.482 MB / 0.7877 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/2.049, allocations: 0 / 0.7877 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007284/2.056, allocations: 2.341 MB / 0.79 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003939/2.06, allocations: 423.5 kB / 0.7904 GB, free: 2.449 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03638/2.097, allocations: 10.86 MB / 0.801 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009807/2.106, allocations: 3.778 MB / 0.8047 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009797/2.116, allocations: 2.014 MB / 0.8067 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3707/2.487, allocations: 2.092 MB / 0.8087 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.703e-06/2.487, allocations: 1 kB / 0.8087 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2132/2.7, allocations: 75.21 MB / 0.8822 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/2.701, allocations: 190.8 kB / 0.8824 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.011/7.712, allocations: 3.938 kB / 0.8824 GB, free: 107.2 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat does not exist to compare? outputFormat=mat