Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",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.823/1.823, allocations: 194.9 MB / 202.6 MB, free: 6.879 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2484/2.072, allocations: 46.83 MB / 249.4 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0932/2.165, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3074/2.473, allocations: 81.27 MB / 375.2 MB, free: 7.059 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/2.473, allocations: 83.67 kB / 375.3 MB, free: 7.059 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.06891/2.542, allocations: 15.79 MB / 391.1 MB, free: 1.336 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/2.542, allocations: 7.562 kB / 391.1 MB, free: 1.336 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/2.542, allocations: 96.59 kB / 391.2 MB, free: 1.289 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/2.543, allocations: 0.5313 MB / 391.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/2.544, allocations: 36.28 kB / 391.7 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/2.544, allocations: 38.73 kB / 391.8 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001618/2.545, allocations: 468.4 kB / 392.2 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/2.547, allocations: 0.5224 MB / 392.7 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/2.547, allocations: 1.281 kB / 392.7 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.981e-05/2.547, allocations: 4 kB / 392.7 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/2.547, allocations: 15.19 kB / 392.8 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00702/2.554, allocations: 2.556 MB / 395.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009606/2.555, allocations: 313.5 kB / 395.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009468/2.556, allocations: 260.2 kB / 395.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.925e-05/2.556, allocations: 6.906 kB / 395.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/2.556, allocations: 40.78 kB / 395.9 MB, free: 15.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.707e-06/2.556, allocations: 0 / 395.9 MB, free: 15.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.004047/2.56, allocations: 0.9555 MB / 396.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/2.561, allocations: 58.94 kB / 396.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/2.562, allocations: 0.7415 MB / 397.7 MB, free: 14.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001238/2.563, allocations: 25.7 kB / 397.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/2.563, allocations: 305.3 kB / 398 MB, free: 14.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/2.563, allocations: 213.3 kB / 398.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/2.563, allocations: 3.938 kB / 398.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/2.564, allocations: 391.8 kB / 398.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006843/2.564, allocations: 190.3 kB / 398.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007774/2.565, allocations: 285.4 kB / 399.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007641/2.566, allocations: 232.6 kB / 399.3 MB, free: 13.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/2.566, allocations: 3.938 kB / 399.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002045/2.568, allocations: 0.612 MB / 399.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/2.568, allocations: 5.125 kB / 399.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/2.568, allocations: 1.25 kB / 399.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.095e-05/2.568, allocations: 6.438 kB / 399.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/2.57, allocations: 203.4 kB / 400.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/2.57, allocations: 9.297 kB / 400.1 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/2.571, allocations: 60.33 kB / 400.2 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.903e-05/2.572, allocations: 28.83 kB / 400.2 MB, free: 13.57 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.0002194/2.572, allocations: 123.3 kB / 400.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/2.572, allocations: 75.62 kB / 400.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/2.574, allocations: 0.5287 MB / 400.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/2.574, allocations: 14.88 kB / 400.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/2.574, allocations: 1.125 kB / 400.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/2.574, allocations: 3.984 kB / 401 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004762/2.579, allocations: 1.736 MB / 402.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/2.579, allocations: 6.312 kB / 402.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/2.58, allocations: 154.9 kB / 402.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.856e-05/2.58, allocations: 6.812 kB / 402.9 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.538e-05/2.58, allocations: 7.531 kB / 402.9 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/2.58, allocations: 9.406 kB / 402.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/2.58, allocations: 3.219 kB / 402.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001766/2.582, allocations: 0.7844 MB / 403.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001822/2.584, allocations: 1.167 MB / 404.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005871/2.585, allocations: 233.6 kB / 405.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/2.585, allocations: 7.484 kB / 405.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/2.586, allocations: 46.84 kB / 405.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/2.586, allocations: 45.06 kB / 405.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.489e-05/2.586, allocations: 26.11 kB / 405.2 MB, free: 10.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001355/2.588, allocations: 0.5856 MB / 405.8 MB, free: 10.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002131/2.59, allocations: 158.3 kB / 405.9 MB, free: 10.64 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.0008076/2.591, allocations: 231.7 kB / 406.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001785/2.592, allocations: 0.5135 MB / 406.7 MB, free: 10.42 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/2.592, allocations: 1.812 kB / 406.7 MB, free: 10.42 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007928/2.593, allocations: 265.7 kB / 406.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/2.594, allocations: 83.75 kB / 407 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/2.599, allocations: 1.186 MB / 408.2 MB, free: 9.875 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/2.6, allocations: 1.061 MB / 409.2 MB, free: 8.957 MB / 314.7 MB Notification: Performance of SimCode: time 1.532e-06/2.601, allocations: 0 / 409.2 MB, free: 8.957 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat does not exist to compare? outputFormat=mat