Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.89/1.89, allocations: 209.3 MB / 221.9 MB, free: 1.918 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.684e-05/3.691e-05, allocations: 4 kB / 273.1 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1001, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4103/0.5104, allocations: 73.62 MB / 395.5 MB, free: 196 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.5107, allocations: 66.97 kB / 395.5 MB, free: 132 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01066/0.5214, allocations: 2.538 MB / 398.1 MB, free: 13.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5215, allocations: 0 / 398.1 MB, free: 13.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.5215, allocations: 0 / 398.1 MB, free: 13.6 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.0006791/0.5222, allocations: 419.5 kB / 398.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.5223, allocations: 8.031 kB / 398.5 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.686e-05/0.5223, allocations: 58.42 kB / 398.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.262e-05/0.5224, allocations: 19.81 kB / 398.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.5226, allocations: 178.8 kB / 398.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.5226, allocations: 12.33 kB / 398.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.5227, allocations: 20 kB / 398.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.5231, allocations: 167.1 kB / 398.9 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.5231, allocations: 3.906 kB / 398.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.5232, allocations: 4 kB / 398.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.5232, allocations: 4 kB / 399 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.5235, allocations: 79.98 kB / 399 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.5247, allocations: 0.6189 MB / 399.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.525, allocations: 125.2 kB / 399.8 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.5252, allocations: 57.7 kB / 399.8 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.5252, allocations: 4 kB / 399.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.5253, allocations: 34.69 kB / 399.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.655e-06/0.5253, allocations: 0 / 399.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.000557/0.5258, allocations: 147.2 kB / 400 MB, free: 11.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.5259, allocations: 85.11 kB / 400.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.5261, allocations: 121.2 kB / 400.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.5261, allocations: 25.7 kB / 400.2 MB, free: 11.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.5262, allocations: 198.4 kB / 400.4 MB, free: 11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.544e-05/0.5263, allocations: 67.06 kB / 400.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/0.5263, allocations: 4 kB / 400.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5265, allocations: 322.8 kB / 400.8 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.5266, allocations: 32 kB / 400.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.5268, allocations: 98.22 kB / 400.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.527, allocations: 63.94 kB / 401 MB, free: 10.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.527, allocations: 0 / 401 MB, free: 10.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005725/0.5276, allocations: 207.3 kB / 401.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.5276, allocations: 8 kB / 401.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.5276, allocations: 4 kB / 401.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002897/0.5279, allocations: 45.64 kB / 401.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.5282, allocations: 35.98 kB / 401.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00279/0.531, allocations: 2.709 MB / 404 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.5312, allocations: 19.75 kB / 404 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.5312, allocations: 12 kB / 404 MB, free: 7.062 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.0001147/0.5313, allocations: 109 kB / 404.1 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/0.5314, allocations: 15.95 kB / 404.2 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.5315, allocations: 20.56 kB / 404.2 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5315, allocations: 3.984 kB / 404.2 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5315, allocations: 4 kB / 404.2 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5315, allocations: 0 / 404.2 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.532, allocations: 233.5 kB / 404.4 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.532, allocations: 0 / 404.4 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/0.5323, allocations: 23.98 kB / 404.4 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002382/0.5326, allocations: 53.69 kB / 404.5 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.5326, allocations: 3.953 kB / 404.5 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00278/0.5354, allocations: 2.708 MB / 407.2 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.5354, allocations: 4.016 kB / 407.2 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/0.5361, allocations: 390 kB / 407.6 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/0.5362, allocations: 88.97 kB / 407.7 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.5362, allocations: 0 / 407.7 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.5364, allocations: 4.062 kB / 407.7 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.5364, allocations: 15.98 kB / 407.7 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.5365, allocations: 4 kB / 407.7 MB, free: 3.027 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.795e-05/0.5366, allocations: 99.97 kB / 407.8 MB, free: 2.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5366, allocations: 3.938 kB / 407.8 MB, free: 2.926 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006606/0.5372, allocations: 55.84 kB / 407.9 MB, free: 2.871 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.001025/0.5383, allocations: 0.9842 MB / 408.8 MB, free: 1.848 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007014/0.539, allocations: 327.9 kB / 409.2 MB, free: 1.508 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.539, allocations: 0 / 409.2 MB, free: 1.508 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004352/0.5395, allocations: 271.5 kB / 409.4 MB, free: 1.223 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.54, allocations: 23.94 kB / 409.4 MB, free: 1.199 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.5416, allocations: 0.6533 MB / 410.1 MB, free: 0.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.542, allocations: 0.7321 MB / 410.8 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.74e-05/0.5421, allocations: 43.42 kB / 410.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5421, allocations: 0 / 410.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.61/3.152, allocations: 3.717 MB / 414.6 MB, free: 11.98 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat