Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Rotational_Examples_First",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(Modelica): time 1.62/1.62, allocations: 171.2 MB / 178.1 MB, free: 8.281 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2224/1.843, allocations: 41.09 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09041/1.933, allocations: 38.76 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.353/2.286, allocations: 67.34 MB / 325.3 MB, free: 4.672 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/2.286, allocations: 70.02 kB / 325.4 MB, free: 4.637 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0231/2.31, allocations: 3.97 MB / 329.4 MB, free: 1.328 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/2.31, allocations: 15.94 kB / 329.4 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/2.31, allocations: 23.72 kB / 329.4 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/2.31, allocations: 231.6 kB / 329.7 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/2.31, allocations: 8 kB / 329.7 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-05/2.31, allocations: 12 kB / 329.7 MB, free: 1.016 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005245/2.311, allocations: 116.1 kB / 329.8 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005957/2.312, allocations: 148.5 kB / 329.9 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/2.312, allocations: 7.281 kB / 329.9 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/2.312, allocations: 4 kB / 329.9 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/2.312, allocations: 8 kB / 329.9 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/2.314, allocations: 0.5735 MB / 330.5 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004009/2.314, allocations: 105.3 kB / 330.6 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/2.314, allocations: 86.56 kB / 330.7 MB, free: 160 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/2.314, allocations: 4 kB / 330.7 MB, free: 156 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/2.314, allocations: 38.38 kB / 330.8 MB, free: 112 kB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 3.798e-06/2.314, allocations: 3.938 kB / 330.8 MB, free: 108 kB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.003328/2.318, allocations: 0.8976 MB / 331.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/2.318, allocations: 59.41 kB / 331.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/2.318, allocations: 143.9 kB / 331.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/2.318, allocations: 25.7 kB / 331.9 MB, free: 15 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/2.318, allocations: 126.6 kB / 332 MB, free: 14.87 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/2.319, allocations: 108.3 kB / 332.1 MB, free: 14.78 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/2.319, allocations: 0 / 332.1 MB, free: 14.78 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/2.319, allocations: 331.4 kB / 332.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/2.319, allocations: 58.19 kB / 332.5 MB, free: 14.42 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/2.319, allocations: 97.09 kB / 332.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/2.32, allocations: 68.19 kB / 332.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/2.32, allocations: 0 / 332.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009932/2.321, allocations: 250.4 kB / 332.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/2.321, allocations: 8 kB / 332.9 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/2.321, allocations: 4.062 kB / 332.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003427/2.321, allocations: 39.7 kB / 332.9 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/2.322, allocations: 63.34 kB / 333 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/2.325, allocations: 1.492 MB / 334.5 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/2.325, allocations: 7.812 kB / 334.5 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/2.325, allocations: 8 kB / 334.5 MB, free: 12.49 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001741/2.325, allocations: 113 kB / 334.6 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/2.326, allocations: 19.72 kB / 334.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/2.326, allocations: 24.47 kB / 334.7 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/2.326, allocations: 4 kB / 334.7 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/2.326, allocations: 0 / 334.7 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/2.326, allocations: 3.984 kB / 334.7 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/2.328, allocations: 0.6933 MB / 335.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/2.328, allocations: 4 kB / 335.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008033/2.329, allocations: 63.91 kB / 335.4 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003243/2.329, allocations: 39.77 kB / 335.5 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.051e-05/2.329, allocations: 0 / 335.5 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002309/2.332, allocations: 1.323 MB / 336.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/2.332, allocations: 0 / 336.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001387/2.333, allocations: 479.3 kB / 337.3 MB, free: 9.801 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00189/2.335, allocations: 0.9362 MB / 338.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/2.335, allocations: 103 kB / 338.3 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/2.335, allocations: 0 / 338.3 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/2.336, allocations: 11.98 kB / 338.3 MB, free: 8.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.228e-05/2.336, allocations: 18.95 kB / 338.3 MB, free: 8.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/2.336, allocations: 15.23 kB / 338.3 MB, free: 8.793 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001781/2.336, allocations: 109.9 kB / 338.5 MB, free: 8.695 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002414/2.338, allocations: 63.94 kB / 338.5 MB, free: 8.633 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002955/2.339, allocations: 99.19 kB / 338.6 MB, free: 8.527 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001194/2.34, allocations: 294.9 kB / 338.9 MB, free: 8.281 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/2.34, allocations: 0 / 338.9 MB, free: 8.281 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006804/2.341, allocations: 208.8 kB / 339.1 MB, free: 8.094 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/2.342, allocations: 23.48 kB / 339.1 MB, free: 8.078 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/2.344, allocations: 0.5867 MB / 339.7 MB, free: 7.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006827/2.345, allocations: 0.7976 MB / 340.5 MB, free: 6.676 MB / 282.7 MB Notification: Performance of SimCode: time 1.243e-06/2.345, allocations: 0 / 340.5 MB, free: 6.676 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First_res.mat does not exist to compare? outputFormat=mat