Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.277/2.277, allocations: 209.4 MB / 216.5 MB, free: 6.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.341e-05/2.345e-05, allocations: 2.391 kB / 267.6 MB, free: 4.965 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1161, allocations: 48.7 MB / 316.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4215/0.5376, allocations: 73.17 MB / 389.5 MB, free: 3.258 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.538, allocations: 66.53 kB / 389.6 MB, free: 3.223 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01061/0.5486, allocations: 2.524 MB / 392.1 MB, free: 1.164 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5486, allocations: 0 / 392.1 MB, free: 1.164 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.5487, allocations: 4 kB / 392.1 MB, free: 1.16 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.0006267/0.5493, allocations: 406.3 kB / 392.5 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.5494, allocations: 12.03 kB / 392.5 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.5495, allocations: 25.78 kB / 392.5 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.5497, allocations: 178.8 kB / 392.7 MB, free: 484 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.5497, allocations: 8 kB / 392.7 MB, free: 476 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.5498, allocations: 11.56 kB / 392.7 MB, free: 468 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002512/0.55, allocations: 79.75 kB / 392.8 MB, free: 412 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.5504, allocations: 135.9 kB / 392.9 MB, free: 296 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.5504, allocations: 7.891 kB / 392.9 MB, free: 288 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.5504, allocations: 0 / 392.9 MB, free: 288 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.5504, allocations: 4 kB / 392.9 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.5516, allocations: 0.5692 MB / 393.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.5519, allocations: 132.2 kB / 393.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.552, allocations: 41.09 kB / 393.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.552, allocations: 4 kB / 393.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.5521, allocations: 30.56 kB / 393.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.875e-06/0.5521, allocations: 0.875 kB / 393.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.000528/0.5526, allocations: 146.5 kB / 393.9 MB, free: 15.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.5527, allocations: 81.09 kB / 393.9 MB, free: 15.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.5528, allocations: 116.7 kB / 394 MB, free: 15.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.5529, allocations: 29.7 kB / 394.1 MB, free: 15.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.553, allocations: 127.2 kB / 394.2 MB, free: 15.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/0.5531, allocations: 55.08 kB / 394.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.5531, allocations: 4 kB / 394.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.5532, allocations: 326.7 kB / 394.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.459e-05/0.5533, allocations: 27.44 kB / 394.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.5535, allocations: 98.95 kB / 394.7 MB, free: 14.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.5536, allocations: 45.86 kB / 394.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.5536, allocations: 0 / 394.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005465/0.5542, allocations: 198.9 kB / 394.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.5542, allocations: 4 kB / 394.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.5543, allocations: 7.984 kB / 395 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002855/0.5546, allocations: 44.58 kB / 395 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.5548, allocations: 39.8 kB / 395 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/0.5574, allocations: 2.61 MB / 397.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.5576, allocations: 15.75 kB / 397.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.5577, allocations: 8 kB / 397.7 MB, free: 11.48 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.0001283/0.5578, allocations: 116 kB / 397.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004096/0.5582, allocations: 144.6 kB / 397.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.5583, allocations: 11.91 kB / 397.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.5584, allocations: 11.5 kB / 397.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.5584, allocations: 4 kB / 397.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.5584, allocations: 0 / 397.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.5584, allocations: 4 kB / 398 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.5588, allocations: 197.6 kB / 398.1 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.5588, allocations: 0 / 398.1 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.5591, allocations: 27.98 kB / 398.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002118/0.5593, allocations: 40.45 kB / 398.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/0.5594, allocations: 2.688 kB / 398.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/0.5619, allocations: 2.62 MB / 400.8 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.562, allocations: 0 / 400.8 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/0.5626, allocations: 369.6 kB / 401.2 MB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.47e-05/0.5626, allocations: 88.83 kB / 401.3 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.5627, allocations: 0 / 401.3 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.5629, allocations: 0 / 401.3 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.5629, allocations: 11.97 kB / 401.3 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.563, allocations: 4 kB / 401.3 MB, free: 7.727 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.454e-05/0.5631, allocations: 96.08 kB / 401.4 MB, free: 7.641 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.056e-06/0.5631, allocations: 0 / 401.4 MB, free: 7.641 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007401/0.5638, allocations: 59.78 kB / 401.5 MB, free: 7.582 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.000972/0.5648, allocations: 0.9711 MB / 402.4 MB, free: 6.617 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006715/0.5655, allocations: 325.1 kB / 402.7 MB, free: 6.309 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5655, allocations: 0 / 402.7 MB, free: 6.309 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004009/0.566, allocations: 265 kB / 403 MB, free: 6.047 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.5665, allocations: 31.39 kB / 403 MB, free: 6.027 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.5682, allocations: 0.6054 MB / 403.6 MB, free: 5.391 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.5685, allocations: 0.7321 MB / 404.4 MB, free: 4.633 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.1e-05/0.5686, allocations: 9.203 kB / 404.4 MB, free: 4.625 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.5687, allocations: 46.05 kB / 404.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5687, allocations: 3.938 kB / 404.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04564/0.6144, allocations: 2.903 MB / 407.3 MB, free: 1.707 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003419/0.6148, allocations: 155.6 kB / 407.5 MB, free: 1.516 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/3.056, allocations: 0 / 407.5 MB, free: 1.516 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat