Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.502/2.502, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.504e-05, allocations: 0 / 299.6 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4004, allocations: 54.85 MB / 354.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1942/0.5947, allocations: 98.48 MB / 452.9 MB, free: 15.69 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.595, allocations: 71.97 kB / 453 MB, free: 15.62 MB / 394.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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.7479/1.343, allocations: 90.6 MB / 0.5308 GB, free: 95.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.544e-06/1.343, allocations: 0 / 0.5308 GB, free: 95.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003107/1.343, allocations: 89.66 kB / 0.5309 GB, free: 95.65 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.0203/1.364, allocations: 4.759 MB / 0.5356 GB, free: 91.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/1.364, allocations: 8.031 kB / 0.5356 GB, free: 91.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01911/1.383, allocations: 2.228 MB / 0.5377 GB, free: 89.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02065/1.404, allocations: 5.073 MB / 0.5427 GB, free: 84.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/1.404, allocations: 144.3 kB / 0.5428 GB, free: 84.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00238/1.406, allocations: 255.9 kB / 0.5431 GB, free: 83.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01695/1.423, allocations: 6.803 MB / 0.5497 GB, free: 76.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02488/1.448, allocations: 10.13 MB / 0.5596 GB, free: 65.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002328/1.448, allocations: 63.39 kB / 0.5597 GB, free: 65.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00126/1.45, allocations: 28 kB / 0.5597 GB, free: 65.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002338/1.452, allocations: 1.151 MB / 0.5608 GB, free: 64.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07429/1.526, allocations: 49.29 MB / 0.609 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008347/1.535, allocations: 4.417 MB / 0.6133 GB, free: 9.535 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005601/1.54, allocations: 3.05 MB / 0.6163 GB, free: 6.473 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/1.542, allocations: 1.348 MB / 0.6176 GB, free: 4.898 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006444/1.549, allocations: 3.121 MB / 0.6206 GB, free: 1.754 MB / 426.7 MB Notification: Performance of pre-optimization done (n=217): time 7.635e-06/1.549, allocations: 0 / 0.6206 GB, free: 1.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=284): time 0.1255/1.674, allocations: 24.97 MB / 0.645 GB, free: 8.789 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/1.674, allocations: 158.5 kB / 0.6452 GB, free: 8.605 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00797/1.682, allocations: 3.169 MB / 0.6483 GB, free: 5.449 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008397/1.683, allocations: 29.7 kB / 0.6483 GB, free: 5.414 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004665/1.688, allocations: 3.309 MB / 0.6515 GB, free: 2.059 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002166/1.69, allocations: 1.01 MB / 0.6525 GB, free: 1.035 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008928/1.691, allocations: 4 kB / 0.6525 GB, free: 1.031 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006263/1.692, allocations: 0.5914 MB / 0.6531 GB, free: 444 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008549/1.7, allocations: 3.058 MB / 0.6561 GB, free: 13.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01261/1.713, allocations: 6.758 MB / 0.6627 GB, free: 4.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/1.725, allocations: 4.49 MB / 0.667 GB, free: 288 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001339/1.725, allocations: 36 kB / 0.6671 GB, free: 252 kB / 474.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.391/2.116, allocations: 11.42 MB / 0.6782 GB, free: 125.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00014/2.117, allocations: 98.97 kB / 0.6783 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001902/2.117, allocations: 130.4 kB / 0.6785 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01431/2.131, allocations: 2.656 MB / 0.681 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01122/2.142, allocations: 1.52 MB / 0.6825 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06365/2.206, allocations: 20.37 MB / 0.7024 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01099/2.217, allocations: 302.4 kB / 0.7027 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001926/2.219, allocations: 408.9 kB / 0.7031 GB, free: 117 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.002157/2.221, allocations: 455 kB / 0.7035 GB, free: 116.7 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02681/2.248, allocations: 7.348 MB / 0.7107 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001456/2.25, allocations: 371.7 kB / 0.7111 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02537/2.275, allocations: 7.319 MB / 0.7182 GB, free: 111.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.428e-05/2.275, allocations: 31.02 kB / 0.7182 GB, free: 111.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.727e-05/2.275, allocations: 12.53 kB / 0.7183 GB, free: 111.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.847e-05/2.275, allocations: 12.42 kB / 0.7183 GB, free: 111.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04398/2.319, allocations: 13.55 MB / 0.7315 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.779e-05/2.319, allocations: 2.938 kB / 0.7315 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00459/2.324, allocations: 400.8 kB / 0.7319 GB, free: 101.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01268/2.337, allocations: 2.419 MB / 0.7342 GB, free: 99.76 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007106/2.337, allocations: 15.53 kB / 0.7343 GB, free: 99.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04235/2.38, allocations: 20.12 MB / 0.7539 GB, free: 81.72 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/2.38, allocations: 3.938 kB / 0.7539 GB, free: 81.72 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02424/2.404, allocations: 7.857 MB / 0.7616 GB, free: 73.86 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003748/2.408, allocations: 0.927 MB / 0.7625 GB, free: 72.92 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002456/2.41, allocations: 4 kB / 0.7625 GB, free: 72.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00562/2.416, allocations: 167.7 kB / 0.7627 GB, free: 72.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001288/2.417, allocations: 200.5 kB / 0.7629 GB, free: 72.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004753/2.418, allocations: 68 kB / 0.7629 GB, free: 72.49 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004859/2.423, allocations: 2.112 MB / 0.765 GB, free: 70.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.32e-07/2.423, allocations: 0 / 0.765 GB, free: 70.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008862/2.432, allocations: 1.179 MB / 0.7661 GB, free: 69.24 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.02548/2.457, allocations: 9.241 MB / 0.7752 GB, free: 60.03 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0201/2.477, allocations: 8.144 MB / 0.7831 GB, free: 51.88 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/2.477, allocations: 4 kB / 0.7831 GB, free: 51.87 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01042/2.488, allocations: 3.717 MB / 0.7867 GB, free: 48.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003508/2.491, allocations: 335.8 kB / 0.7871 GB, free: 47.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03516/2.527, allocations: 11.02 MB / 0.7978 GB, free: 36.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007232/2.534, allocations: 3.656 MB / 0.8014 GB, free: 33.09 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01133/2.545, allocations: 2.165 MB / 0.8035 GB, free: 30.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005597/2.551, allocations: 2.042 MB / 0.8055 GB, free: 28.89 MB / 474.7 MB Notification: Performance of SimCode: time 1.353e-06/2.551, allocations: 0 / 0.8055 GB, free: 28.89 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6044/3.155, allocations: 98.32 MB / 0.9015 GB, free: 114.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002713/3.156, allocations: 166.8 kB / 0.9017 GB, free: 114.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.849/9.004, allocations: 4 kB / 0.9017 GB, free: 114.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat