Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.501/2.501, allocations: 235 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1695/2.67, allocations: 57.2 MB / 299.2 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/2.967, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1729/3.14, allocations: 79.26 MB / 433.3 MB, free: 14.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/3.14, allocations: 63.95 kB / 433.4 MB, free: 13.98 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.01686/3.157, allocations: 2.615 MB / 436 MB, free: 11.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/3.157, allocations: 11.98 kB / 436 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.876e-05/3.157, allocations: 19.72 kB / 436 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/3.158, allocations: 182.9 kB / 436.2 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/3.158, allocations: 7.984 kB / 436.2 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/3.158, allocations: 15.91 kB / 436.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004008/3.158, allocations: 76.58 kB / 436.3 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005997/3.159, allocations: 145.3 kB / 436.5 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.763e-05/3.159, allocations: 4 kB / 436.5 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/3.159, allocations: 3.906 kB / 436.5 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/3.159, allocations: 4 kB / 436.5 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/3.161, allocations: 0.561 MB / 437 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/3.161, allocations: 95.36 kB / 437.1 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/3.162, allocations: 45.8 kB / 437.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/3.162, allocations: 8 kB / 437.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/3.162, allocations: 34.56 kB / 437.2 MB, free: 9.988 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 4.228e-06/3.162, allocations: 0 / 437.2 MB, free: 9.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.000809/3.163, allocations: 135.3 kB / 437.3 MB, free: 9.844 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/3.163, allocations: 77.11 kB / 437.4 MB, free: 9.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/3.163, allocations: 121.1 kB / 437.5 MB, free: 9.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/3.163, allocations: 29.7 kB / 437.6 MB, free: 9.586 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.454e-05/3.163, allocations: 128 kB / 437.7 MB, free: 9.457 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.451e-05/3.163, allocations: 59.14 kB / 437.8 MB, free: 9.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-06/3.163, allocations: 96 / 437.8 MB, free: 9.398 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/3.163, allocations: 326.8 kB / 438.1 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/3.163, allocations: 31.86 kB / 438.1 MB, free: 9.039 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/3.164, allocations: 104.4 kB / 438.2 MB, free: 8.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/3.164, allocations: 48.02 kB / 438.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/3.164, allocations: 7.938 kB / 438.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007185/3.164, allocations: 191 kB / 438.4 MB, free: 8.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/3.165, allocations: 7.906 kB / 438.5 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/3.165, allocations: 4 kB / 438.5 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003338/3.165, allocations: 45.95 kB / 438.5 MB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/3.165, allocations: 35.92 kB / 438.5 MB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003395/3.169, allocations: 2.606 MB / 441.1 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/3.169, allocations: 15.75 kB / 441.2 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/3.169, allocations: 4 kB / 441.2 MB, free: 5.695 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.0001413/3.169, allocations: 109 kB / 441.3 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.571e-05/3.169, allocations: 7.906 kB / 441.3 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.677e-05/3.169, allocations: 16.58 kB / 441.3 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/3.169, allocations: 8 kB / 441.3 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/3.169, allocations: 3.906 kB / 441.3 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/3.169, allocations: 3.938 kB / 441.3 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/3.17, allocations: 194.1 kB / 441.5 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/3.17, allocations: 3.906 kB / 441.5 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/3.17, allocations: 27.98 kB / 441.5 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002705/3.17, allocations: 41.7 kB / 441.6 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/3.17, allocations: 4 kB / 441.6 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003306/3.174, allocations: 2.589 MB / 444.2 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/3.174, allocations: 8.125 kB / 444.2 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007591/3.175, allocations: 362 kB / 444.5 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009384/3.176, allocations: 0.776 MB / 445.3 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.379e-05/3.176, allocations: 88.95 kB / 445.4 MB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/3.176, allocations: 3.906 kB / 445.4 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/3.176, allocations: 0 / 445.4 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/3.176, allocations: 11.98 kB / 445.4 MB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/3.176, allocations: 8 kB / 445.4 MB, free: 1.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.155e-05/3.176, allocations: 97.31 kB / 445.5 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001729/3.178, allocations: 51.84 kB / 445.6 MB, free: 0.9375 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.0002286/3.178, allocations: 103.2 kB / 445.7 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008445/3.179, allocations: 307.7 kB / 446 MB, free: 0.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/3.179, allocations: 0 / 446 MB, free: 0.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004903/3.18, allocations: 255.5 kB / 446.2 MB, free: 236 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/3.18, allocations: 20.42 kB / 446.2 MB, free: 216 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1659/3.346, allocations: 0.538 MB / 446.8 MB, free: 132.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/3.346, allocations: 0.7526 MB / 447.5 MB, free: 131.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.124e-06/3.346, allocations: 4 kB / 447.5 MB, free: 131.9 MB / 378.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