Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.666/2.666, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.085e-05/4.097e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1309, allocations: 61.9 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5457/0.6767, allocations: 110.3 MB / 0.5084 GB, free: 9.656 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.677, allocations: 75.95 kB / 0.5085 GB, free: 9.582 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4589/1.136, allocations: 98.32 MB / 0.6045 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.374e-06/1.136, allocations: 4 kB / 0.6045 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002458/1.136, allocations: 92 kB / 0.6046 GB, free: 6.488 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.02492/1.161, allocations: 4.612 MB / 0.6091 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/1.161, allocations: 8.031 kB / 0.6091 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004547/1.166, allocations: 0.935 MB / 0.61 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3899/1.556, allocations: 3.595 MB / 0.6136 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02146/1.577, allocations: 4.732 MB / 0.6182 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006002/1.578, allocations: 371.8 kB / 0.6185 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003391/1.581, allocations: 499.5 kB / 0.619 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04166/1.623, allocations: 11.92 MB / 0.6306 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003831/1.624, allocations: 38.72 kB / 0.6307 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002852/1.626, allocations: 222 kB / 0.6309 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003296/1.63, allocations: 1.297 MB / 0.6322 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03407/1.664, allocations: 11.06 MB / 0.643 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08647/1.75, allocations: 41.44 MB / 0.6834 GB, free: 93.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01645/1.767, allocations: 4.823 MB / 0.6881 GB, free: 91.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005124/1.772, allocations: 2.354 MB / 0.6904 GB, free: 90.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01712/1.789, allocations: 6.838 MB / 0.6971 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/1.789, allocations: 53.12 kB / 0.6972 GB, free: 86.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=229): time 6.733e-06/1.789, allocations: 0 / 0.6972 GB, free: 86.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=250): time 0.07391/1.863, allocations: 15.69 MB / 0.7125 GB, free: 78.08 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/1.863, allocations: 69.41 kB / 0.7126 GB, free: 78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006695/1.87, allocations: 2.778 MB / 0.7153 GB, free: 75.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005996/1.871, allocations: 57.7 kB / 0.7153 GB, free: 75.47 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002545/1.873, allocations: 3.229 MB / 0.7185 GB, free: 72.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001511/1.875, allocations: 0.9351 MB / 0.7194 GB, free: 71.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008471/1.876, allocations: 118.9 kB / 0.7195 GB, free: 71.65 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005703/1.876, allocations: 0.57 MB / 0.7201 GB, free: 71.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006002/1.882, allocations: 2.37 MB / 0.7224 GB, free: 69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008313/1.891, allocations: 5.642 MB / 0.7279 GB, free: 62.15 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008388/1.899, allocations: 3.709 MB / 0.7315 GB, free: 59.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001311/1.899, allocations: 35.95 kB / 0.7315 GB, free: 58.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=805) (initialization): time 0.03337/1.933, allocations: 9.469 MB / 0.7408 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.933, allocations: 52 kB / 0.7408 GB, free: 51.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001996/1.933, allocations: 116 kB / 0.7409 GB, free: 50.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01619/1.949, allocations: 2.329 MB / 0.7432 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008454/1.958, allocations: 1.333 MB / 0.7445 GB, free: 48.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02854/1.986, allocations: 10.61 MB / 0.7549 GB, free: 39.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006598/1.993, allocations: 320.7 kB / 0.7552 GB, free: 38.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001583/1.995, allocations: 351.7 kB / 0.7555 GB, free: 38.59 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.002471/1.997, allocations: 0.539 MB / 0.7561 GB, free: 38.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008518/1.998, allocations: 304 kB / 0.7563 GB, free: 37.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/2.012, allocations: 4.531 MB / 0.7608 GB, free: 33.26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000112/2.013, allocations: 51.89 kB / 0.7608 GB, free: 33.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/2.013, allocations: 0 / 0.7608 GB, free: 33.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-05/2.013, allocations: 11.91 kB / 0.7608 GB, free: 33.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03327/2.046, allocations: 10.72 MB / 0.7713 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.718e-05/2.046, allocations: 8.031 kB / 0.7713 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003849/2.05, allocations: 407.4 kB / 0.7717 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003696/2.054, allocations: 0.6928 MB / 0.7724 GB, free: 21.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006406/2.054, allocations: 55.97 kB / 0.7724 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003974/2.058, allocations: 2.404 MB / 0.7748 GB, free: 18.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/2.058, allocations: 11.89 kB / 0.7748 GB, free: 18.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01732/2.076, allocations: 7.383 MB / 0.782 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/2.077, allocations: 349.1 kB / 0.7823 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001509/2.078, allocations: 51.94 kB / 0.7824 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003388/2.082, allocations: 131.8 kB / 0.7825 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008107/2.083, allocations: 141.7 kB / 0.7826 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003064/2.083, allocations: 75.7 kB / 0.7827 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004899/2.088, allocations: 1.873 MB / 0.7845 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.122e-06/2.088, allocations: 0 / 0.7845 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007872/2.096, allocations: 1.12 MB / 0.7856 GB, free: 7.277 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.01956/2.115, allocations: 9.18 MB / 0.7946 GB, free: 13.9 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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 4.0.0/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 4.0.0/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.01834/2.134, allocations: 5.794 MB / 0.8003 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/2.134, allocations: 4 kB / 0.8003 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008203/2.142, allocations: 2.454 MB / 0.8027 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003728/2.146, allocations: 431.7 kB / 0.8031 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4615/2.607, allocations: 10.87 MB / 0.8137 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01033/2.618, allocations: 3.817 MB / 0.8174 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01112/2.629, allocations: 2.041 MB / 0.8194 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005956/2.635, allocations: 2.114 MB / 0.8215 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.723e-06/2.635, allocations: 0 / 0.8215 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2263/2.861, allocations: 80.74 MB / 0.9003 GB, free: 96.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/2.862, allocations: 194.8 kB / 0.9005 GB, free: 96.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.701/8.563, allocations: 3.469 kB / 0.9005 GB, free: 96.02 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4_res.mat does not exist to compare? outputFormat=mat