Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_1_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 2.015/2.015, allocations: 171.2 MB / 178.1 MB, free: 8.285 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2473/2.262, allocations: 41.1 MB / 219.3 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/2.37, allocations: 38.76 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3344/2.705, allocations: 76.7 MB / 334.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003644/2.705, allocations: 76.7 kB / 334.8 MB, free: 11.41 MB / 282.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.109/2.814, allocations: 15.8 MB / 350.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.044e-05/2.814, allocations: 12 kB / 350.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005595/2.815, allocations: 98.78 kB / 350.7 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/2.817, allocations: 0.5245 MB / 351.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002621/2.817, allocations: 33.31 kB / 351.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/2.818, allocations: 36 kB / 351.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002453/2.82, allocations: 475.8 kB / 351.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/2.822, allocations: 0.5258 MB / 352.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.849e-05/2.823, allocations: 4 kB / 352.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/2.823, allocations: 0 / 352.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/2.823, allocations: 12 kB / 352.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01029/2.833, allocations: 2.546 MB / 354.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/2.835, allocations: 313.5 kB / 355.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/2.836, allocations: 255.8 kB / 355.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.663e-05/2.836, allocations: 11.36 kB / 355.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/2.836, allocations: 42.5 kB / 355.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 5.67e-06/2.836, allocations: 0 / 355.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.005421/2.842, allocations: 0.951 MB / 356.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/2.842, allocations: 64.06 kB / 356.5 MB, free: 9.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/2.844, allocations: 0.74 MB / 357.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/2.844, allocations: 25.7 kB / 357.2 MB, free: 8.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/2.845, allocations: 305.7 kB / 357.5 MB, free: 8.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/2.845, allocations: 212.6 kB / 357.7 MB, free: 8.461 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-05/2.845, allocations: 0 / 357.7 MB, free: 8.461 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003168/2.846, allocations: 386.6 kB / 358.1 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/2.847, allocations: 194 kB / 358.3 MB, free: 8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/2.848, allocations: 291.9 kB / 358.6 MB, free: 7.777 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/2.849, allocations: 227.8 kB / 358.8 MB, free: 7.648 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/2.849, allocations: 0 / 358.8 MB, free: 7.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002824/2.852, allocations: 0.6128 MB / 359.4 MB, free: 7.191 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/2.852, allocations: 4 kB / 359.4 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/2.852, allocations: 8.281 kB / 359.4 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.173e-05/2.852, allocations: 4 kB / 359.4 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002529/2.854, allocations: 211 kB / 359.6 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.341e-05/2.855, allocations: 4 kB / 359.6 MB, free: 6.973 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/2.856, allocations: 55.89 kB / 359.7 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/2.857, allocations: 27.67 kB / 359.7 MB, free: 6.895 MB / 298.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.0003082/2.857, allocations: 128.1 kB / 359.9 MB, free: 6.766 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/2.857, allocations: 71.06 kB / 359.9 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/2.86, allocations: 0.5312 MB / 360.5 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/2.86, allocations: 4 kB / 360.5 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/2.86, allocations: 0 / 360.5 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/2.86, allocations: 7.984 kB / 360.5 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007648/2.868, allocations: 1.735 MB / 362.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.693e-05/2.868, allocations: 0 / 362.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002602/2.87, allocations: 156.1 kB / 362.4 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.862e-05/2.87, allocations: 8 kB / 362.4 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/2.871, allocations: 7.984 kB / 362.4 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.712e-05/2.871, allocations: 7.906 kB / 362.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.289e-05/2.871, allocations: 7.938 kB / 362.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001833/2.872, allocations: 0.786 MB / 363.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001713/2.874, allocations: 1.17 MB / 364.3 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007465/2.875, allocations: 232.1 kB / 364.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002388/2.875, allocations: 4 kB / 364.6 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/2.877, allocations: 51.95 kB / 364.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/2.877, allocations: 44.36 kB / 364.7 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.113e-05/2.877, allocations: 23.98 kB / 364.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.001688/2.879, allocations: 0.5851 MB / 365.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003264/2.882, allocations: 159.9 kB / 365.4 MB, free: 1.359 MB / 298.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.0009799/2.883, allocations: 189.8 kB / 365.6 MB, free: 1.184 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002572/2.885, allocations: 0.5153 MB / 366.1 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/2.886, allocations: 0 / 366.1 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00123/2.887, allocations: 265.7 kB / 366.4 MB, free: 412 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/2.888, allocations: 84.06 kB / 366.5 MB, free: 332 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005929/2.894, allocations: 1.194 MB / 367.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002008/2.896, allocations: 1.058 MB / 368.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.432e-06/2.896, allocations: 0 / 368.7 MB, free: 13.98 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat does not exist to compare? outputFormat=mat