Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_2_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.643/1.643, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2147/1.858, allocations: 46.83 MB / 249.3 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09052/1.949, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2688/2.218, allocations: 72.87 MB / 366.7 MB, free: 7.027 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/2.218, allocations: 70.27 kB / 366.8 MB, free: 7.027 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0362/2.254, allocations: 7.856 MB / 374.6 MB, free: 6.082 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/2.254, allocations: 11.62 kB / 374.6 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/2.254, allocations: 35 kB / 374.7 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/2.255, allocations: 256.1 kB / 374.9 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006036/2.255, allocations: 129.3 kB / 375.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.153e-05/2.256, allocations: 15.38 kB / 375.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008045/2.256, allocations: 257.7 kB / 375.3 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006873/2.257, allocations: 272 kB / 375.6 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/2.257, allocations: 11.8 kB / 375.6 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.541e-05/2.257, allocations: 0 / 375.6 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/2.257, allocations: 7.719 kB / 375.6 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/2.259, allocations: 0.9263 MB / 376.5 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006644/2.26, allocations: 265.6 kB / 376.8 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/2.26, allocations: 146.3 kB / 376.9 MB, free: 5.148 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/2.26, allocations: 4.281 kB / 376.9 MB, free: 5.148 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/2.26, allocations: 46.67 kB / 377 MB, free: 5.098 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 3.116e-06/2.26, allocations: 3.938 kB / 377 MB, free: 5.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.003238/2.264, allocations: 1.742 MB / 378.7 MB, free: 19.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/2.264, allocations: 110.6 kB / 378.8 MB, free: 19.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/2.264, allocations: 151.7 kB / 379 MB, free: 19.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/2.264, allocations: 29.7 kB / 379 MB, free: 19.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/2.264, allocations: 143.3 kB / 379.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/2.264, allocations: 129.8 kB / 379.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/2.264, allocations: 0.6094 kB / 379.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/2.264, allocations: 337 kB / 379.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/2.265, allocations: 114.1 kB / 379.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/2.265, allocations: 168.2 kB / 379.9 MB, free: 18.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/2.265, allocations: 116.7 kB / 380 MB, free: 18.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/2.265, allocations: 0 / 380 MB, free: 18.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009154/2.266, allocations: 335.1 kB / 380.3 MB, free: 18.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/2.266, allocations: 9.875 kB / 380.3 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/2.266, allocations: 0 / 380.3 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/2.266, allocations: 4.406 kB / 380.3 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/2.268, allocations: 186.8 kB / 380.5 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/2.268, allocations: 4.516 kB / 380.5 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/2.268, allocations: 24.66 kB / 380.6 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/2.268, allocations: 15.34 kB / 380.6 MB, free: 18.83 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001514/2.269, allocations: 113.3 kB / 380.7 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/2.269, allocations: 23.38 kB / 380.7 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/2.269, allocations: 32.66 kB / 380.7 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/2.269, allocations: 3.844 kB / 380.7 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/2.269, allocations: 0.5156 kB / 380.7 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/2.269, allocations: 5.875 kB / 380.7 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/2.271, allocations: 1.134 MB / 381.9 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/2.271, allocations: 3.875 kB / 381.9 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/2.273, allocations: 220.8 kB / 382.1 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.695e-05/2.273, allocations: 11.77 kB / 382.1 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/2.273, allocations: 7.797 kB / 382.1 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/2.273, allocations: 3.688 kB / 382.1 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/2.273, allocations: 3.969 kB / 382.1 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001335/2.275, allocations: 0.8108 MB / 382.9 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001753/2.276, allocations: 1.311 MB / 384.2 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/2.277, allocations: 130 kB / 384.4 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.462e-05/2.277, allocations: 7.828 kB / 384.4 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008735/2.278, allocations: 66.33 kB / 384.4 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/2.278, allocations: 38.31 kB / 384.5 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/2.278, allocations: 15.03 kB / 384.5 MB, free: 16.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001446/2.278, allocations: 129.7 kB / 384.6 MB, free: 16.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001541/2.28, allocations: 71.88 kB / 384.7 MB, free: 16.26 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,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 (38): * Single equations (assignments): 38 * 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.000183/2.28, allocations: 106 kB / 384.8 MB, free: 16.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006604/2.28, allocations: 236.5 kB / 385 MB, free: 16.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/2.28, allocations: 3.906 kB / 385 MB, free: 16.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004295/2.281, allocations: 171.5 kB / 385.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008073/2.282, allocations: 48.97 kB / 385.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008944/2.291, allocations: 1.384 MB / 386.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006362/2.291, allocations: 0.8142 MB / 387.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/2.291, allocations: 0 / 387.5 MB, free: 14.61 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat