Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.456/2.456, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.692e-05/2.711e-05, allocations: 4 kB / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4396/0.4397, allocations: 54.85 MB / 354.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2156/0.6554, allocations: 98.48 MB / 452.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.6558, allocations: 71.97 kB / 452.9 MB, free: 15.63 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.7452/1.401, allocations: 90.58 MB / 0.5307 GB, free: 95.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.604e-06/1.401, allocations: 0 / 0.5307 GB, free: 95.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002585/1.401, allocations: 90.12 kB / 0.5308 GB, free: 95.77 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: 1594 * Number of variables: 1594 Notification: Performance of Generate backend data structure: time 0.01804/1.419, allocations: 4.757 MB / 0.5355 GB, free: 91.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/1.419, allocations: 8.031 kB / 0.5355 GB, free: 91.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01686/1.436, allocations: 2.24 MB / 0.5377 GB, free: 89.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01836/1.455, allocations: 5.062 MB / 0.5426 GB, free: 84.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/1.455, allocations: 140.3 kB / 0.5427 GB, free: 84.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002449/1.458, allocations: 252 kB / 0.543 GB, free: 83.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01578/1.473, allocations: 6.804 MB / 0.5496 GB, free: 77.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02316/1.497, allocations: 10.13 MB / 0.5595 GB, free: 65.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002143/1.497, allocations: 63.45 kB / 0.5596 GB, free: 65.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001337/1.498, allocations: 28 kB / 0.5596 GB, free: 65.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002174/1.5, allocations: 1.158 MB / 0.5607 GB, free: 64.63 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06824/1.569, allocations: 49.29 MB / 0.6089 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00809/1.577, allocations: 4.426 MB / 0.6132 GB, free: 9.566 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008512/1.585, allocations: 3.053 MB / 0.6162 GB, free: 6.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002439/1.588, allocations: 1.344 MB / 0.6175 GB, free: 4.926 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00887/1.597, allocations: 3.125 MB / 0.6205 GB, free: 1.777 MB / 426.7 MB Notification: Performance of pre-optimization done (n=217): time 8.966e-06/1.597, allocations: 0 / 0.6205 GB, free: 1.777 MB / 426.7 MB Notification: Performance of matching and sorting (n=284): time 0.118/1.715, allocations: 24.96 MB / 0.6449 GB, free: 8.816 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/1.715, allocations: 154.5 kB / 0.6451 GB, free: 8.637 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007723/1.723, allocations: 3.169 MB / 0.6481 GB, free: 5.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008441/1.724, allocations: 25.7 kB / 0.6482 GB, free: 5.449 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004611/1.728, allocations: 3.316 MB / 0.6514 GB, free: 2.086 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002147/1.73, allocations: 1.014 MB / 0.6524 GB, free: 1.059 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008951/1.731, allocations: 4 kB / 0.6524 GB, free: 1.055 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006334/1.732, allocations: 0.5914 MB / 0.653 GB, free: 468 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009164/1.741, allocations: 3.059 MB / 0.656 GB, free: 13.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01244/1.754, allocations: 6.758 MB / 0.6626 GB, free: 4.789 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/1.765, allocations: 4.497 MB / 0.667 GB, free: 304 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001432/1.766, allocations: 40 kB / 0.667 GB, free: 264 kB / 474.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.4437/2.209, allocations: 11.41 MB / 0.6781 GB, free: 125.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/2.21, allocations: 91.83 kB / 0.6782 GB, free: 125.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000184/2.21, allocations: 132.8 kB / 0.6784 GB, free: 125.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01223/2.222, allocations: 2.655 MB / 0.6809 GB, free: 125.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01006/2.232, allocations: 1.517 MB / 0.6824 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04504/2.277, allocations: 20.37 MB / 0.7023 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008271/2.285, allocations: 310.8 kB / 0.7026 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001882/2.287, allocations: 403.8 kB / 0.703 GB, free: 117.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,rod3.color[3],rod3.color[2],rod3.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (788): * Single equations (assignments): 780 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.001823/2.289, allocations: 457.6 kB / 0.7034 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0219/2.311, allocations: 7.354 MB / 0.7106 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/2.312, allocations: 372.6 kB / 0.711 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02141/2.334, allocations: 7.315 MB / 0.7181 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-05/2.334, allocations: 33.25 kB / 0.7182 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.17e-05/2.334, allocations: 7.781 kB / 0.7182 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.707e-05/2.334, allocations: 12.52 kB / 0.7182 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03817/2.372, allocations: 13.56 MB / 0.7314 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.2e-05/2.372, allocations: 6.875 kB / 0.7314 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004122/2.377, allocations: 394.9 kB / 0.7318 GB, free: 101.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01097/2.388, allocations: 2.428 MB / 0.7342 GB, free: 99.83 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007411/2.388, allocations: 4 kB / 0.7342 GB, free: 99.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03749/2.426, allocations: 20.13 MB / 0.7538 GB, free: 81.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/2.426, allocations: 6.25 kB / 0.7538 GB, free: 81.79 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02188/2.448, allocations: 7.852 MB / 0.7615 GB, free: 73.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003514/2.451, allocations: 0.9227 MB / 0.7624 GB, free: 72.95 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001501/2.453, allocations: 11.98 kB / 0.7624 GB, free: 72.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004658/2.458, allocations: 166.9 kB / 0.7626 GB, free: 72.78 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001352/2.459, allocations: 188.1 kB / 0.7627 GB, free: 72.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003762/2.459, allocations: 78.64 kB / 0.7628 GB, free: 72.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004994/2.464, allocations: 2.108 MB / 0.7649 GB, free: 70.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.473e-06/2.464, allocations: 3.094 kB / 0.7649 GB, free: 70.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009738/2.474, allocations: 1.176 MB / 0.766 GB, free: 69.27 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 181 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(2,100.0%) 14} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.02414/2.498, allocations: 9.223 MB / 0.775 GB, free: 60.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01861/2.517, allocations: 8.139 MB / 0.783 GB, free: 51.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/2.517, allocations: 4 kB / 0.783 GB, free: 51.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009468/2.527, allocations: 3.723 MB / 0.7866 GB, free: 48.15 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003407/2.53, allocations: 336.8 kB / 0.7869 GB, free: 47.83 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03455/2.565, allocations: 11.03 MB / 0.7977 GB, free: 36.76 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007202/2.572, allocations: 3.662 MB / 0.8013 GB, free: 33.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01053/2.582, allocations: 2.168 MB / 0.8034 GB, free: 30.94 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005456/2.588, allocations: 2.038 MB / 0.8054 GB, free: 28.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.453e-06/2.588, allocations: 0 / 0.8054 GB, free: 28.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6085/3.197, allocations: 98.29 MB / 0.9014 GB, free: 114.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/3.197, allocations: 162.6 kB / 0.9015 GB, free: 114.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.804/9.001, allocations: 0 / 0.9015 GB, free: 114.6 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat