Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_2_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.172/2.172, allocations: 235 MB / 241.9 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2373/2.41, allocations: 57.2 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/2.687, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.222/2.909, allocations: 79.25 MB / 433.2 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/2.909, allocations: 71.91 kB / 433.3 MB, free: 14.01 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.01591/2.925, allocations: 2.619 MB / 435.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.781e-05/2.925, allocations: 8 kB / 435.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/2.925, allocations: 23.72 kB / 435.9 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/2.926, allocations: 182.8 kB / 436.1 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/2.926, allocations: 4 kB / 436.1 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.591e-05/2.926, allocations: 19.91 kB / 436.1 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000278/2.926, allocations: 76.62 kB / 436.2 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/2.926, allocations: 133.3 kB / 436.4 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/2.926, allocations: 7.984 kB / 436.4 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/2.927, allocations: 11.84 kB / 436.4 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/2.927, allocations: 4 kB / 436.4 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/2.928, allocations: 0.5649 MB / 436.9 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/2.928, allocations: 99.45 kB / 437 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/2.928, allocations: 41.72 kB / 437.1 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/2.928, allocations: 0 / 437.1 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/2.928, allocations: 38.56 kB / 437.1 MB, free: 10.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.325e-06/2.928, allocations: 0 / 437.1 MB, free: 10.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005781/2.929, allocations: 143.3 kB / 437.3 MB, free: 9.863 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/2.929, allocations: 77.11 kB / 437.3 MB, free: 9.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/2.929, allocations: 122.1 kB / 437.4 MB, free: 9.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/2.929, allocations: 25.7 kB / 437.5 MB, free: 9.609 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/2.929, allocations: 128 kB / 437.6 MB, free: 9.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.453e-05/2.929, allocations: 55.2 kB / 437.7 MB, free: 9.426 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/2.93, allocations: 0 / 437.7 MB, free: 9.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/2.93, allocations: 326.8 kB / 438 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/2.93, allocations: 35.86 kB / 438 MB, free: 9.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/2.93, allocations: 96.58 kB / 438.1 MB, free: 8.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/2.93, allocations: 47.92 kB / 438.1 MB, free: 8.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/2.93, allocations: 0 / 438.1 MB, free: 8.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006709/2.931, allocations: 195 kB / 438.3 MB, free: 8.688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/2.931, allocations: 12 kB / 438.4 MB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/2.931, allocations: 3.938 kB / 438.4 MB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004543/2.931, allocations: 49.94 kB / 438.4 MB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/2.932, allocations: 39.92 kB / 438.4 MB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004773/2.937, allocations: 2.598 MB / 441 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/2.937, allocations: 15.78 kB / 441.1 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/2.937, allocations: 8 kB / 441.1 MB, free: 5.723 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.0001694/2.937, allocations: 108.9 kB / 441.2 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/2.937, allocations: 7.906 kB / 441.2 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.826e-05/2.937, allocations: 16.5 kB / 441.2 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/2.937, allocations: 0 / 441.2 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/2.937, allocations: 7.906 kB / 441.2 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/2.937, allocations: 4.062 kB / 441.2 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000735/2.938, allocations: 198.1 kB / 441.4 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/2.938, allocations: 3.906 kB / 441.4 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005484/2.939, allocations: 23.98 kB / 441.4 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003621/2.939, allocations: 41.7 kB / 441.5 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/2.939, allocations: 7.984 kB / 441.5 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004169/2.943, allocations: 2.585 MB / 444.1 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/2.943, allocations: 3.906 kB / 444.1 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008727/2.944, allocations: 366.2 kB / 444.4 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001125/2.946, allocations: 0.7721 MB / 445.2 MB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.225e-05/2.946, allocations: 88.95 kB / 445.3 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/2.946, allocations: 11.89 kB / 445.3 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/2.946, allocations: 0 / 445.3 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/2.946, allocations: 11.97 kB / 445.3 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/2.946, allocations: 7.984 kB / 445.3 MB, free: 1.109 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001101/2.946, allocations: 95.84 kB / 445.4 MB, free: 1.016 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002597/2.949, allocations: 51.84 kB / 445.5 MB, free: 0.9648 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.0002081/2.949, allocations: 99.23 kB / 445.6 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008278/2.95, allocations: 299.9 kB / 445.8 MB, free: 0.543 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/2.95, allocations: 4.062 kB / 445.8 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005491/2.95, allocations: 255.6 kB / 446.1 MB, free: 276 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006778/2.951, allocations: 30.06 kB / 446.1 MB, free: 248 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1535/3.105, allocations: 0.5396 MB / 446.7 MB, free: 132.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/3.105, allocations: 0.7521 MB / 447.4 MB, free: 131.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/3.105, allocations: 0 / 447.4 MB, free: 131.7 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat