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.495/2.495, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.703e-05/2.701e-05, allocations: 3.938 kB / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.412, allocations: 54.85 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1774/0.5894, allocations: 95.62 MB / 449.9 MB, free: 2.559 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.5897, allocations: 63.97 kB / 450 MB, free: 2.496 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6153/1.205, allocations: 63.28 MB / 0.5013 GB, free: 107.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.404e-06/1.205, allocations: 0 / 0.5013 GB, free: 107.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002134/1.205, allocations: 67.73 kB / 0.5013 GB, free: 107.3 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: 719 * Number of variables: 719 Notification: Performance of Generate backend data structure: time 0.01282/1.218, allocations: 2.874 MB / 0.5041 GB, free: 106.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/1.218, allocations: 7.75 kB / 0.5041 GB, free: 106.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/1.221, allocations: 416.6 kB / 0.5045 GB, free: 106 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004201/1.225, allocations: 1.294 MB / 0.5058 GB, free: 105.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001304/1.227, allocations: 494.2 kB / 0.5063 GB, free: 105.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001419/1.228, allocations: 197.5 kB / 0.5065 GB, free: 105.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01042/1.239, allocations: 2.918 MB / 0.5093 GB, free: 105.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009917/1.249, allocations: 2.765 MB / 0.512 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002834/1.249, allocations: 42.05 kB / 0.512 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006787/1.25, allocations: 3.75 kB / 0.5121 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.334e-05/1.25, allocations: 72.69 kB / 0.5121 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02556/1.275, allocations: 9.143 MB / 0.5211 GB, free: 99.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006303/1.282, allocations: 2.691 MB / 0.5237 GB, free: 98.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004126/1.286, allocations: 1.452 MB / 0.5251 GB, free: 97.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007248/1.287, allocations: 221.8 kB / 0.5253 GB, free: 97.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.27e-05/1.287, allocations: 84.69 kB / 0.5254 GB, free: 97.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=366): time 8.155e-06/1.287, allocations: 0 / 0.5254 GB, free: 97.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=429): time 0.03918/1.326, allocations: 16.12 MB / 0.5411 GB, free: 83.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/1.326, allocations: 0.5619 MB / 0.5417 GB, free: 82.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/1.328, allocations: 1.021 MB / 0.5427 GB, free: 81.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001081/1.33, allocations: 60.78 kB / 0.5427 GB, free: 81.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009317/1.33, allocations: 0.9161 MB / 0.5436 GB, free: 80.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002049/1.333, allocations: 1.383 MB / 0.545 GB, free: 79.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009038/1.333, allocations: 8 kB / 0.545 GB, free: 79.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004391/1.334, allocations: 468 kB / 0.5454 GB, free: 79.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006774/1.341, allocations: 1.259 MB / 0.5467 GB, free: 78.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007572/1.348, allocations: 1.968 MB / 0.5486 GB, free: 75.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00743/1.356, allocations: 1.327 MB / 0.5499 GB, free: 74.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.741e-05/1.356, allocations: 8 kB / 0.5499 GB, free: 74.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.02235/1.378, allocations: 4.247 MB / 0.554 GB, free: 70.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.004e-05/1.379, allocations: 16 kB / 0.554 GB, free: 70.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.626e-05/1.379, allocations: 21.25 kB / 0.5541 GB, free: 70.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009476/1.388, allocations: 1.715 MB / 0.5557 GB, free: 68.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00953/1.398, allocations: 0.8074 MB / 0.5565 GB, free: 67.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03592/1.434, allocations: 15.86 MB / 0.572 GB, free: 51.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007879/1.442, allocations: 299.8 kB / 0.5723 GB, free: 51.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001592/1.443, allocations: 187.9 kB / 0.5725 GB, free: 50.86 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: lossyGear.flange_a.tau:VARIABLE(flow=true unit = "N.m" ) "Cut torque in the flange" type: Real lossyGear.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: lossyGear1.flange_a.tau:VARIABLE(flow=true unit = "N.m" ) "Cut torque in the flange" type: Real lossyGear1.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gear2_1.flange_a.tau:VARIABLE(flow=true unit = "N.m" ) "Cut torque in the flange" type: Real gear2_1.lossyGear.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gear2_2.flange_a.tau:VARIABLE(flow=true unit = "N.m" ) "Cut torque in the flange" type: Real gear2_2.lossyGear.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: bearingFriction1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real 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.002282/1.446, allocations: 242.9 kB / 0.5727 GB, free: 50.63 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01676/1.462, allocations: 3.676 MB / 0.5763 GB, free: 46.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00184/1.464, allocations: 260.9 kB / 0.5766 GB, free: 46.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005775/1.47, allocations: 1.454 MB / 0.578 GB, free: 45.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.868e-05/1.47, allocations: 44 kB / 0.578 GB, free: 45.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.962e-05/1.47, allocations: 4 kB / 0.578 GB, free: 45.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001185/1.47, allocations: 27.92 kB / 0.5781 GB, free: 45.09 MB / 426.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.02889/1.499, allocations: 9.544 MB / 0.5874 GB, free: 35.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.666e-05/1.5, allocations: 8 kB / 0.5874 GB, free: 35.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006558/1.506, allocations: 0.7258 MB / 0.5881 GB, free: 34.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005852/1.512, allocations: 1.584 MB / 0.5896 GB, free: 33.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009783/1.513, allocations: 79.88 kB / 0.5897 GB, free: 33.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02289/1.536, allocations: 15.31 MB / 0.6047 GB, free: 16.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.529e-05/1.536, allocations: 15.94 kB / 0.6047 GB, free: 16.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01803/1.554, allocations: 7.315 MB / 0.6118 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002871/1.557, allocations: 0.6848 MB / 0.6125 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002111/1.559, allocations: 47.95 kB / 0.6125 GB, free: 8.402 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00884/1.568, allocations: 283.7 kB / 0.6128 GB, free: 8.125 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003584/1.572, allocations: 0.6212 MB / 0.6134 GB, free: 7.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001268/1.573, allocations: 165 kB / 0.6136 GB, free: 7.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002422/1.575, allocations: 0.764 MB / 0.6143 GB, free: 6.578 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.403e-06/1.576, allocations: 0 / 0.6143 GB, free: 6.578 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01038/1.586, allocations: 0.8163 MB / 0.6151 GB, free: 5.762 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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.04717/1.633, allocations: 10.63 MB / 0.6255 GB, free: 10.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02384/1.657, allocations: 4.355 MB / 0.6297 GB, free: 6.352 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.657, allocations: 3.938 kB / 0.6298 GB, free: 6.348 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01687/1.674, allocations: 3.52 MB / 0.6332 GB, free: 2.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007118/1.681, allocations: 296.1 kB / 0.6335 GB, free: 2.488 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03628/1.718, allocations: 7.22 MB / 0.6405 GB, free: 11.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003729/1.721, allocations: 1.888 MB / 0.6424 GB, free: 9.164 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004659/1.726, allocations: 429.4 kB / 0.6428 GB, free: 8.738 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003383/1.73, allocations: 1.124 MB / 0.6439 GB, free: 7.613 MB / 458.7 MB Notification: Performance of SimCode: time 1.312e-06/1.73, allocations: 3.938 kB / 0.6439 GB, free: 7.609 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5332/2.263, allocations: 69.64 MB / 0.7119 GB, free: 119.9 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/2.263, allocations: 140.2 kB / 0.712 GB, free: 119.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.861/8.124, allocations: 0 / 0.712 GB, free: 119.7 MB / 474.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