Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",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.802/1.802, allocations: 194.9 MB / 202.5 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2064/2.008, allocations: 46.84 MB / 249.4 MB, free: 5.363 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08827/2.097, allocations: 44.49 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3153/2.412, allocations: 81.27 MB / 375.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/2.412, allocations: 83.23 kB / 375.2 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.06088/2.473, allocations: 15.8 MB / 391 MB, free: 1.398 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/2.473, allocations: 7.656 kB / 391 MB, free: 1.398 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002649/2.474, allocations: 96.12 kB / 391.1 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/2.475, allocations: 0.53 MB / 391.6 MB, free: 1.012 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/2.475, allocations: 36.34 kB / 391.7 MB, free: 1.004 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/2.475, allocations: 32.25 kB / 391.7 MB, free: 1.004 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001537/2.477, allocations: 474.8 kB / 392.2 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/2.478, allocations: 0.5232 MB / 392.7 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/2.478, allocations: 4 kB / 392.7 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.139e-05/2.478, allocations: 1.344 kB / 392.7 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/2.478, allocations: 14.97 kB / 392.7 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006432/2.485, allocations: 2.558 MB / 395.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008665/2.486, allocations: 308.4 kB / 395.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008454/2.486, allocations: 261.7 kB / 395.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.49e-05/2.487, allocations: 13.72 kB / 395.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/2.487, allocations: 36.5 kB / 395.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 2.875e-06/2.487, allocations: 3.938 kB / 395.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.003615/2.49, allocations: 0.9492 MB / 396.8 MB, free: 15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/2.49, allocations: 58.72 kB / 396.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/2.492, allocations: 0.7486 MB / 397.6 MB, free: 14.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001143/2.492, allocations: 27.08 kB / 397.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/2.492, allocations: 300.7 kB / 397.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/2.493, allocations: 215.7 kB / 398.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/2.493, allocations: 0 / 398.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002212/2.493, allocations: 387.9 kB / 398.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005973/2.494, allocations: 195.5 kB / 398.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000659/2.494, allocations: 288.1 kB / 399 MB, free: 13.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006752/2.495, allocations: 229.9 kB / 399.2 MB, free: 13.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/2.495, allocations: 0 / 399.2 MB, free: 13.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001861/2.497, allocations: 0.6093 MB / 399.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/2.497, allocations: 5.281 kB / 399.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/2.497, allocations: 3.062 kB / 399.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/2.497, allocations: 9.938 kB / 399.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/2.499, allocations: 206.4 kB / 400.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/2.499, allocations: 4.969 kB / 400.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/2.5, allocations: 59.23 kB / 400.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-05/2.5, allocations: 30.33 kB / 400.2 MB, free: 13.63 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 1 * 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.0002287/2.501, allocations: 118.9 kB / 400.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/2.501, allocations: 75.09 kB / 400.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/2.503, allocations: 0.5215 MB / 400.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/2.503, allocations: 13.94 kB / 400.9 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/2.503, allocations: 1.219 kB / 400.9 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/2.503, allocations: 7.922 kB / 400.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004606/2.507, allocations: 1.737 MB / 402.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/2.507, allocations: 2.312 kB / 402.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/2.509, allocations: 166.7 kB / 402.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-05/2.509, allocations: 6 kB / 402.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/2.509, allocations: 4.094 kB / 402.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-05/2.509, allocations: 14.23 kB / 402.8 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/2.509, allocations: 3.125 kB / 402.8 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001677/2.511, allocations: 0.776 MB / 403.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001821/2.512, allocations: 1.171 MB / 404.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005695/2.513, allocations: 230.7 kB / 405 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/2.513, allocations: 8.391 kB / 405 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/2.514, allocations: 50.86 kB / 405 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/2.514, allocations: 40.86 kB / 405.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.791e-05/2.514, allocations: 28.22 kB / 405.1 MB, free: 10.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001264/2.516, allocations: 0.58 MB / 405.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002036/2.518, allocations: 158.6 kB / 405.8 MB, free: 10.7 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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.0007306/2.519, allocations: 215.1 kB / 406.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001681/2.52, allocations: 0.5187 MB / 406.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/2.52, allocations: 1.25 kB / 406.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007161/2.521, allocations: 267.3 kB / 406.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/2.522, allocations: 87.38 kB / 406.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004155/2.526, allocations: 1.186 MB / 408.1 MB, free: 9.934 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/2.528, allocations: 1.06 MB / 409.2 MB, free: 9.059 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/2.528, allocations: 0 / 409.2 MB, free: 9.059 MB / 314.7 MB