Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.42/3.42, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.999e-05/4.012e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4468, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2129/0.6598, allocations: 79.33 MB / 433.7 MB, free: 15.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003917/0.6603, allocations: 63.97 kB / 433.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01908/0.6794, allocations: 2.533 MB / 436.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.6794, allocations: 0 / 436.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.051e-05/0.6795, allocations: 4 kB / 436.3 MB, free: 13.14 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.001056/0.6806, allocations: 411.1 kB / 436.7 MB, free: 12.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.235e-05/0.6807, allocations: 12.03 kB / 436.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.6808, allocations: 42.55 kB / 436.8 MB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.442e-05/0.6809, allocations: 19.77 kB / 436.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.6812, allocations: 186.8 kB / 437 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.6813, allocations: 12.31 kB / 437 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.703e-05/0.6814, allocations: 16 kB / 437 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004506/0.6818, allocations: 72.64 kB / 437.1 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/0.6824, allocations: 133.3 kB / 437.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.6825, allocations: 7.906 kB / 437.2 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.6826, allocations: 0 / 437.2 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.6826, allocations: 7.953 kB / 437.2 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.6845, allocations: 0.5688 MB / 437.8 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004849/0.6851, allocations: 117.2 kB / 437.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.6853, allocations: 45.72 kB / 438 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.6853, allocations: 0 / 438 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.004e-05/0.6854, allocations: 42.67 kB / 438 MB, free: 11.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 4.348e-06/0.6854, allocations: 0 / 438 MB, free: 11.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009697/0.6864, allocations: 143.2 kB / 438.2 MB, free: 11.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/0.6865, allocations: 77.11 kB / 438.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.6868, allocations: 117.2 kB / 438.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.6868, allocations: 25.7 kB / 438.4 MB, free: 10.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.687, allocations: 128 kB / 438.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.6871, allocations: 63.12 kB / 438.6 MB, free: 10.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.6872, allocations: 0 / 438.6 MB, free: 10.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.6874, allocations: 330.8 kB / 438.9 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.6876, allocations: 39.8 kB / 438.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.6879, allocations: 96.45 kB / 439 MB, free: 10.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.6882, allocations: 59.94 kB / 439.1 MB, free: 10.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.6882, allocations: 0 / 439.1 MB, free: 10.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009598/0.6892, allocations: 187.2 kB / 439.3 MB, free: 9.938 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.6892, allocations: 4 kB / 439.3 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.6892, allocations: 4 kB / 439.3 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004756/0.6897, allocations: 49.59 kB / 439.3 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.6902, allocations: 39.98 kB / 439.3 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004503/0.6947, allocations: 2.606 MB / 442 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.695, allocations: 11.88 kB / 442 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.467e-05/0.6951, allocations: 15.98 kB / 442 MB, free: 6.969 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.000191/0.6953, allocations: 117.1 kB / 442.1 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.6955, allocations: 15.77 kB / 442.1 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.705e-05/0.6955, allocations: 12.62 kB / 442.1 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.6956, allocations: 0 / 442.1 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/0.6956, allocations: 4 kB / 442.1 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.6956, allocations: 3.938 kB / 442.1 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006033/0.6962, allocations: 194.2 kB / 442.3 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.6963, allocations: 4 kB / 442.3 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/0.6968, allocations: 23.98 kB / 442.3 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003943/0.6973, allocations: 45.7 kB / 442.4 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.6973, allocations: 4 kB / 442.4 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004224/0.7016, allocations: 2.613 MB / 445 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/0.7016, allocations: 8.094 kB / 445 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009717/0.7026, allocations: 362.1 kB / 445.4 MB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.7028, allocations: 85.02 kB / 445.5 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.7028, allocations: 3.938 kB / 445.5 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.7031, allocations: 7.953 kB / 445.5 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.7032, allocations: 11.98 kB / 445.5 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.7033, allocations: 12.05 kB / 445.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.7034, allocations: 91.5 kB / 445.6 MB, free: 3.047 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.7034, allocations: 4.031 kB / 445.6 MB, free: 3.043 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001052/0.7045, allocations: 55.78 kB / 445.6 MB, free: 2.988 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.001538/0.7061, allocations: 0.9731 MB / 446.6 MB, free: 1.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.7071, allocations: 311.8 kB / 446.9 MB, free: 1.656 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.7072, allocations: 0 / 446.9 MB, free: 1.656 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007154/0.7079, allocations: 275.4 kB / 447.2 MB, free: 1.367 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007931/0.7087, allocations: 24.86 kB / 447.2 MB, free: 1.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.7115, allocations: 0.6017 MB / 447.8 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/0.7122, allocations: 0.732 MB / 448.5 MB, free: 15.94 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.7123, allocations: 17.2 kB / 448.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.7125, allocations: 39.42 kB / 448.6 MB, free: 15.89 MB / 394.7 MB Notification: Performance of SimCode: time 1.533e-06/0.7125, allocations: 0 / 448.6 MB, free: 15.89 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06961/0.7821, allocations: 2.955 MB / 451.6 MB, free: 12.94 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004219/0.7826, allocations: 172 kB / 451.7 MB, free: 12.74 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.334/4.117, allocations: 0 / 451.7 MB, free: 12.74 MB / 394.7 MB