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"}) Notification: Performance of loadModel(Modelica): time 1.708/1.708, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.726e-05/3.734e-05, allocations: 4 kB / 225.1 MB, free: 2.23 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2804, allocations: 38.77 MB / 263.9 MB, free: 9.805 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1751/0.4556, allocations: 77.13 MB / 341 MB, free: 12.56 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/0.4559, allocations: 87.95 kB / 341.1 MB, free: 12.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07259/0.5285, allocations: 15.13 MB / 356.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.541e-06/0.5286, allocations: 0 / 356.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.757e-05/0.5287, allocations: 23.94 kB / 356.3 MB, free: 13.25 MB / 314.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.003281/0.532, allocations: 0.9886 MB / 357.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.5321, allocations: 8.031 kB / 357.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003148/0.5324, allocations: 106.5 kB / 357.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003204/0.5327, allocations: 98.78 kB / 357.5 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.5343, allocations: 0.5278 MB / 358 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/0.5346, allocations: 53.31 kB / 358 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.5349, allocations: 56 kB / 358.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.5367, allocations: 0.6019 MB / 358.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.5368, allocations: 0 / 358.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.5369, allocations: 28 kB / 358.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.537, allocations: 12 kB / 358.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.5387, allocations: 498.5 kB / 359.2 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007673/0.5464, allocations: 2.656 MB / 361.9 MB, free: 7.379 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.5479, allocations: 471.4 kB / 362.3 MB, free: 6.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009474/0.5489, allocations: 274.2 kB / 362.6 MB, free: 6.641 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.072e-05/0.549, allocations: 4.438 kB / 362.6 MB, free: 6.637 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.5491, allocations: 42.98 kB / 362.6 MB, free: 6.586 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.159e-05/0.5491, allocations: 4 kB / 362.6 MB, free: 6.582 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.007155/0.5563, allocations: 1.368 MB / 364 MB, free: 5.211 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.5564, allocations: 59.97 kB / 364.1 MB, free: 5.141 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/0.5586, allocations: 0.8318 MB / 364.9 MB, free: 4.305 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.5588, allocations: 37.7 kB / 364.9 MB, free: 4.262 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004739/0.5593, allocations: 392 kB / 365.3 MB, free: 3.871 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003402/0.5596, allocations: 220.8 kB / 365.5 MB, free: 3.652 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.484e-05/0.5597, allocations: 16 kB / 365.6 MB, free: 3.637 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002929/0.5601, allocations: 390.8 kB / 365.9 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007584/0.5608, allocations: 205.5 kB / 366.1 MB, free: 3.043 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000825/0.5617, allocations: 307.5 kB / 366.4 MB, free: 2.711 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008567/0.5626, allocations: 267.8 kB / 366.7 MB, free: 2.441 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.5626, allocations: 15.92 kB / 366.7 MB, free: 2.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002153/0.5648, allocations: 0.6922 MB / 367.4 MB, free: 1.723 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.398e-05/0.5649, allocations: 29.7 kB / 367.4 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.5649, allocations: 4 kB / 367.4 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/0.565, allocations: 7.953 kB / 367.4 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.5668, allocations: 192 kB / 367.6 MB, free: 1.488 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.401e-05/0.5669, allocations: 15.92 kB / 367.7 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.5682, allocations: 63.95 kB / 367.7 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.5684, allocations: 24 kB / 367.7 MB, free: 1.387 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.0002451/0.5687, allocations: 140.8 kB / 367.9 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.569, allocations: 86.95 kB / 368 MB, free: 1.156 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.5709, allocations: 0.5698 MB / 368.5 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.5709, allocations: 8 kB / 368.5 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.571, allocations: 7.891 kB / 368.5 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.571, allocations: 7.984 kB / 368.6 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2764/0.8474, allocations: 1.851 MB / 370.4 MB, free: 87.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.8474, allocations: 3.031 kB / 370.4 MB, free: 87.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/0.8488, allocations: 153 kB / 370.6 MB, free: 87.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-05/0.8489, allocations: 10.17 kB / 370.6 MB, free: 87.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-05/0.849, allocations: 17.31 kB / 370.6 MB, free: 87.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.608e-05/0.849, allocations: 9.406 kB / 370.6 MB, free: 87.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.849, allocations: 3.562 kB / 370.6 MB, free: 87.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.8505, allocations: 0.8277 MB / 371.4 MB, free: 87.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000567/0.8512, allocations: 236.3 kB / 371.7 MB, free: 87.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.8514, allocations: 18.95 kB / 371.7 MB, free: 87.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009509/0.8523, allocations: 61.89 kB / 371.7 MB, free: 87.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.8525, allocations: 46.52 kB / 371.8 MB, free: 87.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/0.8526, allocations: 21.19 kB / 371.8 MB, free: 87.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00128/0.8539, allocations: 0.6633 MB / 372.5 MB, free: 86.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.8539, allocations: 2.344 kB / 372.5 MB, free: 86.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001121/0.855, allocations: 180.2 kB / 372.6 MB, free: 86.94 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.002391/0.8574, allocations: 2.262 MB / 374.9 MB, free: 85.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.859, allocations: 0.5555 MB / 375.5 MB, free: 85.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.8591, allocations: 0 / 375.5 MB, free: 85.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006774/0.8598, allocations: 277.8 kB / 375.7 MB, free: 85.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.8609, allocations: 98.66 kB / 375.8 MB, free: 85.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/0.8652, allocations: 1.337 MB / 377.2 MB, free: 84.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.8658, allocations: 0.9792 MB / 378.1 MB, free: 84.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008724/0.8667, allocations: 113.1 kB / 378.3 MB, free: 84.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00066/0.8673, allocations: 285.4 kB / 378.5 MB, free: 84.02 MB / 314.7 MB Notification: Performance of SimCode: time 3.036e-06/0.8674, allocations: 0 / 378.5 MB, free: 84.02 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04785/0.9152, allocations: 14.98 MB / 393.5 MB, free: 76.78 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/0.9155, allocations: 223.3 kB / 393.7 MB, free: 76.55 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.001/3.917, allocations: 0 / 393.7 MB, free: 76.55 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