Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.52/2.52, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.674e-05/4.69e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4069, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1902/0.5971, allocations: 104.6 MB / 486.9 MB, free: 3.785 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.5975, allocations: 71.97 kB / 487 MB, free: 3.715 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.1543/0.7518, allocations: 34.65 MB / 0.5094 GB, free: 0.9219 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.996e-06/0.7518, allocations: 0 / 0.5094 GB, free: 0.9219 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0001158/0.752, allocations: 36 kB / 0.5094 GB, free: 0.8867 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.0061/0.7581, allocations: 1.69 MB / 0.5111 GB, free: 15.14 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.7582, allocations: 8.031 kB / 0.5111 GB, free: 15.14 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009462/0.7591, allocations: 253.3 kB / 0.5113 GB, free: 14.88 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003541/0.7627, allocations: 417.3 kB / 0.5117 GB, free: 14.46 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01272/0.7754, allocations: 2.955 MB / 0.5146 GB, free: 11.46 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.7757, allocations: 102.9 kB / 0.5147 GB, free: 11.36 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006723/0.7763, allocations: 148 kB / 0.5148 GB, free: 11.22 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/0.7871, allocations: 2.991 MB / 0.5178 GB, free: 8.004 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.7873, allocations: 19.78 kB / 0.5178 GB, free: 7.984 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002653/0.7875, allocations: 67.97 kB / 0.5178 GB, free: 7.918 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008191/0.7884, allocations: 282.1 kB / 0.5181 GB, free: 7.641 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009282/0.7977, allocations: 2.14 MB / 0.5202 GB, free: 5.496 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3517/1.149, allocations: 11.58 MB / 0.5315 GB, free: 112.7 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006792/1.156, allocations: 1.181 MB / 0.5327 GB, free: 112.7 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009188/1.157, allocations: 391.4 kB / 0.533 GB, free: 112.7 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005878/1.163, allocations: 3.025 MB / 0.536 GB, free: 111.1 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/1.163, allocations: 36.41 kB / 0.536 GB, free: 111 MB / 458.8 MB Notification: Performance of pre-optimization done (n=51): time 3.777e-06/1.163, allocations: 4.094 kB / 0.536 GB, free: 111 MB / 458.8 MB Notification: Performance of matching and sorting (n=57): time 0.01859/1.182, allocations: 3.395 MB / 0.5393 GB, free: 110.3 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/1.182, allocations: 86.86 kB / 0.5394 GB, free: 110.2 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/1.184, allocations: 1.061 MB / 0.5405 GB, free: 110 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 9.507e-05/1.184, allocations: 38.92 kB / 0.5405 GB, free: 110 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006899/1.185, allocations: 0.9485 MB / 0.5414 GB, free: 109.6 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/1.185, allocations: 219.6 kB / 0.5416 GB, free: 109.5 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.121e-05/1.185, allocations: 28.56 kB / 0.5417 GB, free: 109.5 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001219/1.185, allocations: 375.7 kB / 0.542 GB, free: 109.2 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009131/1.186, allocations: 391.2 kB / 0.5424 GB, free: 109.2 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/1.188, allocations: 1.227 MB / 0.5436 GB, free: 108.1 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/1.189, allocations: 0.6715 MB / 0.5442 GB, free: 108.1 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-05/1.189, allocations: 11.7 kB / 0.5443 GB, free: 108.1 MB / 458.8 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004333/1.194, allocations: 1.595 MB / 0.5458 GB, free: 108 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/1.194, allocations: 23.44 kB / 0.5458 GB, free: 108 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/1.194, allocations: 29.72 kB / 0.5459 GB, free: 108 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003067/1.194, allocations: 90.31 kB / 0.546 GB, free: 108 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/1.196, allocations: 363.5 kB / 0.5463 GB, free: 108 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/1.198, allocations: 1.692 MB / 0.5479 GB, free: 106.6 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/1.2, allocations: 69.53 kB / 0.548 GB, free: 106.6 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/1.2, allocations: 83.12 kB / 0.5481 GB, free: 106.6 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (192): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003061/1.2, allocations: 245.1 kB / 0.5483 GB, free: 106.5 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/1.2, allocations: 116.5 kB / 0.5484 GB, free: 106.4 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/1.202, allocations: 0.6982 MB / 0.5491 GB, free: 106.4 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/1.202, allocations: 7.562 kB / 0.5491 GB, free: 106.4 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.202, allocations: 0 / 0.5491 GB, free: 106.4 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/1.202, allocations: 3.375 kB / 0.5491 GB, free: 106.4 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00484/1.207, allocations: 2.239 MB / 0.5513 GB, free: 105.5 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/1.207, allocations: 2.344 kB / 0.5513 GB, free: 105.5 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007717/1.208, allocations: 108.8 kB / 0.5514 GB, free: 105.5 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002619/1.208, allocations: 57.89 kB / 0.5515 GB, free: 105.5 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/1.208, allocations: 24.17 kB / 0.5515 GB, free: 105.5 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/1.21, allocations: 1.728 MB / 0.5532 GB, free: 104 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/1.21, allocations: 7.234 kB / 0.5532 GB, free: 104 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/1.212, allocations: 1.285 MB / 0.5545 GB, free: 103.1 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005021/1.212, allocations: 219.8 kB / 0.5547 GB, free: 102.9 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/1.213, allocations: 23.14 kB / 0.5547 GB, free: 102.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006857/1.213, allocations: 30.88 kB / 0.5547 GB, free: 102.9 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.173e-05/1.213, allocations: 44.98 kB / 0.5548 GB, free: 102.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/1.213, allocations: 22.09 kB / 0.5548 GB, free: 102.9 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001481/1.215, allocations: 0.7616 MB / 0.5555 GB, free: 102.6 MB / 458.8 MB Notification: Performance of sort global known variables: time 4.61e-07/1.215, allocations: 0 / 0.5555 GB, free: 102.6 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.002028/1.217, allocations: 314.3 kB / 0.5558 GB, free: 102.5 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002487/1.219, allocations: 2.944 MB / 0.5587 GB, free: 100.1 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.002275/1.222, allocations: 1.012 MB / 0.5597 GB, free: 99.64 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.222, allocations: 3.969 kB / 0.5597 GB, free: 99.64 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006963/1.222, allocations: 389.3 kB / 0.5601 GB, free: 99.44 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/1.224, allocations: 166.1 kB / 0.5602 GB, free: 99.38 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006739/1.231, allocations: 2.596 MB / 0.5628 GB, free: 98.24 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/1.232, allocations: 1.484 MB / 0.5642 GB, free: 97.4 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.001796/1.234, allocations: 421.1 kB / 0.5646 GB, free: 97.36 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009175/1.235, allocations: 0.5709 MB / 0.5652 GB, free: 96.9 MB / 458.8 MB Notification: Performance of SimCode: time 1.202e-06/1.235, allocations: 0 / 0.5652 GB, free: 96.9 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06806/1.303, allocations: 22.63 MB / 0.5873 GB, free: 83.23 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/1.303, allocations: 174.9 kB / 0.5874 GB, free: 83 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.06/4.364, allocations: 0 / 0.5874 GB, free: 83 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat