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.967/1.967, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.104e-05/2.116e-05, allocations: 3.938 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1025, allocations: 48.69 MB / 316.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3876/0.4901, allocations: 73.19 MB / 389.5 MB, free: 3.324 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.4904, allocations: 67.69 kB / 389.5 MB, free: 3.289 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009967/0.5004, allocations: 2.521 MB / 392.1 MB, free: 1.227 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.779e-06/0.5005, allocations: 0 / 392.1 MB, free: 1.227 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.5005, allocations: 7.938 kB / 392.1 MB, free: 1.219 MB / 314.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.000629/0.5011, allocations: 413.6 kB / 392.5 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.5012, allocations: 9.891 kB / 392.5 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.5013, allocations: 15.81 kB / 392.5 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.5015, allocations: 190.8 kB / 392.7 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.5015, allocations: 4 kB / 392.7 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/0.5016, allocations: 12 kB / 392.7 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002391/0.5018, allocations: 73.83 kB / 392.8 MB, free: 476 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.5022, allocations: 143.1 kB / 392.9 MB, free: 352 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.5022, allocations: 7.906 kB / 392.9 MB, free: 344 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.5022, allocations: 3.984 kB / 392.9 MB, free: 340 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.5022, allocations: 4 kB / 392.9 MB, free: 336 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.5034, allocations: 0.5672 MB / 393.5 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.5036, allocations: 110.6 kB / 393.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.5038, allocations: 47.42 kB / 393.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.5038, allocations: 8.734 kB / 393.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.5038, allocations: 38.5 kB / 393.7 MB, free: 15.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.766e-06/0.5038, allocations: 0 / 393.7 MB, free: 15.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005041/0.5044, allocations: 136.6 kB / 393.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.5044, allocations: 81.05 kB / 393.9 MB, free: 15.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.5045, allocations: 122.8 kB / 394 MB, free: 15.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.5046, allocations: 25.7 kB / 394.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.5047, allocations: 199.8 kB / 394.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.5048, allocations: 53.5 kB / 394.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.5048, allocations: 3.938 kB / 394.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5049, allocations: 318.2 kB / 394.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.395e-05/0.505, allocations: 28.62 kB / 394.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.5052, allocations: 99.45 kB / 394.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.5053, allocations: 45.73 kB / 394.8 MB, free: 14.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5053, allocations: 4 kB / 394.8 MB, free: 14.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005028/0.5058, allocations: 199.9 kB / 395 MB, free: 14.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5059, allocations: 4 kB / 395 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.5059, allocations: 4 kB / 395 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000306/0.5062, allocations: 56.83 kB / 395.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.5065, allocations: 31.98 kB / 395.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/0.5089, allocations: 2.607 MB / 397.7 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.5091, allocations: 11.88 kB / 397.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.5091, allocations: 8 kB / 397.7 MB, free: 11.49 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.000116/0.5092, allocations: 116.4 kB / 397.8 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004006/0.5096, allocations: 135.7 kB / 398 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-05/0.5097, allocations: 12.09 kB / 398 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.5098, allocations: 22.72 kB / 398 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.5098, allocations: 4 kB / 398 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5098, allocations: 3.938 kB / 398 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5098, allocations: 0 / 398 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.5102, allocations: 200.9 kB / 398.2 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5102, allocations: 0 / 398.2 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.5105, allocations: 23.98 kB / 398.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000204/0.5108, allocations: 46.33 kB / 398.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.5108, allocations: 4 kB / 398.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002364/0.5132, allocations: 2.606 MB / 400.9 MB, free: 8.207 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.5132, allocations: 0 / 400.9 MB, free: 8.207 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.5138, allocations: 373.3 kB / 401.2 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.5139, allocations: 88.95 kB / 401.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.5139, allocations: 4 kB / 401.3 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.5141, allocations: 0 / 401.3 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.5141, allocations: 15.86 kB / 401.3 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.5142, allocations: 4 kB / 401.3 MB, free: 7.727 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.199e-05/0.5143, allocations: 98.89 kB / 401.4 MB, free: 7.637 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5143, allocations: 4.125 kB / 401.4 MB, free: 7.633 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006597/0.5149, allocations: 47.84 kB / 401.5 MB, free: 7.586 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.0009093/0.5159, allocations: 0.9778 MB / 402.5 MB, free: 6.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000634/0.5165, allocations: 318.4 kB / 402.8 MB, free: 6.312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5165, allocations: 0 / 402.8 MB, free: 6.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004023/0.517, allocations: 273 kB / 403.1 MB, free: 6.043 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.5175, allocations: 23.56 kB / 403.1 MB, free: 6.023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.5191, allocations: 0.6283 MB / 403.7 MB, free: 5.359 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.5195, allocations: 0.7321 MB / 404.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.472e-05/0.5196, allocations: 42.48 kB / 404.5 MB, free: 4.582 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5196, allocations: 3.938 kB / 404.5 MB, free: 4.578 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.716/3.235, allocations: 3.719 MB / 408.2 MB, free: 0.8906 MB / 330.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