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 2.088/2.088, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.334e-05/2.341e-05, allocations: 0 / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.269, allocations: 38.77 MB / 258.4 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.4112, allocations: 76.46 MB / 334.8 MB, free: 1.297 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/0.4116, allocations: 83.94 kB / 334.9 MB, free: 1.215 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06553/0.4772, allocations: 14.99 MB / 349.9 MB, free: 2.172 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.4772, allocations: 0 / 349.9 MB, free: 2.172 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.045e-05/0.4773, allocations: 20 kB / 349.9 MB, free: 2.152 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.002745/0.48, allocations: 0.9918 MB / 350.9 MB, free: 1.105 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.4801, allocations: 8.031 kB / 350.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002959/0.4804, allocations: 98.78 kB / 351 MB, free: 1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.4819, allocations: 0.5317 MB / 351.5 MB, free: 436 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.4821, allocations: 33.31 kB / 351.6 MB, free: 404 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.4822, allocations: 32 kB / 351.6 MB, free: 372 kB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001547/0.4838, allocations: 478.5 kB / 352.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.4854, allocations: 0.5167 MB / 352.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/0.4855, allocations: 0 / 352.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-05/0.4855, allocations: 0 / 352.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.4856, allocations: 16 kB / 352.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006752/0.4923, allocations: 2.54 MB / 355.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.4935, allocations: 435.7 kB / 355.6 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007861/0.4943, allocations: 258.5 kB / 355.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.021e-05/0.4944, allocations: 12.39 kB / 355.8 MB, free: 11.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.4944, allocations: 38.94 kB / 355.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.597e-06/0.4944, allocations: 4 kB / 355.9 MB, free: 11.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.003456/0.4979, allocations: 0.9493 MB / 356.8 MB, free: 10.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.498, allocations: 67.92 kB / 356.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.4997, allocations: 0.7416 MB / 357.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.4999, allocations: 25.7 kB / 357.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004564/0.5003, allocations: 399.7 kB / 358 MB, free: 9.719 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.5006, allocations: 216.8 kB / 358.3 MB, free: 9.504 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.5007, allocations: 0 / 358.3 MB, free: 9.504 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.5009, allocations: 382.8 kB / 358.6 MB, free: 9.121 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005861/0.5015, allocations: 201.5 kB / 358.8 MB, free: 8.922 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.5022, allocations: 291.5 kB / 359.1 MB, free: 8.609 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/0.5029, allocations: 228.5 kB / 359.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.5029, allocations: 0 / 359.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001757/0.5046, allocations: 0.6125 MB / 359.9 MB, free: 7.766 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.827e-05/0.5047, allocations: 33.3 kB / 360 MB, free: 7.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.5048, allocations: 12.2 kB / 360 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.5048, allocations: 8 kB / 360 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.5064, allocations: 191.8 kB / 360.2 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.5065, allocations: 8 kB / 360.2 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.5076, allocations: 51.91 kB / 360.2 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.5078, allocations: 27.98 kB / 360.3 MB, free: 7.438 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.0002392/0.508, allocations: 120.7 kB / 360.4 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001375/0.5094, allocations: 486.2 kB / 360.9 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.5096, allocations: 79.06 kB / 360.9 MB, free: 6.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.5112, allocations: 0.5187 MB / 361.5 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.5112, allocations: 8 kB / 361.5 MB, free: 6.215 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.5113, allocations: 3.953 kB / 361.5 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.5113, allocations: 3.984 kB / 361.5 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004405/0.5157, allocations: 1.73 MB / 363.2 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.5158, allocations: 4 kB / 363.2 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.517, allocations: 152.1 kB / 363.4 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-05/0.517, allocations: 4 kB / 363.4 MB, free: 4.211 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.699e-05/0.5171, allocations: 4 kB / 363.4 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-05/0.5171, allocations: 19.83 kB / 363.4 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.5171, allocations: 0 / 363.4 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.5188, allocations: 0.7855 MB / 364.2 MB, free: 3.285 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00056/0.5194, allocations: 236.1 kB / 364.4 MB, free: 3.035 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.5196, allocations: 4 kB / 364.4 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009171/0.5205, allocations: 47.95 kB / 364.4 MB, free: 2.984 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.5207, allocations: 48.39 kB / 364.5 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.754e-05/0.5207, allocations: 24 kB / 364.5 MB, free: 2.914 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001224/0.522, allocations: 0.5811 MB / 365.1 MB, free: 2.336 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.522, allocations: 0 / 365.1 MB, free: 2.336 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001031/0.523, allocations: 159.9 kB / 365.3 MB, free: 2.18 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.2197/0.7428, allocations: 2.175 MB / 367.4 MB, free: 90.53 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.7446, allocations: 0.536 MB / 368 MB, free: 90.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.7447, allocations: 1.484 kB / 368 MB, free: 90.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000773/0.7454, allocations: 259.4 kB / 368.2 MB, free: 90.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.7465, allocations: 91.77 kB / 368.3 MB, free: 90.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/0.7508, allocations: 1.278 MB / 369.6 MB, free: 90.06 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.7515, allocations: 0.9801 MB / 370.6 MB, free: 89.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009361/0.7525, allocations: 108 kB / 370.7 MB, free: 89.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007852/0.7533, allocations: 288.3 kB / 371 MB, free: 89.35 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.7533, allocations: 0 / 371 MB, free: 89.35 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06581/0.8191, allocations: 13.34 MB / 384.3 MB, free: 87.2 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/0.8194, allocations: 207.8 kB / 384.5 MB, free: 86.93 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.906/3.726, allocations: 4 kB / 384.5 MB, free: 86.92 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