Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Brake,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_Brake",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.741/1.741, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2202/1.961, allocations: 46.82 MB / 249.3 MB, free: 5.328 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0894/2.05, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2733/2.324, allocations: 72.43 MB / 366.3 MB, free: 7.203 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/2.324, allocations: 66.42 kB / 366.3 MB, free: 7.203 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.02612/2.35, allocations: 5.822 MB / 372.2 MB, free: 6.383 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/2.35, allocations: 11.53 kB / 372.2 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/2.35, allocations: 34.91 kB / 372.2 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005823/2.351, allocations: 272.9 kB / 372.5 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/2.351, allocations: 11.75 kB / 372.5 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/2.351, allocations: 23.84 kB / 372.5 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00135/2.353, allocations: 326.5 kB / 372.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/2.354, allocations: 308.5 kB / 373.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/2.354, allocations: 4.656 kB / 373.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-05/2.354, allocations: 4 kB / 373.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/2.354, allocations: 7.812 kB / 373.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003447/2.357, allocations: 1.077 MB / 374.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005389/2.358, allocations: 232 kB / 374.5 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003971/2.358, allocations: 170.9 kB / 374.6 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.88e-05/2.358, allocations: 4.516 kB / 374.6 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/2.358, allocations: 38.67 kB / 374.7 MB, free: 5.574 MB / 298.7 MB Notification: Performance of pre-optimization done (n=41): time 3.236e-06/2.358, allocations: 3.938 kB / 374.7 MB, free: 5.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.004536/2.363, allocations: 1.352 MB / 376 MB, free: 5.023 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/2.363, allocations: 55.56 kB / 376.1 MB, free: 4.961 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/2.363, allocations: 179.5 kB / 376.2 MB, free: 20.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.942e-05/2.363, allocations: 30.77 kB / 376.3 MB, free: 20.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/2.363, allocations: 140.5 kB / 376.4 MB, free: 20.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/2.364, allocations: 149.7 kB / 376.6 MB, free: 20.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/2.364, allocations: 0.7031 kB / 376.6 MB, free: 20.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/2.364, allocations: 335 kB / 376.9 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/2.364, allocations: 170.5 kB / 377.1 MB, free: 20.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/2.365, allocations: 238.9 kB / 377.3 MB, free: 20.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005824/2.365, allocations: 140.7 kB / 377.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/2.365, allocations: 0 / 377.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00234/2.368, allocations: 0.5916 MB / 378 MB, free: 20.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/2.368, allocations: 6.062 kB / 378 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/2.368, allocations: 4.625 kB / 378 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/2.369, allocations: 370.5 kB / 378.4 MB, free: 20.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/2.369, allocations: 74.84 kB / 378.5 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/2.371, allocations: 1.372 MB / 379.8 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009284/2.372, allocations: 94.77 kB / 379.9 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.682e-05/2.372, allocations: 25.98 kB / 380 MB, free: 19.03 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 16 (brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,brake1.free,$PRE.brake1.startForward,brake1.startForward,$PRE.brake1.startBackward,brake1.startBackward,brake1.locked,$PRE.brake1.mode,brake1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 2 {1 7,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003051/2.373, allocations: 118.2 kB / 380.1 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/2.373, allocations: 31.44 kB / 380.1 MB, free: 18.9 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/2.375, allocations: 0.5974 MB / 380.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/2.375, allocations: 7.781 kB / 380.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/2.375, allocations: 0 / 380.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/2.375, allocations: 7.516 kB / 380.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004429/2.38, allocations: 1.229 MB / 381.9 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/2.38, allocations: 0 / 381.9 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/2.38, allocations: 65.75 kB / 382 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009037/2.381, allocations: 330.5 kB / 382.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-05/2.381, allocations: 15.22 kB / 382.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/2.383, allocations: 1.312 MB / 383.7 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/2.383, allocations: 0 / 383.7 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002564/2.386, allocations: 0.8827 MB / 384.5 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003162/2.389, allocations: 1.45 MB / 386 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/2.389, allocations: 149.6 kB / 386.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/2.389, allocations: 10.28 kB / 386.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006054/2.39, allocations: 50.95 kB / 386.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/2.39, allocations: 96.31 kB / 386.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.551e-05/2.39, allocations: 23 kB / 386.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000183/2.391, allocations: 142.7 kB / 386.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001522/2.392, allocations: 93.47 kB / 386.5 MB, free: 15.74 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (mass1.s,mass1.v,mass2.s,mass2.v) * Number of discrete variables: 10 (brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,brake1.free,brake1.startForward,brake1.startBackward,brake1.locked,brake1.mode) * Number of discrete states: 6 (brake1.mode,brake1.startForward,brake1.startBackward,brake.mode,brake.startForward,brake.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * 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: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003141/2.392, allocations: 139.8 kB / 386.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001294/2.394, allocations: 0.4942 MB / 387.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/2.394, allocations: 0 / 387.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007674/2.395, allocations: 259.5 kB / 387.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005842/2.395, allocations: 30.42 kB / 387.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/2.397, allocations: 0.6843 MB / 388.1 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005724/2.398, allocations: 0.8224 MB / 389 MB, free: 14.29 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/2.398, allocations: 0 / 389 MB, free: 14.29 MB / 314.7 MB