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 2.282/2.282, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.963e-05/3.96e-05, allocations: 5.531 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.119, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5501, allocations: 73.61 MB / 395.5 MB, free: 15.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.5505, allocations: 67.95 kB / 395.6 MB, free: 15.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01131/0.5618, allocations: 2.533 MB / 398.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5619, allocations: 0 / 398.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.5619, allocations: 8 kB / 398.1 MB, free: 13.31 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.0007097/0.5626, allocations: 415.5 kB / 398.5 MB, free: 12.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.5627, allocations: 8.031 kB / 398.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.921e-05/0.5628, allocations: 46.55 kB / 398.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.5629, allocations: 15.81 kB / 398.6 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.5631, allocations: 182.8 kB / 398.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.5631, allocations: 16.33 kB / 398.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.5632, allocations: 19.94 kB / 398.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.5637, allocations: 163.1 kB / 399 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.5637, allocations: 7.906 kB / 399 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.5638, allocations: 8 kB / 399 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.5638, allocations: 7.984 kB / 399 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.5641, allocations: 79.98 kB / 399.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.5655, allocations: 0.6189 MB / 399.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.5659, allocations: 133.1 kB / 399.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.566, allocations: 45.72 kB / 399.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.566, allocations: 4 kB / 399.9 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.5661, allocations: 34.56 kB / 399.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 3.026e-06/0.5661, allocations: 0 / 399.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.000603/0.5667, allocations: 151.3 kB / 400 MB, free: 11.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.5668, allocations: 81.11 kB / 400.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.567, allocations: 117.2 kB / 400.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.567, allocations: 33.7 kB / 400.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.5671, allocations: 132 kB / 400.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/0.5672, allocations: 55.14 kB / 400.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/0.5672, allocations: 4 kB / 400.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.5674, allocations: 322.8 kB / 400.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.5675, allocations: 40 kB / 400.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.5677, allocations: 106.3 kB / 400.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.5679, allocations: 47.98 kB / 401 MB, free: 10.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5679, allocations: 3.938 kB / 401 MB, free: 10.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006616/0.5686, allocations: 215.2 kB / 401.2 MB, free: 9.945 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.5686, allocations: 8.188 kB / 401.2 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.5686, allocations: 96 / 401.2 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003195/0.569, allocations: 61.61 kB / 401.2 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.5692, allocations: 35.92 kB / 401.3 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/0.5724, allocations: 2.704 MB / 404 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.5726, allocations: 15.84 kB / 404 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.5727, allocations: 8 kB / 404 MB, free: 6.84 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.0001349/0.5728, allocations: 113.1 kB / 404.1 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.994e-05/0.5729, allocations: 15.98 kB / 404.1 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.603e-05/0.573, allocations: 20.61 kB / 404.1 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.573, allocations: 0 / 404.1 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.573, allocations: 4 kB / 404.1 MB, free: 6.684 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.573, allocations: 0 / 404.1 MB, free: 6.684 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004699/0.5735, allocations: 237.4 kB / 404.4 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.5735, allocations: 0 / 404.4 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.5739, allocations: 35.92 kB / 404.4 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002574/0.5741, allocations: 45.7 kB / 404.5 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.5742, allocations: 11.95 kB / 404.5 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003003/0.5772, allocations: 2.705 MB / 407.2 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5772, allocations: 0 / 407.2 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006983/0.578, allocations: 381.9 kB / 407.5 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.578, allocations: 84.97 kB / 407.6 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.5781, allocations: 8.125 kB / 407.6 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.5783, allocations: 4 kB / 407.6 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.5783, allocations: 19.92 kB / 407.7 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.5784, allocations: 3.984 kB / 407.7 MB, free: 2.797 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.5785, allocations: 96.55 kB / 407.8 MB, free: 2.703 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5785, allocations: 3.938 kB / 407.8 MB, free: 2.699 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007265/0.5792, allocations: 59.84 kB / 407.8 MB, free: 2.641 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.001121/0.5804, allocations: 0.9792 MB / 408.8 MB, free: 1.621 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007763/0.5812, allocations: 331.8 kB / 409.1 MB, free: 1.277 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.5812, allocations: 0 / 409.1 MB, free: 1.277 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004496/0.5816, allocations: 267.6 kB / 409.4 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.5822, allocations: 40.92 kB / 409.4 MB, free: 0.957 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.5847, allocations: 0.624 MB / 410.1 MB, free: 300 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005728/0.5853, allocations: 0.7282 MB / 410.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.5855, allocations: 21.19 kB / 410.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.5856, allocations: 39.42 kB / 410.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of SimCode: time 1.853e-06/0.5857, allocations: 0 / 410.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03373/0.6194, allocations: 3.271 MB / 414.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003273/0.6198, allocations: 194.1 kB / 414.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.568/3.187, allocations: 4 kB / 414.3 MB, free: 12.06 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