Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestBearingConversion,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_TestBearingConversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.496/2.496, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.576e-05/3.587e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4086, allocations: 54.85 MB / 359.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1823/0.5909, allocations: 96.29 MB / 456.2 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5913, allocations: 63.97 kB / 456.2 MB, free: 464 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3197/0.911, allocations: 63.76 MB / 0.5078 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.15e-06/0.9111, allocations: 3.984 kB / 0.5078 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002628/0.9113, allocations: 71.98 kB / 0.5079 GB, free: 496 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 719 * Number of variables: 719 Notification: Performance of Generate backend data structure: time 0.0144/0.9257, allocations: 2.871 MB / 0.5107 GB, free: 13.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.135e-05/0.9259, allocations: 8.031 kB / 0.5107 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00253/0.9284, allocations: 396.3 kB / 0.5111 GB, free: 13.15 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005602/0.9341, allocations: 415.8 kB / 0.5115 GB, free: 12.74 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00632/0.9405, allocations: 1.29 MB / 0.5127 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001518/0.9421, allocations: 0.5767 MB / 0.5133 GB, free: 10.76 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/0.9435, allocations: 311.6 kB / 0.5136 GB, free: 10.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.9547, allocations: 3.131 MB / 0.5166 GB, free: 7.215 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002749/0.9551, allocations: 39.61 kB / 0.5167 GB, free: 7.176 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007124/0.9558, allocations: 116 kB / 0.5168 GB, free: 7.062 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.74e-05/0.9559, allocations: 75.89 kB / 0.5169 GB, free: 6.988 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.9662, allocations: 3.051 MB / 0.5198 GB, free: 3.938 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4058/1.372, allocations: 9.771 MB / 0.5294 GB, free: 111.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008458/1.381, allocations: 2.865 MB / 0.5322 GB, free: 110.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005257/1.386, allocations: 1.562 MB / 0.5337 GB, free: 110.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000832/1.387, allocations: 224.1 kB / 0.5339 GB, free: 110.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.293e-05/1.387, allocations: 91.91 kB / 0.534 GB, free: 110.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=366): time 1.01e-05/1.387, allocations: 0 / 0.534 GB, free: 110.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=429): time 0.05117/1.438, allocations: 17.4 MB / 0.551 GB, free: 101.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002255/1.438, allocations: 0.6119 MB / 0.5516 GB, free: 100.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00397/1.442, allocations: 1.295 MB / 0.5529 GB, free: 100.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00125/1.444, allocations: 123.5 kB / 0.553 GB, free: 100.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/1.445, allocations: 0.9027 MB / 0.5539 GB, free: 99.97 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002488/1.447, allocations: 1.439 MB / 0.5553 GB, free: 98.96 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/1.449, allocations: 88.81 kB / 0.5554 GB, free: 98.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000413/1.449, allocations: 465.3 kB / 0.5558 GB, free: 98.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004914/1.454, allocations: 1.349 MB / 0.5571 GB, free: 97.97 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00571/1.46, allocations: 2.048 MB / 0.5591 GB, free: 96.65 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004723/1.465, allocations: 1.369 MB / 0.5605 GB, free: 96.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.574e-05/1.465, allocations: 7.719 kB / 0.5605 GB, free: 96.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.0164/1.481, allocations: 4.576 MB / 0.5649 GB, free: 94.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/1.481, allocations: 9.719 kB / 0.5649 GB, free: 94.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.928e-05/1.481, allocations: 25.55 kB / 0.565 GB, free: 94.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007189/1.488, allocations: 1.737 MB / 0.5667 GB, free: 94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01006/1.499, allocations: 0.8079 MB / 0.5674 GB, free: 93.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03311/1.532, allocations: 16.25 MB / 0.5833 GB, free: 80.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006158/1.538, allocations: 383.1 kB / 0.5837 GB, free: 80.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001321/1.539, allocations: 185.2 kB / 0.5839 GB, free: 80.79 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,brake1.free,$PRE.brake1.startForward,brake1.startForward,$PRE.brake1.startBackward,brake1.startBackward,brake1.locked,$PRE.brake1.mode,brake1.mode,gear2_2.lossyGear.tau_aPos,gear2_2.lossyGear.startForward,gear2_2.lossyGear.startBackward,gear2_2.lossyGear.locked,$PRE.gear2_2.lossyGear.mode,gear2_2.lossyGear.mode,gear2_2.lossyGear.ideal,gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,$PRE.gear2_1.lossyGear.mode,gear2_1.lossyGear.mode,gear2_1.lossyGear.ideal,lossyGear1.tau_aPos,lossyGear1.startForward,lossyGear1.startBackward,lossyGear1.locked,$PRE.lossyGear1.mode,lossyGear1.mode,lossyGear1.ideal,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,$PRE.lossyGear.mode,lossyGear.mode,lossyGear.ideal,bearingFriction.free,bearingFriction1.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 389 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 8 {1 6,1 12,1 6,1 6,2 22,2 22,2 25,2 24} Notification: Performance of prepare postOptimizeDAE: time 0.00245/1.542, allocations: 369.9 kB / 0.5842 GB, free: 80.49 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002138/1.544, allocations: 289.3 kB / 0.5845 GB, free: 80.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006119/1.55, allocations: 1.529 MB / 0.586 GB, free: 79.63 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.484e-05/1.55, allocations: 45.84 kB / 0.586 GB, free: 79.63 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.532e-05/1.55, allocations: 10.94 kB / 0.586 GB, free: 79.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001282/1.551, allocations: 28.55 kB / 0.5861 GB, free: 79.62 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03291/1.584, allocations: 10.04 MB / 0.5959 GB, free: 74.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.113e-05/1.584, allocations: 10.75 kB / 0.5959 GB, free: 74.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006804/1.59, allocations: 0.7316 MB / 0.5966 GB, free: 74.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006272/1.597, allocations: 1.598 MB / 0.5981 GB, free: 74.33 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001227/1.598, allocations: 133.1 kB / 0.5983 GB, free: 74.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02509/1.623, allocations: 15.71 MB / 0.6136 GB, free: 59.97 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/1.623, allocations: 11.94 kB / 0.6136 GB, free: 59.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02105/1.644, allocations: 7.859 MB / 0.6213 GB, free: 52.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003102/1.648, allocations: 0.71 MB / 0.622 GB, free: 51.51 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001802/1.649, allocations: 110.7 kB / 0.6221 GB, free: 51.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006213/1.656, allocations: 353.1 kB / 0.6224 GB, free: 51.13 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002511/1.658, allocations: 0.6085 MB / 0.623 GB, free: 50.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001097/1.659, allocations: 164 kB / 0.6232 GB, free: 50.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002356/1.662, allocations: 0.9895 MB / 0.6242 GB, free: 49.79 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.72e-07/1.662, allocations: 0 / 0.6242 GB, free: 49.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007584/1.669, allocations: 0.9924 MB / 0.6251 GB, free: 48.81 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 40 (slidingMass1.s,slidingMass1.v,slidingMass.s,slidingMass.v,inertia21.phi,inertia21.w,linearSpeedDependentTorque.phi,inertia20.w,position4.phi,position4.w,position5.phi,position5.w,position2.phi,position2.w,position3.phi,position3.w,gear2_2.phi_rel,gear2_2.w_rel,inertia11.phi,inertia11.w,position.phi,position.w,position1.phi,position1.w,gear2_1.phi_rel,gear2_1.w_rel,inertia9.phi,inertia9.w,inertia7.phi,inertia7.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,brake1.phi,inertia3.w,inertia.phi,inertia.w,inertia1.w,bearingFriction1.phi) * Number of discrete variables: 38 (gear2_2.lossyGear.tau_aPos,gear2_2.lossyGear.startForward,gear2_2.lossyGear.startBackward,gear2_2.lossyGear.locked,gear2_2.lossyGear.mode,gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,gear2_1.lossyGear.mode,lossyGear1.tau_aPos,lossyGear1.startForward,lossyGear1.startBackward,lossyGear1.locked,lossyGear1.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,lossyGear.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,brake1.free,brake1.startForward,brake1.startBackward,brake1.locked,brake1.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode,bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 16 (bearingFriction1.mode,bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward,brake1.mode,brake1.startForward,brake1.startBackward,brake.mode,brake.startForward,brake.startBackward,lossyGear.mode,lossyGear1.mode,gear2_1.lossyGear.mode,gear2_2.lossyGear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (303): * Single equations (assignments): 293 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 8 {2 21,2 21,2 23,2 23,1 5,1 5,1 9,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.02473/1.694, allocations: 11.31 MB / 0.6362 GB, free: 37.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01228/1.707, allocations: 4.526 MB / 0.6406 GB, free: 33.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/1.707, allocations: 0 / 0.6406 GB, free: 33.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01203/1.719, allocations: 3.652 MB / 0.6442 GB, free: 29.72 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005283/1.724, allocations: 385.2 kB / 0.6445 GB, free: 29.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02477/1.749, allocations: 7.555 MB / 0.6519 GB, free: 22.64 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002184/1.751, allocations: 1.908 MB / 0.6538 GB, free: 21.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003492/1.755, allocations: 448.9 kB / 0.6542 GB, free: 20.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003117/1.758, allocations: 1.139 MB / 0.6553 GB, free: 19.76 MB / 458.7 MB Notification: Performance of SimCode: time 1.753e-06/1.758, allocations: 0 / 0.6553 GB, free: 19.76 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5456/2.303, allocations: 73.98 MB / 0.7275 GB, free: 128.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/2.304, allocations: 182 kB / 0.7277 GB, free: 128.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.415/8.719, allocations: 0 / 0.7277 GB, free: 128.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBearingConversion_res.mat does not exist to compare? outputFormat=mat