Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.488/2.488, allocations: 235 MB / 247.2 MB, free: 14.29 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.36e-05/4.367e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.411, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.5656, allocations: 80 MB / 439.9 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.5659, allocations: 71.95 kB / 440 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01027/0.5762, allocations: 2.536 MB / 442.5 MB, free: 14.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.397e-06/0.5763, allocations: 0 / 442.5 MB, free: 14.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.5763, allocations: 4.656 kB / 442.5 MB, free: 14.33 MB / 378.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.0006388/0.5769, allocations: 402.5 kB / 442.9 MB, free: 13.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.577, allocations: 16.02 kB / 442.9 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.549e-05/0.5771, allocations: 54.55 kB / 443 MB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.5772, allocations: 19.77 kB / 443 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.5773, allocations: 186.4 kB / 443.2 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.5774, allocations: 12.27 kB / 443.2 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/0.5774, allocations: 23.91 kB / 443.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.5779, allocations: 161.3 kB / 443.4 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.5779, allocations: 0 / 443.4 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.5779, allocations: 8 kB / 443.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.578, allocations: 11.95 kB / 443.4 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.5782, allocations: 79.98 kB / 443.4 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.5795, allocations: 0.6034 MB / 444.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.5798, allocations: 125.1 kB / 444.2 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.5799, allocations: 53.8 kB / 444.2 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.58, allocations: 0 / 444.2 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.58, allocations: 45.14 kB / 444.3 MB, free: 12.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/0.58, allocations: 0 / 444.3 MB, free: 12.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005476/0.5806, allocations: 147.3 kB / 444.4 MB, free: 12.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.5807, allocations: 81.11 kB / 444.5 MB, free: 12.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.5808, allocations: 119.2 kB / 444.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.5808, allocations: 25.7 kB / 444.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.581, allocations: 140 kB / 444.8 MB, free: 11.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/0.581, allocations: 55.2 kB / 444.8 MB, free: 11.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.5811, allocations: 0 / 444.8 MB, free: 11.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5812, allocations: 330.8 kB / 445.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.5813, allocations: 39.8 kB / 445.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.5815, allocations: 107.6 kB / 445.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.5817, allocations: 51.92 kB / 445.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.5817, allocations: 1.031 kB / 445.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005509/0.5822, allocations: 207.1 kB / 445.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.5823, allocations: 9.672 kB / 445.6 MB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.5823, allocations: 4 kB / 445.6 MB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003061/0.5826, allocations: 61.16 kB / 445.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.5829, allocations: 32.64 kB / 445.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/0.5857, allocations: 2.71 MB / 448.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.5859, allocations: 23.94 kB / 448.4 MB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.5859, allocations: 9.688 kB / 448.4 MB, free: 7.863 MB / 378.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.0001166/0.586, allocations: 112.9 kB / 448.5 MB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.3e-05/0.5861, allocations: 11.91 kB / 448.5 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/0.5862, allocations: 16.61 kB / 448.5 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5862, allocations: 5.031 kB / 448.5 MB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5862, allocations: 0 / 448.5 MB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.5862, allocations: 4 kB / 448.5 MB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.5867, allocations: 241.3 kB / 448.8 MB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.5867, allocations: 3.984 kB / 448.8 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.587, allocations: 24 kB / 448.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002251/0.5873, allocations: 45.69 kB / 448.8 MB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.5873, allocations: 8 kB / 448.9 MB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002691/0.59, allocations: 2.709 MB / 451.6 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.59, allocations: 3.953 kB / 451.6 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006458/0.5907, allocations: 379.5 kB / 451.9 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.5908, allocations: 85.02 kB / 452 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.5908, allocations: 4 kB / 452 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.591, allocations: 4.062 kB / 452 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.591, allocations: 11.92 kB / 452 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.5911, allocations: 4 kB / 452 MB, free: 3.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.471e-05/0.5912, allocations: 105.5 kB / 452.2 MB, free: 3.734 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5912, allocations: 0 / 452.2 MB, free: 3.734 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006611/0.5919, allocations: 63.97 kB / 452.2 MB, free: 3.672 MB / 378.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.0009828/0.5928, allocations: 0.977 MB / 453.2 MB, free: 2.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006926/0.5936, allocations: 332.9 kB / 453.5 MB, free: 2.316 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5936, allocations: 0.5 kB / 453.5 MB, free: 2.316 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004326/0.594, allocations: 279.4 kB / 453.8 MB, free: 2.023 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.5945, allocations: 19.98 kB / 453.8 MB, free: 2.004 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.5961, allocations: 0.6201 MB / 454.4 MB, free: 1.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.5966, allocations: 0.7321 MB / 455.2 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.522e-05/0.5966, allocations: 9.203 kB / 455.2 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.872e-05/0.5967, allocations: 43.42 kB / 455.2 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of SimCode: time 3.296e-06/0.5967, allocations: 0 / 455.2 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.6259, allocations: 3.292 MB / 458.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003185/0.6263, allocations: 190.1 kB / 458.7 MB, free: 13.11 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.428/3.054, allocations: 3.938 kB / 458.7 MB, free: 13.11 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat