Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Rotational_Examples_Backlash",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(Modelica): time 1.754/1.754, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2225/1.976, allocations: 46.83 MB / 249.4 MB, free: 5.312 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0942/2.07, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2961/2.366, allocations: 72.87 MB / 366.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/2.367, allocations: 62.69 kB / 366.8 MB, free: 7.113 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.04111/2.408, allocations: 7.855 MB / 374.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/2.408, allocations: 7.594 kB / 374.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/2.408, allocations: 38.91 kB / 374.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/2.409, allocations: 254.6 kB / 375 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007051/2.409, allocations: 129.9 kB / 375.1 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/2.41, allocations: 15.62 kB / 375.1 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009051/2.41, allocations: 262.6 kB / 375.4 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007753/2.411, allocations: 280.9 kB / 375.7 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/2.411, allocations: 4.656 kB / 375.7 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/2.411, allocations: 0 / 375.7 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/2.411, allocations: 7.781 kB / 375.7 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002118/2.413, allocations: 0.9164 MB / 376.6 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000758/2.414, allocations: 272.8 kB / 376.9 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/2.415, allocations: 142.6 kB / 377 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/2.415, allocations: 7.984 kB / 377 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/2.415, allocations: 39.16 kB / 377 MB, free: 5.191 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 5.26e-06/2.415, allocations: 7.938 kB / 377.1 MB, free: 5.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.003761/2.419, allocations: 1.752 MB / 378.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/2.419, allocations: 106.7 kB / 378.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/2.419, allocations: 156.6 kB / 379.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.853e-05/2.419, allocations: 25.7 kB / 379.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/2.419, allocations: 138.4 kB / 379.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/2.419, allocations: 129.1 kB / 379.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/2.419, allocations: 0.6562 kB / 379.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/2.419, allocations: 343.1 kB / 379.7 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/2.42, allocations: 114.1 kB / 379.8 MB, free: 19.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004332/2.42, allocations: 167.9 kB / 380 MB, free: 19 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/2.421, allocations: 111.4 kB / 380.1 MB, free: 19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/2.421, allocations: 0 / 380.1 MB, free: 19 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001136/2.422, allocations: 340 kB / 380.4 MB, free: 18.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/2.422, allocations: 4.562 kB / 380.4 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/2.422, allocations: 3.875 kB / 380.4 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/2.422, allocations: 0 / 380.4 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/2.424, allocations: 184.5 kB / 380.6 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/2.424, allocations: 4.641 kB / 380.6 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005295/2.424, allocations: 24.28 kB / 380.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/2.424, allocations: 15.81 kB / 380.6 MB, free: 18.91 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.0001965/2.424, allocations: 116.5 kB / 380.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/2.425, allocations: 27.34 kB / 380.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/2.425, allocations: 26.92 kB / 380.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/2.425, allocations: 3.875 kB / 380.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/2.425, allocations: 0.7031 kB / 380.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/2.425, allocations: 13.62 kB / 380.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/2.427, allocations: 1.13 MB / 382 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/2.427, allocations: 3.688 kB / 382 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002139/2.43, allocations: 223.4 kB / 382.2 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-05/2.43, allocations: 11.69 kB / 382.2 MB, free: 17.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-05/2.43, allocations: 7.891 kB / 382.2 MB, free: 17.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/2.43, allocations: 3.906 kB / 382.2 MB, free: 17.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/2.43, allocations: 0 / 382.2 MB, free: 17.99 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001419/2.431, allocations: 0.808 MB / 383 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001999/2.433, allocations: 1.31 MB / 384.3 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/2.434, allocations: 129 kB / 384.4 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-05/2.434, allocations: 8.109 kB / 384.4 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009629/2.435, allocations: 66.86 kB / 384.5 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/2.435, allocations: 43.09 kB / 384.6 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/2.435, allocations: 14.91 kB / 384.6 MB, free: 16.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001846/2.435, allocations: 125.4 kB / 384.7 MB, free: 16.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001838/2.437, allocations: 73.03 kB / 384.8 MB, free: 16.32 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.0002517/2.437, allocations: 110.7 kB / 384.9 MB, free: 16.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007594/2.438, allocations: 239.6 kB / 385.1 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/2.438, allocations: 0 / 385.1 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004924/2.439, allocations: 168.6 kB / 385.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009334/2.44, allocations: 47.16 kB / 385.3 MB, free: 16.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/2.45, allocations: 1.378 MB / 386.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006872/2.45, allocations: 0.8176 MB / 387.5 MB, free: 14.67 MB / 314.7 MB Notification: Performance of SimCode: time 1.323e-06/2.45, allocations: 4 kB / 387.5 MB, free: 14.67 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat