Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestBearingConversion,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestBearingConversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.866/2.866, allocations: 249.5 MB / 261.6 MB, free: 2.148 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.038e-05/4.057e-05, allocations: 7.984 kB / 323.5 MB, free: 4.211 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4335, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.631, allocations: 101.7 MB / 483.9 MB, free: 6.73 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.6313, allocations: 71.97 kB / 484 MB, free: 6.66 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6669/1.298, allocations: 65.24 MB / 0.5364 GB, free: 113.4 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.145e-06/1.298, allocations: 3.938 kB / 0.5364 GB, free: 113.4 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002391/1.299, allocations: 65.09 kB / 0.5364 GB, free: 113.4 MB / 458.8 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.0133/1.312, allocations: 2.867 MB / 0.5392 GB, free: 112.3 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/1.312, allocations: 14.84 kB / 0.5393 GB, free: 112.3 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001643/1.314, allocations: 392.9 kB / 0.5396 GB, free: 112.3 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003199/1.317, allocations: 411.5 kB / 0.54 GB, free: 112.1 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004489/1.321, allocations: 1.3 MB / 0.5413 GB, free: 111.7 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00142/1.323, allocations: 0.5836 MB / 0.5419 GB, free: 111.4 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001547/1.324, allocations: 315.7 kB / 0.5422 GB, free: 111.4 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/1.343, allocations: 3.125 MB / 0.5452 GB, free: 111 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002989/1.343, allocations: 39.56 kB / 0.5453 GB, free: 111 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006663/1.344, allocations: 118.6 kB / 0.5454 GB, free: 111 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.819e-05/1.344, allocations: 67.78 kB / 0.5454 GB, free: 111 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009141/1.353, allocations: 3.044 MB / 0.5484 GB, free: 111 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02776/1.381, allocations: 9.783 MB / 0.558 GB, free: 106.2 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007345/1.388, allocations: 2.877 MB / 0.5608 GB, free: 104.7 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00487/1.393, allocations: 1.56 MB / 0.5623 GB, free: 104 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006585/1.394, allocations: 233.3 kB / 0.5625 GB, free: 103.8 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.671e-05/1.394, allocations: 87 kB / 0.5626 GB, free: 103.7 MB / 458.8 MB Notification: Performance of pre-optimization done (n=366): time 8.647e-06/1.394, allocations: 4 kB / 0.5626 GB, free: 103.7 MB / 458.8 MB Notification: Performance of matching and sorting (n=429): time 0.04082/1.435, allocations: 17.41 MB / 0.5796 GB, free: 88.93 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002002/1.435, allocations: 0.6088 MB / 0.5802 GB, free: 88.2 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002868/1.438, allocations: 1.291 MB / 0.5815 GB, free: 87.03 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001207/1.439, allocations: 125 kB / 0.5816 GB, free: 86.91 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009629/1.44, allocations: 0.9034 MB / 0.5825 GB, free: 86.09 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002413/1.443, allocations: 1.435 MB / 0.5839 GB, free: 84.8 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009787/1.444, allocations: 87.14 kB / 0.5839 GB, free: 84.72 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.000318/1.444, allocations: 470 kB / 0.5844 GB, free: 84.3 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004707/1.449, allocations: 1.347 MB / 0.5857 GB, free: 82.99 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005401/1.454, allocations: 2.046 MB / 0.5877 GB, free: 80.77 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004528/1.459, allocations: 1.369 MB / 0.589 GB, free: 79.55 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-05/1.459, allocations: 4 kB / 0.589 GB, free: 79.55 MB / 458.8 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01566/1.474, allocations: 4.576 MB / 0.5935 GB, free: 75.3 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/1.474, allocations: 12 kB / 0.5935 GB, free: 75.29 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.827e-05/1.475, allocations: 20 kB / 0.5935 GB, free: 75.27 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006395/1.481, allocations: 1.737 MB / 0.5952 GB, free: 73.79 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006193/1.487, allocations: 0.8072 MB / 0.596 GB, free: 73.11 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02565/1.513, allocations: 16.24 MB / 0.6119 GB, free: 56.8 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006032/1.519, allocations: 382.1 kB / 0.6123 GB, free: 56.5 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/1.52, allocations: 184.7 kB / 0.6124 GB, free: 56.33 MB / 458.8 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.001194/1.521, allocations: 365.3 kB / 0.6128 GB, free: 55.97 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/1.523, allocations: 288.6 kB / 0.6131 GB, free: 55.69 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005476/1.528, allocations: 1.539 MB / 0.6146 GB, free: 54.35 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.303e-05/1.528, allocations: 44 kB / 0.6146 GB, free: 54.31 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.329e-05/1.528, allocations: 8 kB / 0.6146 GB, free: 54.3 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001025/1.529, allocations: 24.95 kB / 0.6146 GB, free: 54.3 MB / 458.8 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.03523/1.564, allocations: 10.06 MB / 0.6245 GB, free: 44.15 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000108/1.564, allocations: 8.094 kB / 0.6245 GB, free: 44.14 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009803/1.574, allocations: 0.7412 MB / 0.6252 GB, free: 43.4 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009623/1.584, allocations: 1.6 MB / 0.6268 GB, free: 41.81 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001461/1.585, allocations: 131.9 kB / 0.6269 GB, free: 41.68 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03652/1.622, allocations: 15.71 MB / 0.6422 GB, free: 25.1 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.041e-05/1.622, allocations: 15.94 kB / 0.6422 GB, free: 25.08 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02853/1.65, allocations: 7.865 MB / 0.6499 GB, free: 16.8 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003967/1.654, allocations: 0.6964 MB / 0.6506 GB, free: 16.08 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002096/1.656, allocations: 123.9 kB / 0.6507 GB, free: 15.96 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008955/1.665, allocations: 347.7 kB / 0.651 GB, free: 15.62 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003813/1.669, allocations: 0.6057 MB / 0.6516 GB, free: 15.01 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001532/1.671, allocations: 163.9 kB / 0.6518 GB, free: 14.85 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003509/1.675, allocations: 0.9849 MB / 0.6527 GB, free: 13.88 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.493e-06/1.675, allocations: 3.938 kB / 0.6528 GB, free: 13.87 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01088/1.686, allocations: 0.996 MB / 0.6537 GB, free: 12.88 MB / 458.8 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.03349/1.719, allocations: 11.31 MB / 0.6648 GB, free: 1.238 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01973/1.739, allocations: 4.532 MB / 0.6692 GB, free: 12.62 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-05/1.739, allocations: 0 / 0.6692 GB, free: 12.62 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01893/1.758, allocations: 3.64 MB / 0.6728 GB, free: 8.918 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005364/1.763, allocations: 382 kB / 0.6731 GB, free: 8.555 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02782/1.791, allocations: 7.581 MB / 0.6805 GB, free: 0.8711 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002824/1.794, allocations: 1.904 MB / 0.6824 GB, free: 14.93 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003539/1.798, allocations: 438.8 kB / 0.6828 GB, free: 14.5 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003652/1.801, allocations: 1.14 MB / 0.6839 GB, free: 13.36 MB / 490.8 MB Notification: Performance of SimCode: time 1.764e-06/1.802, allocations: 0 / 0.6839 GB, free: 13.36 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5713/2.373, allocations: 73.98 MB / 0.7562 GB, free: 131 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/2.373, allocations: 179.9 kB / 0.7563 GB, free: 130.8 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.948/9.321, allocations: 0 / 0.7563 GB, free: 130.8 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBearingConversion_res.mat does not exist to compare? outputFormat=mat