Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 2.108/2.108, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2403/2.348, allocations: 51.04 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/2.495, allocations: 48.68 MB / 316 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3227/2.818, allocations: 73.1 MB / 389.1 MB, free: 3.539 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/2.818, allocations: 74.39 kB / 389.2 MB, free: 3.5 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.01121/2.829, allocations: 2.614 MB / 391.8 MB, free: 1.305 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/2.829, allocations: 8 kB / 391.8 MB, free: 1.297 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.375e-05/2.829, allocations: 18.75 kB / 391.8 MB, free: 1.281 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/2.829, allocations: 191.6 kB / 392 MB, free: 1.051 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/2.83, allocations: 8 kB / 392 MB, free: 1.043 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.936e-05/2.83, allocations: 16.75 kB / 392 MB, free: 1.027 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000279/2.83, allocations: 72.14 kB / 392.1 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/2.83, allocations: 136.3 kB / 392.2 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/2.83, allocations: 7.906 kB / 392.2 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/2.83, allocations: 0 / 392.2 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/2.83, allocations: 5.859 kB / 392.2 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/2.831, allocations: 0.5697 MB / 392.8 MB, free: 316 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/2.832, allocations: 99.89 kB / 392.9 MB, free: 224 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/2.832, allocations: 48.09 kB / 392.9 MB, free: 184 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/2.832, allocations: 4 kB / 392.9 MB, free: 180 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/2.832, allocations: 34.64 kB / 393 MB, free: 136 kB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.835e-06/2.832, allocations: 0 / 393 MB, free: 136 kB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005719/2.833, allocations: 139.6 kB / 393.1 MB, free: 4 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/2.833, allocations: 79.89 kB / 393.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/2.833, allocations: 120.4 kB / 393.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/2.833, allocations: 25.7 kB / 393.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.931e-05/2.833, allocations: 124.5 kB / 393.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.105e-05/2.833, allocations: 58.25 kB / 393.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/2.833, allocations: 0 / 393.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/2.833, allocations: 328 kB / 393.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/2.833, allocations: 31.88 kB / 393.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/2.834, allocations: 96.91 kB / 394 MB, free: 15.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/2.834, allocations: 56.59 kB / 394 MB, free: 15.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/2.834, allocations: 0 / 394 MB, free: 15.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001042/2.835, allocations: 193.2 kB / 394.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/2.835, allocations: 4 kB / 394.2 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/2.835, allocations: 0 / 394.2 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004725/2.835, allocations: 46.39 kB / 394.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/2.836, allocations: 36.02 kB / 394.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005308/2.841, allocations: 2.603 MB / 396.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/2.842, allocations: 11.84 kB / 396.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/2.842, allocations: 4 kB / 396.9 MB, free: 12.09 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.0001961/2.842, allocations: 109.1 kB / 397 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/2.842, allocations: 11.95 kB / 397 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/2.842, allocations: 23.78 kB / 397 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/2.842, allocations: 4 kB / 397 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/2.842, allocations: 3.938 kB / 397.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/2.842, allocations: 0 / 397.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000844/2.843, allocations: 199 kB / 397.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/2.843, allocations: 0 / 397.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/2.844, allocations: 23.98 kB / 397.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003261/2.844, allocations: 55.19 kB / 397.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/2.844, allocations: 0 / 397.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004315/2.849, allocations: 2.591 MB / 399.9 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/2.849, allocations: 3.938 kB / 399.9 MB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009829/2.85, allocations: 368.4 kB / 400.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001303/2.851, allocations: 0.7625 MB / 401 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/2.851, allocations: 92.86 kB / 401.1 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/2.851, allocations: 4 kB / 401.1 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/2.852, allocations: 256 / 401.1 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/2.852, allocations: 7.984 kB / 401.1 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/2.852, allocations: 10.69 kB / 401.2 MB, free: 7.707 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001632/2.852, allocations: 93.14 kB / 401.2 MB, free: 7.625 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002485/2.854, allocations: 59.77 kB / 401.3 MB, free: 7.566 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.000289/2.855, allocations: 99.25 kB / 401.4 MB, free: 7.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001141/2.856, allocations: 300.2 kB / 401.7 MB, free: 7.172 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/2.856, allocations: 4 kB / 401.7 MB, free: 7.168 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007163/2.857, allocations: 262.4 kB / 402 MB, free: 6.906 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/2.858, allocations: 23.66 kB / 402 MB, free: 6.887 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/2.86, allocations: 0.5374 MB / 402.5 MB, free: 6.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006149/2.861, allocations: 0.7463 MB / 403.3 MB, free: 5.57 MB / 330.7 MB Notification: Performance of SimCode: time 2.965e-06/2.861, allocations: 4 kB / 403.3 MB, free: 5.566 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