Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.481/2.481, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.509e-05, allocations: 8 kB / 347.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3853, allocations: 61.87 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.5362, allocations: 86.06 MB / 495 MB, free: 4.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.5365, allocations: 63.95 kB / 495 MB, free: 4.508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0111/0.5476, allocations: 2.696 MB / 497.7 MB, free: 1.809 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5477, allocations: 0 / 497.7 MB, free: 1.809 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.5477, allocations: 4 kB / 497.7 MB, free: 1.805 MB / 410.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.0006002/0.5483, allocations: 406.4 kB / 498.1 MB, free: 1.359 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.5484, allocations: 16.03 kB / 498.2 MB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.868e-05/0.5485, allocations: 50.55 kB / 498.2 MB, free: 1.285 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.5485, allocations: 19.81 kB / 498.2 MB, free: 1.266 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.5487, allocations: 186.7 kB / 498.4 MB, free: 1.043 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.5487, allocations: 8.328 kB / 498.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.5488, allocations: 23.95 kB / 498.4 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.5492, allocations: 157.3 kB / 498.6 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.5493, allocations: 7.891 kB / 498.6 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.5493, allocations: 11.94 kB / 498.6 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.5493, allocations: 8 kB / 498.6 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.5496, allocations: 83.92 kB / 498.7 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.5507, allocations: 0.6112 MB / 499.3 MB, free: 68 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.5511, allocations: 117.2 kB / 499.4 MB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.5512, allocations: 49.72 kB / 499.5 MB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.5513, allocations: 192 / 499.5 MB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.5513, allocations: 42.5 kB / 499.5 MB, free: 15.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.204e-06/0.5513, allocations: 0 / 499.5 MB, free: 15.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005456/0.5519, allocations: 147.2 kB / 499.7 MB, free: 15.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.5519, allocations: 89.03 kB / 499.7 MB, free: 15.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.5521, allocations: 118.6 kB / 499.9 MB, free: 15.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.5521, allocations: 25.7 kB / 499.9 MB, free: 15.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.5522, allocations: 206.4 kB / 0.4884 GB, free: 15.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/0.5523, allocations: 55.2 kB / 0.4884 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.5523, allocations: 4 kB / 0.4884 GB, free: 15.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5525, allocations: 318.8 kB / 0.4887 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.5526, allocations: 36 kB / 0.4888 GB, free: 14.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.5527, allocations: 100.6 kB / 0.4889 GB, free: 14.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.5529, allocations: 47.92 kB / 0.4889 GB, free: 14.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.5529, allocations: 8 kB / 0.4889 GB, free: 14.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005726/0.5535, allocations: 211 kB / 0.4891 GB, free: 14.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.5535, allocations: 8 kB / 0.4891 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5536, allocations: 0 / 0.4891 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003049/0.5539, allocations: 53.94 kB / 0.4892 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.5541, allocations: 35.92 kB / 0.4892 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/0.5568, allocations: 2.712 MB / 0.4919 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.557, allocations: 15.84 kB / 0.4919 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.5571, allocations: 8 kB / 0.4919 GB, free: 11.28 MB / 426.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.0001128/0.5572, allocations: 112.9 kB / 0.492 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.501e-05/0.5573, allocations: 15.75 kB / 0.492 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.5573, allocations: 20.61 kB / 0.492 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.5573, allocations: 0 / 0.492 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.5574, allocations: 3.953 kB / 0.492 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.5574, allocations: 8.062 kB / 0.492 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.5578, allocations: 229.5 kB / 0.4923 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.5578, allocations: 96 / 0.4923 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.5581, allocations: 27.98 kB / 0.4923 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.5584, allocations: 49.67 kB / 0.4923 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.5584, allocations: 8 kB / 0.4923 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/0.561, allocations: 2.708 MB / 0.495 GB, free: 7.777 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5611, allocations: 0 / 0.495 GB, free: 7.777 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006147/0.5617, allocations: 390.4 kB / 0.4954 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.464e-05/0.5618, allocations: 92.91 kB / 0.4954 GB, free: 7.258 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.5618, allocations: 8.062 kB / 0.4954 GB, free: 7.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.562, allocations: 0 / 0.4954 GB, free: 7.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.5621, allocations: 11.94 kB / 0.4955 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.5621, allocations: 8 kB / 0.4955 GB, free: 7.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.798e-05/0.5622, allocations: 101.4 kB / 0.4956 GB, free: 7.133 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5622, allocations: 4 kB / 0.4956 GB, free: 7.129 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006493/0.5628, allocations: 55.84 kB / 0.4956 GB, free: 7.074 MB / 426.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.0009463/0.5638, allocations: 0.979 MB / 0.4966 GB, free: 6.059 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006885/0.5645, allocations: 327.7 kB / 0.4969 GB, free: 5.719 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5645, allocations: 0.5 kB / 0.4969 GB, free: 5.719 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.565, allocations: 267.5 kB / 0.4971 GB, free: 5.438 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.5655, allocations: 23.98 kB / 0.4972 GB, free: 5.414 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.5671, allocations: 0.6571 MB / 0.4978 GB, free: 4.715 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.5675, allocations: 0.7321 MB / 0.4985 GB, free: 3.957 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.547e-05/0.5676, allocations: 39.42 kB / 0.4986 GB, free: 3.918 MB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5676, allocations: 0 / 0.4986 GB, free: 3.918 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.509/3.077, allocations: 3.721 MB / 0.5022 GB, free: 204 kB / 426.7 MB