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 2.832/2.832, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.161e-05, allocations: 4 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4278, allocations: 54.86 MB / 354.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.5893, allocations: 79.33 MB / 433.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.5897, allocations: 63.95 kB / 433.8 MB, free: 15.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01215/0.6018, allocations: 2.523 MB / 436.4 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.6019, allocations: 0 / 436.4 MB, free: 13.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.6019, allocations: 0 / 436.4 MB, free: 13.26 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.000751/0.6027, allocations: 419.1 kB / 436.8 MB, free: 12.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.6027, allocations: 8.031 kB / 436.8 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.917e-05/0.6028, allocations: 19.77 kB / 436.8 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.603, allocations: 182.8 kB / 437 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.6031, allocations: 8 kB / 437 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.6031, allocations: 12 kB / 437 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003041/0.6035, allocations: 72.64 kB / 437.1 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.6039, allocations: 141.3 kB / 437.2 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.6039, allocations: 11.84 kB / 437.2 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.6039, allocations: 3.938 kB / 437.2 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.604, allocations: 7.953 kB / 437.2 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.6053, allocations: 0.5688 MB / 437.8 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.6056, allocations: 117.2 kB / 437.9 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.6057, allocations: 45.72 kB / 437.9 MB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.6058, allocations: 0 / 437.9 MB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.6058, allocations: 42.69 kB / 438 MB, free: 11.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.144e-06/0.6058, allocations: 0 / 438 MB, free: 11.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.00061/0.6065, allocations: 135.2 kB / 438.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.6065, allocations: 81.11 kB / 438.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.6067, allocations: 123.1 kB / 438.3 MB, free: 11.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.6067, allocations: 25.7 kB / 438.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.6069, allocations: 136 kB / 438.5 MB, free: 10.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.264e-05/0.607, allocations: 51.2 kB / 438.5 MB, free: 10.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-06/0.607, allocations: 4 kB / 438.5 MB, free: 10.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.6072, allocations: 322.8 kB / 438.8 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.6073, allocations: 35.86 kB / 438.9 MB, free: 10.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.6075, allocations: 96.44 kB / 439 MB, free: 10.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.6076, allocations: 51.88 kB / 439 MB, free: 10.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.6077, allocations: 4 kB / 439 MB, free: 10.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005917/0.6083, allocations: 187.3 kB / 439.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.6083, allocations: 8.094 kB / 439.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.6083, allocations: 7.875 kB / 439.2 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/0.6087, allocations: 49.69 kB / 439.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.6089, allocations: 35.94 kB / 439.3 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003044/0.612, allocations: 2.622 MB / 441.9 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.6122, allocations: 11.88 kB / 441.9 MB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.6122, allocations: 8 kB / 442 MB, free: 7.133 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.0001318/0.6124, allocations: 113 kB / 442.1 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004792/0.6129, allocations: 147.1 kB / 442.2 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.238e-05/0.613, allocations: 7.906 kB / 442.2 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.525e-05/0.613, allocations: 16.61 kB / 442.2 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.613, allocations: 0 / 442.2 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.6131, allocations: 7.953 kB / 442.2 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6131, allocations: 3.938 kB / 442.2 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.6135, allocations: 198.1 kB / 442.4 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.6135, allocations: 0 / 442.4 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/0.6139, allocations: 27.98 kB / 442.5 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002393/0.6141, allocations: 41.7 kB / 442.5 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.6142, allocations: 8 kB / 442.5 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/0.6172, allocations: 2.614 MB / 445.1 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.6173, allocations: 0 / 445.1 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006789/0.618, allocations: 366.1 kB / 445.5 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.402e-05/0.6181, allocations: 89.02 kB / 445.6 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.6181, allocations: 4.062 kB / 445.6 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.6183, allocations: 0 / 445.6 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.6184, allocations: 15.92 kB / 445.6 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.6184, allocations: 4 kB / 445.6 MB, free: 3.152 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.6185, allocations: 95.97 kB / 445.7 MB, free: 3.059 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6185, allocations: 0 / 445.7 MB, free: 3.059 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007891/0.6193, allocations: 55.8 kB / 445.7 MB, free: 3.004 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.001125/0.6205, allocations: 0.9731 MB / 446.7 MB, free: 1.996 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007527/0.6213, allocations: 319.7 kB / 447 MB, free: 1.664 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6213, allocations: 0 / 447 MB, free: 1.664 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005159/0.6218, allocations: 267.9 kB / 447.3 MB, free: 1.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005619/0.6224, allocations: 28.62 kB / 447.3 MB, free: 1.355 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.6243, allocations: 0.61 MB / 447.9 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.6248, allocations: 0.7282 MB / 448.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.518e-05/0.6249, allocations: 9.219 kB / 448.7 MB, free: 15.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.703e-05/0.625, allocations: 39.42 kB / 448.7 MB, free: 15.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.625, allocations: 0 / 448.7 MB, free: 15.9 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04519/0.6702, allocations: 2.898 MB / 451.6 MB, free: 13.02 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003835/0.6707, allocations: 160.1 kB / 451.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.777/3.447, allocations: 3.938 kB / 451.8 MB, free: 12.82 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat