Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.966/1.966, allocations: 209.3 MB / 221.4 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.102e-05/4.12e-05, allocations: 5.547 kB / 273.1 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1064, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.394/0.5005, allocations: 73.61 MB / 395.5 MB, free: 36 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.5008, allocations: 64.05 kB / 395.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01074/0.5115, allocations: 2.543 MB / 398.1 MB, free: 13.44 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.408e-06/0.5116, allocations: 4 kB / 398.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.5116, allocations: 4 kB / 398.1 MB, free: 13.43 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006747/0.5123, allocations: 406.5 kB / 398.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.5124, allocations: 9.125 kB / 398.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.627e-05/0.5125, allocations: 50.55 kB / 398.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/0.5125, allocations: 15.81 kB / 398.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.5127, allocations: 186.8 kB / 398.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.5128, allocations: 16.31 kB / 398.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.295e-05/0.5128, allocations: 20 kB / 398.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.5133, allocations: 169.5 kB / 398.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.5133, allocations: 5.766 kB / 398.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.5134, allocations: 8 kB / 398.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.5134, allocations: 7.984 kB / 399 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.5137, allocations: 83.92 kB / 399 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.515, allocations: 0.615 MB / 399.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.5153, allocations: 125.2 kB / 399.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.5155, allocations: 49.72 kB / 399.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.5155, allocations: 4 kB / 399.8 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.5156, allocations: 34.55 kB / 399.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 3.297e-06/0.5156, allocations: 0 / 399.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006347/0.5162, allocations: 159.3 kB / 400 MB, free: 11.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.5163, allocations: 77.11 kB / 400.1 MB, free: 11.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.5165, allocations: 121.2 kB / 400.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.5165, allocations: 25.7 kB / 400.2 MB, free: 11.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.5167, allocations: 135.9 kB / 400.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.067e-05/0.5167, allocations: 59.17 kB / 400.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/0.5168, allocations: 11.94 kB / 400.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5169, allocations: 318.8 kB / 400.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.517, allocations: 40 kB / 400.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.5172, allocations: 100 kB / 400.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.5174, allocations: 59.91 kB / 400.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5174, allocations: 0 / 400.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000633/0.5181, allocations: 223.2 kB / 401.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.5181, allocations: 8 kB / 401.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5182, allocations: 0 / 401.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003161/0.5185, allocations: 45.7 kB / 401.2 MB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.5187, allocations: 39.92 kB / 401.3 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/0.5219, allocations: 2.709 MB / 404 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.5221, allocations: 19.75 kB / 404 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.5221, allocations: 12 kB / 404 MB, free: 6.941 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.5223, allocations: 121.1 kB / 404.1 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.5224, allocations: 11.86 kB / 404.1 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.5224, allocations: 16.62 kB / 404.1 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5225, allocations: 0 / 404.1 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.5225, allocations: 7.984 kB / 404.1 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5225, allocations: 0 / 404.1 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.5229, allocations: 225.5 kB / 404.4 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.523, allocations: 4 kB / 404.4 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.5233, allocations: 23.98 kB / 404.4 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002509/0.5236, allocations: 57.62 kB / 404.4 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.5236, allocations: 7.953 kB / 404.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002796/0.5264, allocations: 2.716 MB / 407.2 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5265, allocations: 0 / 407.2 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.5271, allocations: 377.9 kB / 407.5 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.5272, allocations: 88.97 kB / 407.6 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.5273, allocations: 8.156 kB / 407.6 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.5275, allocations: 4 kB / 407.6 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.5275, allocations: 11.98 kB / 407.7 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.5275, allocations: 4 kB / 407.7 MB, free: 2.902 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.331e-05/0.5276, allocations: 96.53 kB / 407.7 MB, free: 2.809 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.725e-06/0.5277, allocations: 0 / 407.7 MB, free: 2.809 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006085/0.5283, allocations: 63.78 kB / 407.8 MB, free: 2.746 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/0.5294, allocations: 0.9869 MB / 408.8 MB, free: 1.719 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007587/0.5302, allocations: 341.5 kB / 409.1 MB, free: 1.359 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5302, allocations: 0 / 409.1 MB, free: 1.359 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004714/0.5307, allocations: 285.1 kB / 409.4 MB, free: 1.055 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.5312, allocations: 28.86 kB / 409.4 MB, free: 1.027 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.5329, allocations: 0.6241 MB / 410.1 MB, free: 372 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.5335, allocations: 0.7282 MB / 410.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.5336, allocations: 21.12 kB / 410.8 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.995e-05/0.5337, allocations: 43.42 kB / 410.9 MB, free: 15.55 MB / 346.7 MB Notification: Performance of SimCode: time 1.243e-06/0.5337, allocations: 0 / 410.9 MB, free: 15.55 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.5667, allocations: 3.315 MB / 414.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003176/0.5671, allocations: 187.4 kB / 414.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/3.023, allocations: 0 / 414.4 MB, free: 12.1 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat