Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Rotational_Examples_Backlash",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.739/1.739, allocations: 171.2 MB / 178.1 MB, free: 8.332 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1955/1.934, allocations: 41.11 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09703/2.031, allocations: 38.77 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2667/2.298, allocations: 66.94 MB / 325 MB, free: 5.051 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/2.298, allocations: 65.84 kB / 325 MB, free: 5.02 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.033/2.331, allocations: 4.906 MB / 329.9 MB, free: 0.875 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/2.331, allocations: 11.98 kB / 329.9 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/2.332, allocations: 23.72 kB / 330 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/2.332, allocations: 220.7 kB / 330.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005731/2.333, allocations: 65.67 kB / 330.2 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/2.333, allocations: 12 kB / 330.2 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008897/2.334, allocations: 157.4 kB / 330.4 MB, free: 424 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008464/2.335, allocations: 191.3 kB / 330.6 MB, free: 264 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.644e-05/2.335, allocations: 7.906 kB / 330.6 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.742e-05/2.335, allocations: 0 / 330.6 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/2.335, allocations: 4 kB / 330.6 MB, free: 252 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/2.337, allocations: 0.6213 MB / 331.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008331/2.338, allocations: 166.3 kB / 331.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/2.339, allocations: 86.34 kB / 331.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.072e-05/2.339, allocations: 4.219 kB / 331.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.74e-05/2.339, allocations: 46.17 kB / 331.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 5.3e-06/2.339, allocations: 7.938 kB / 331.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.004013/2.343, allocations: 1.122 MB / 332.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/2.343, allocations: 89.09 kB / 332.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/2.344, allocations: 130.5 kB / 332.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.938e-05/2.344, allocations: 25.7 kB / 332.9 MB, free: 14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/2.344, allocations: 115.6 kB / 333 MB, free: 13.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/2.344, allocations: 92.16 kB / 333.1 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/2.344, allocations: 3.938 kB / 333.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002361/2.344, allocations: 329.1 kB / 333.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/2.345, allocations: 66.06 kB / 333.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/2.345, allocations: 105.9 kB / 333.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/2.345, allocations: 70.16 kB / 333.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/2.346, allocations: 0 / 333.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009839/2.347, allocations: 239.1 kB / 333.9 MB, free: 13.13 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/2.347, allocations: 4 kB / 333.9 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/2.347, allocations: 0 / 333.9 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/2.347, allocations: 4 kB / 333.9 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/2.348, allocations: 106.9 kB / 334 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/2.348, allocations: 0 / 334 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/2.349, allocations: 11.98 kB / 334 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/2.349, allocations: 15.31 kB / 334 MB, free: 13 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002083/2.349, allocations: 108.7 kB / 334.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/2.349, allocations: 19.81 kB / 334.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/2.349, allocations: 21.14 kB / 334.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/2.349, allocations: 4 kB / 334.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/2.349, allocations: 0 / 334.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/2.349, allocations: 0 / 334.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/2.352, allocations: 0.7733 MB / 334.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/2.352, allocations: 4.094 kB / 335 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/2.354, allocations: 135.8 kB / 335.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.992e-05/2.354, allocations: 4 kB / 335.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.101e-05/2.354, allocations: 3.984 kB / 335.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/2.354, allocations: 4 kB / 335.1 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/2.354, allocations: 7.938 kB / 335.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001494/2.355, allocations: 0.5347 MB / 335.6 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001935/2.357, allocations: 1.001 MB / 336.6 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/2.358, allocations: 107.6 kB / 336.7 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-05/2.358, allocations: 4 kB / 336.7 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008809/2.359, allocations: 39.97 kB / 336.8 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/2.359, allocations: 27.25 kB / 336.8 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/2.359, allocations: 7.438 kB / 336.8 MB, free: 10.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001861/2.359, allocations: 113.2 kB / 336.9 MB, free: 10.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002231/2.362, allocations: 44 kB / 337 MB, free: 10.2 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000265/2.362, allocations: 103.1 kB / 337.1 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000688/2.363, allocations: 153.2 kB / 337.2 MB, free: 9.977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/2.363, allocations: 0 / 337.2 MB, free: 9.977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004368/2.363, allocations: 108.2 kB / 337.3 MB, free: 9.898 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00093/2.364, allocations: 31.64 kB / 337.4 MB, free: 9.871 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/2.375, allocations: 1.029 MB / 338.4 MB, free: 8.844 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007355/2.376, allocations: 0.7742 MB / 339.2 MB, free: 8.047 MB / 282.7 MB Notification: Performance of SimCode: time 1.373e-06/2.376, allocations: 0 / 339.2 MB, free: 8.047 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat