Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.458/2.458, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.684e-05, allocations: 4 kB / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3988, allocations: 54.86 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.5825, allocations: 101 MB / 455.3 MB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.5829, allocations: 83.95 kB / 455.4 MB, free: 13.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7016/1.284, allocations: 96.06 MB / 0.5385 GB, free: 89.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.365e-06/1.285, allocations: 3.938 kB / 0.5385 GB, free: 89.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002025/1.285, allocations: 88 kB / 0.5386 GB, free: 89.24 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: 1878 * Number of variables: 1878 Notification: Performance of Generate backend data structure: time 0.02373/1.308, allocations: 4.653 MB / 0.5432 GB, free: 84.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/1.309, allocations: 8.031 kB / 0.5432 GB, free: 84.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02729/1.336, allocations: 3.628 MB / 0.5467 GB, free: 80.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01823/1.354, allocations: 4.895 MB / 0.5515 GB, free: 75.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000334/1.355, allocations: 164.5 kB / 0.5516 GB, free: 75.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003013/1.358, allocations: 292.2 kB / 0.5519 GB, free: 75.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02016/1.378, allocations: 8.442 MB / 0.5602 GB, free: 67.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.031/1.409, allocations: 11.15 MB / 0.5711 GB, free: 55.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002631/1.409, allocations: 35.64 kB / 0.5711 GB, free: 55.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002499/1.412, allocations: 20 kB / 0.5711 GB, free: 55.35 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002805/1.415, allocations: 1.322 MB / 0.5724 GB, free: 54.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0793/1.494, allocations: 39.47 MB / 0.6109 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007295/1.501, allocations: 4.308 MB / 0.6151 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004309/1.506, allocations: 2.299 MB / 0.6174 GB, free: 7.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001549/1.507, allocations: 1.326 MB / 0.6187 GB, free: 5.629 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/1.507, allocations: 52.56 kB / 0.6187 GB, free: 5.566 MB / 426.7 MB Notification: Performance of pre-optimization done (n=265): time 6.402e-06/1.507, allocations: 0 / 0.6187 GB, free: 5.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=285): time 0.06179/1.569, allocations: 18.03 MB / 0.6363 GB, free: 3.371 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.257e-05/1.569, allocations: 99.11 kB / 0.6364 GB, free: 3.258 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006223/1.575, allocations: 2.573 MB / 0.639 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006082/1.576, allocations: 25.7 kB / 0.639 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003466/1.58, allocations: 3.309 MB / 0.6422 GB, free: 13.28 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001872/1.581, allocations: 1.025 MB / 0.6432 GB, free: 12.24 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007796/1.582, allocations: 0 / 0.6432 GB, free: 12.24 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007515/1.583, allocations: 0.5872 MB / 0.6438 GB, free: 11.65 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006687/1.59, allocations: 2.418 MB / 0.6461 GB, free: 9.227 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01076/1.601, allocations: 6.025 MB / 0.652 GB, free: 1.402 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/1.611, allocations: 3.874 MB / 0.6558 GB, free: 13.53 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001369/1.611, allocations: 36 kB / 0.6559 GB, free: 13.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=875) (initialization): time 0.0386/1.65, allocations: 9.598 MB / 0.6652 GB, free: 3.895 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/1.65, allocations: 60 kB / 0.6653 GB, free: 3.836 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002282/1.65, allocations: 128 kB / 0.6654 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01744/1.668, allocations: 2.34 MB / 0.6677 GB, free: 1.375 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3408/2.008, allocations: 1.467 MB / 0.6691 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02885/2.037, allocations: 9.843 MB / 0.6787 GB, free: 117.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00676/2.044, allocations: 218.2 kB / 0.6789 GB, free: 117.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001865/2.046, allocations: 390.3 kB / 0.6793 GB, free: 117.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 27 (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.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (794): * Single equations (assignments): 786 * 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 {3 5,3 24} Notification: Performance of prepare postOptimizeDAE: time 0.002424/2.048, allocations: 436.9 kB / 0.6797 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01278/2.061, allocations: 4.384 MB / 0.684 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001236/2.063, allocations: 305.6 kB / 0.6843 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/2.078, allocations: 4.994 MB / 0.6892 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001337/2.078, allocations: 52.53 kB / 0.6892 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/2.078, allocations: 3.656 kB / 0.6892 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-05/2.078, allocations: 11.25 kB / 0.6892 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03054/2.109, allocations: 10.97 MB / 0.7 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.613e-05/2.109, allocations: 9.266 kB / 0.7 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00423/2.113, allocations: 470.3 kB / 0.7004 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003652/2.117, allocations: 0.697 MB / 0.7011 GB, free: 115 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006151/2.118, allocations: 36.36 kB / 0.7011 GB, free: 115 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003514/2.121, allocations: 2.332 MB / 0.7034 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/2.121, allocations: 13.41 kB / 0.7034 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01667/2.138, allocations: 8.294 MB / 0.7115 GB, free: 109.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009431/2.139, allocations: 349.5 kB / 0.7118 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009979/2.14, allocations: 24.22 kB / 0.7119 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002533/2.142, allocations: 109.6 kB / 0.712 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005429/2.143, allocations: 175 kB / 0.7121 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002778/2.143, allocations: 85.86 kB / 0.7122 GB, free: 109.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003504/2.147, allocations: 1.692 MB / 0.7139 GB, free: 108.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.62e-07/2.147, allocations: 0 / 0.7139 GB, free: 108.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007348/2.154, allocations: 0.9914 MB / 0.7148 GB, free: 108.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (236): * Single equations (assignments): 227 * 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.01823/2.172, allocations: 11.01 MB / 0.7256 GB, free: 102.3 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Joints.mo:1958:5-1960:161:writable] Warning: Variable freeMotionScalarInit.angle_3 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Joints.mo:1952:5-1954:161:writable] Warning: Variable freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Joints.mo:1955:5-1957:161: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.01427/2.187, allocations: 6.061 MB / 0.7315 GB, free: 98.81 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.651e-05/2.187, allocations: 8 kB / 0.7315 GB, free: 98.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007335/2.194, allocations: 2.653 MB / 0.7341 GB, free: 96.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/2.197, allocations: 306.4 kB / 0.7344 GB, free: 96.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03389/2.231, allocations: 11.31 MB / 0.7455 GB, free: 86.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008268/2.24, allocations: 3.88 MB / 0.7492 GB, free: 83.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01061/2.25, allocations: 2.29 MB / 0.7515 GB, free: 82.12 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005355/2.256, allocations: 2.171 MB / 0.7536 GB, free: 80.11 MB / 474.7 MB Notification: Performance of SimCode: time 1.783e-06/2.256, allocations: 0 / 0.7536 GB, free: 80.11 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.194/2.45, allocations: 79.26 MB / 0.831 GB, free: 5.305 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/2.45, allocations: 155.3 kB / 0.8312 GB, free: 5.102 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.277/7.727, allocations: 0 / 0.8312 GB, free: 5.102 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4_res.mat does not exist to compare? outputFormat=mat