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.564/2.564, allocations: 235 MB / 247.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.002e-05/4.012e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4363, allocations: 54.86 MB / 359.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.6288, allocations: 79.99 MB / 439.8 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.6292, allocations: 63.97 kB / 439.9 MB, free: 0.875 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01361/0.6428, allocations: 2.543 MB / 442.5 MB, free: 14.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.098e-06/0.6429, allocations: 0 / 442.5 MB, free: 14.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.6429, allocations: 0.6562 kB / 442.5 MB, free: 14.36 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.0008573/0.6438, allocations: 414.5 kB / 442.9 MB, free: 13.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.6439, allocations: 8.031 kB / 442.9 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.178e-05/0.644, allocations: 48.92 kB / 442.9 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.902e-05/0.6441, allocations: 23.77 kB / 442.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.6443, allocations: 191.9 kB / 443.1 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.6443, allocations: 12.33 kB / 443.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.907e-05/0.6444, allocations: 23.89 kB / 443.2 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.645, allocations: 161.6 kB / 443.3 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.645, allocations: 0 / 443.3 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.6451, allocations: 16 kB / 443.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.6451, allocations: 7.953 kB / 443.3 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.6455, allocations: 83.98 kB / 443.4 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.647, allocations: 0.6034 MB / 444 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.6475, allocations: 121.7 kB / 444.1 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.6477, allocations: 53.8 kB / 444.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.6478, allocations: 4 kB / 444.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.6478, allocations: 38.52 kB / 444.2 MB, free: 12.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 4.348e-06/0.6479, allocations: 0 / 444.2 MB, free: 12.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007859/0.6487, allocations: 149 kB / 444.4 MB, free: 12.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.762e-05/0.6488, allocations: 81.11 kB / 444.5 MB, free: 12.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.649, allocations: 122.8 kB / 444.6 MB, free: 12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.649, allocations: 29.7 kB / 444.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.6492, allocations: 132 kB / 444.7 MB, free: 11.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.959e-05/0.6493, allocations: 59.12 kB / 444.8 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.6493, allocations: 8 kB / 444.8 MB, free: 11.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.6495, allocations: 322.8 kB / 445.1 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.6497, allocations: 39.86 kB / 445.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.6499, allocations: 108.6 kB / 445.3 MB, free: 11.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.6501, allocations: 58.06 kB / 445.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6502, allocations: 0 / 445.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009397/0.6511, allocations: 211 kB / 445.5 MB, free: 10.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.6512, allocations: 11.95 kB / 445.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.6512, allocations: 0 / 445.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000435/0.6517, allocations: 53.23 kB / 445.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.652, allocations: 43.91 kB / 445.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003999/0.656, allocations: 2.717 MB / 448.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.6563, allocations: 15.84 kB / 448.4 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.6564, allocations: 9.406 kB / 448.4 MB, free: 7.867 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.0001653/0.6566, allocations: 120.9 kB / 448.5 MB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.6567, allocations: 7.906 kB / 448.5 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.337e-05/0.6568, allocations: 20.61 kB / 448.5 MB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.6568, allocations: 0 / 448.5 MB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.6568, allocations: 8.094 kB / 448.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.6569, allocations: 0 / 448.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006455/0.6575, allocations: 225.5 kB / 448.8 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.6575, allocations: 4 kB / 448.8 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.658, allocations: 27.98 kB / 448.8 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003254/0.6583, allocations: 53.62 kB / 448.8 MB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.6584, allocations: 0 / 448.8 MB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003797/0.6622, allocations: 2.712 MB / 451.5 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.6623, allocations: 3.953 kB / 451.6 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009364/0.6632, allocations: 388 kB / 451.9 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.253e-05/0.6633, allocations: 88.95 kB / 452 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.6634, allocations: 0 / 452 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.6637, allocations: 8.062 kB / 452 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.6638, allocations: 7.984 kB / 452 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.6638, allocations: 4 kB / 452 MB, free: 3.832 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001231/0.664, allocations: 104.7 kB / 452.1 MB, free: 3.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.664, allocations: 0 / 452.1 MB, free: 3.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001097/0.6651, allocations: 55.84 kB / 452.2 MB, free: 3.676 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.001394/0.6665, allocations: 0.9868 MB / 453.2 MB, free: 2.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001/0.6676, allocations: 343.1 kB / 453.5 MB, free: 2.293 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.6676, allocations: 4.062 kB / 453.5 MB, free: 2.289 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006107/0.6682, allocations: 281.2 kB / 453.8 MB, free: 1.988 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007041/0.669, allocations: 29.61 kB / 453.8 MB, free: 1.961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.6714, allocations: 0.6124 MB / 454.4 MB, free: 1.316 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/0.6721, allocations: 0.7321 MB / 455.2 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.6722, allocations: 13.19 kB / 455.2 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.6723, allocations: 43.42 kB / 455.2 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of SimCode: time 5.179e-06/0.6724, allocations: 0 / 455.2 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03503/0.7074, allocations: 3.333 MB / 458.6 MB, free: 13.26 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004203/0.7079, allocations: 195.3 kB / 458.7 MB, free: 13.03 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/3.313, allocations: 0 / 458.7 MB, free: 13.03 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