Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.507/2.507, allocations: 270 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.091e-05/4.115e-05, allocations: 4 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.171, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5363/0.7073, allocations: 110.3 MB / 0.5084 GB, free: 9.582 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.7076, allocations: 76.67 kB / 0.5085 GB, free: 9.508 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4071/1.115, allocations: 98.31 MB / 0.6045 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.425e-06/1.115, allocations: 0 / 0.6045 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002907/1.115, allocations: 92 kB / 0.6046 GB, free: 6.426 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: 1849 * Number of variables: 1849 Notification: Performance of Generate backend data structure: time 0.03322/1.148, allocations: 4.612 MB / 0.6091 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.868e-05/1.148, allocations: 12.03 kB / 0.6091 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006416/1.155, allocations: 0.9388 MB / 0.61 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4107/1.566, allocations: 3.598 MB / 0.6136 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02646/1.592, allocations: 4.726 MB / 0.6182 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007479/1.593, allocations: 373.7 kB / 0.6185 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004009/1.597, allocations: 0.4915 MB / 0.619 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04264/1.64, allocations: 11.93 MB / 0.6307 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003977/1.64, allocations: 36.48 kB / 0.6307 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002949/1.643, allocations: 224.9 kB / 0.6309 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003216/1.646, allocations: 1.293 MB / 0.6322 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03428/1.681, allocations: 11.06 MB / 0.643 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08557/1.766, allocations: 41.45 MB / 0.6834 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0165/1.783, allocations: 4.826 MB / 0.6882 GB, free: 91.63 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005024/1.788, allocations: 2.353 MB / 0.6905 GB, free: 90.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01636/1.804, allocations: 6.837 MB / 0.6971 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/1.805, allocations: 48.25 kB / 0.6972 GB, free: 86.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=229): time 7.474e-06/1.805, allocations: 0 / 0.6972 GB, free: 86.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=250): time 0.07089/1.876, allocations: 15.69 MB / 0.7125 GB, free: 77.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/1.876, allocations: 73.41 kB / 0.7126 GB, free: 77.87 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00533/1.881, allocations: 2.779 MB / 0.7153 GB, free: 75.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005557/1.882, allocations: 53.7 kB / 0.7153 GB, free: 75.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002387/1.884, allocations: 3.223 MB / 0.7185 GB, free: 72.46 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001375/1.885, allocations: 0.9394 MB / 0.7194 GB, free: 71.63 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007751/1.886, allocations: 120 kB / 0.7195 GB, free: 71.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004854/1.887, allocations: 0.5721 MB / 0.7201 GB, free: 71.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006033/1.893, allocations: 2.37 MB / 0.7224 GB, free: 68.87 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008078/1.901, allocations: 5.646 MB / 0.7279 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00871/1.91, allocations: 3.701 MB / 0.7315 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001193/1.91, allocations: 39.95 kB / 0.7316 GB, free: 58.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=805) (initialization): time 0.03251/1.942, allocations: 9.469 MB / 0.7408 GB, free: 50.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-05/1.943, allocations: 56 kB / 0.7409 GB, free: 50.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001753/1.943, allocations: 119.1 kB / 0.741 GB, free: 50.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01604/1.959, allocations: 2.323 MB / 0.7432 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008091/1.967, allocations: 1.328 MB / 0.7445 GB, free: 48.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02744/1.994, allocations: 10.6 MB / 0.7549 GB, free: 39.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006343/2.001, allocations: 324.8 kB / 0.7552 GB, free: 38.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/2.002, allocations: 351.3 kB / 0.7555 GB, free: 38.46 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 (720): * Single equations (assignments): 712 * 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: 0 * Non-linear torn systems: 2 {4 5,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.001774/2.004, allocations: 0.536 MB / 0.7561 GB, free: 37.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007364/2.005, allocations: 307 kB / 0.7563 GB, free: 37.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/2.018, allocations: 4.533 MB / 0.7608 GB, free: 33.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001061/2.018, allocations: 55.89 kB / 0.7608 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/2.018, allocations: 0 / 0.7608 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.428e-05/2.018, allocations: 11.97 kB / 0.7608 GB, free: 33.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03116/2.049, allocations: 10.72 MB / 0.7713 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.07e-05/2.049, allocations: 4 kB / 0.7713 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003736/2.053, allocations: 412 kB / 0.7717 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003537/2.056, allocations: 0.6891 MB / 0.7724 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005362/2.057, allocations: 59.97 kB / 0.7724 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003628/2.061, allocations: 2.401 MB / 0.7748 GB, free: 18.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/2.061, allocations: 15.89 kB / 0.7748 GB, free: 18.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01555/2.076, allocations: 7.387 MB / 0.782 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009716/2.077, allocations: 351.7 kB / 0.7823 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009007/2.078, allocations: 51.94 kB / 0.7824 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002592/2.081, allocations: 135.8 kB / 0.7825 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004481/2.081, allocations: 145.6 kB / 0.7827 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002376/2.082, allocations: 67.98 kB / 0.7827 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004132/2.086, allocations: 1.869 MB / 0.7845 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.082e-06/2.086, allocations: 0 / 0.7845 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007456/2.093, allocations: 1.12 MB / 0.7856 GB, free: 7.152 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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,freeMotionScalarInit.derdd[1].u,freeMotionScalarInit.derdd[2].u,freeMotionScalarInit.derdd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 193 * 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.0189/2.112, allocations: 9.184 MB / 0.7946 GB, free: 13.77 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:80:3-82:159:writable] Warning: Variable freeMotionScalarInit.angle_3 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:74:3-76:159:writable] Warning: Variable freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:77:3-79:159:writable] Warning: Variable freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01627/2.129, allocations: 5.789 MB / 0.8003 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/2.129, allocations: 0 / 0.8003 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008066/2.137, allocations: 2.454 MB / 0.8027 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004108/2.141, allocations: 431 kB / 0.8031 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4128/2.554, allocations: 10.87 MB / 0.8137 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01159/2.565, allocations: 3.818 MB / 0.8174 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01088/2.576, allocations: 2.04 MB / 0.8194 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006025/2.582, allocations: 2.113 MB / 0.8215 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.863e-06/2.582, allocations: 0 / 0.8215 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1894/2.772, allocations: 80.75 MB / 0.9003 GB, free: 96.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000261/2.772, allocations: 194.8 kB / 0.9005 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.196/7.969, allocations: 0 / 0.9005 GB, free: 95.86 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4_res.mat does not exist to compare? outputFormat=mat