Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.951/1.951, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.381e-05/3.39e-05, allocations: 4 kB / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 50.41 MB / 342.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5134/0.628, allocations: 89.8 MB / 432.4 MB, free: 4.203 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/0.6283, allocations: 89.45 kB / 432.5 MB, free: 4.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0717/0.7001, allocations: 16.25 MB / 448.8 MB, free: 6.395 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.7001, allocations: 0 / 448.8 MB, free: 6.395 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.644e-05/0.7002, allocations: 16 kB / 448.8 MB, free: 6.379 MB / 362.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.002806/0.703, allocations: 0.9877 MB / 449.8 MB, free: 5.398 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.7031, allocations: 8.031 kB / 449.8 MB, free: 5.391 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002232/0.7033, allocations: 97.64 kB / 449.9 MB, free: 5.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002723/0.7036, allocations: 98.88 kB / 450 MB, free: 5.223 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.7049, allocations: 0.5307 MB / 450.5 MB, free: 4.746 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.7051, allocations: 54.17 kB / 450.6 MB, free: 4.711 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.7053, allocations: 64.7 kB / 450.6 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.7069, allocations: 0.5952 MB / 451.2 MB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.707, allocations: 0 / 451.2 MB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.212e-05/0.7071, allocations: 29.19 kB / 451.3 MB, free: 4.262 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.7071, allocations: 19.98 kB / 451.3 MB, free: 4.242 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.7086, allocations: 496.2 kB / 451.8 MB, free: 3.938 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006628/0.7153, allocations: 2.652 MB / 454.4 MB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.7165, allocations: 447.2 kB / 454.8 MB, free: 1.547 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008019/0.7173, allocations: 267.1 kB / 455.1 MB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-05/0.7174, allocations: 12.48 kB / 455.1 MB, free: 1.359 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.7174, allocations: 38.69 kB / 455.2 MB, free: 1.316 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.896e-06/0.7174, allocations: 0 / 455.2 MB, free: 1.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.006236/0.7237, allocations: 1.372 MB / 456.5 MB, free: 188 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.7238, allocations: 55.97 kB / 456.6 MB, free: 120 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.7257, allocations: 0.8387 MB / 457.4 MB, free: 15.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.7258, allocations: 40.58 kB / 457.5 MB, free: 15.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000424/0.7262, allocations: 407.3 kB / 457.9 MB, free: 15.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/0.7265, allocations: 220.8 kB / 458.1 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/0.7266, allocations: 8 kB / 458.1 MB, free: 14.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.7268, allocations: 337.9 kB / 458.4 MB, free: 14.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006386/0.7274, allocations: 209.5 kB / 458.6 MB, free: 14.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007013/0.7281, allocations: 299.6 kB / 458.9 MB, free: 13.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006872/0.7288, allocations: 238 kB / 459.1 MB, free: 13.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.7288, allocations: 4 kB / 459.1 MB, free: 13.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001839/0.7307, allocations: 0.6633 MB / 459.8 MB, free: 13.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.7307, allocations: 4 kB / 459.8 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.7308, allocations: 4 kB / 459.8 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.7308, allocations: 8 kB / 459.8 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.7324, allocations: 195.8 kB / 460 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.7325, allocations: 8 kB / 460 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.7336, allocations: 55.95 kB / 460.1 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/0.7337, allocations: 27.98 kB / 460.1 MB, free: 12.79 MB / 378.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 (88): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0002209/0.7339, allocations: 156.7 kB / 460.3 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.7341, allocations: 82.97 kB / 460.3 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/0.7358, allocations: 0.5698 MB / 460.9 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.7358, allocations: 8 kB / 460.9 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.7359, allocations: 0 / 460.9 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.7359, allocations: 3.984 kB / 460.9 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00434/0.7402, allocations: 1.866 MB / 462.8 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.7403, allocations: 4 kB / 462.8 MB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.7415, allocations: 152.1 kB / 462.9 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-05/0.7415, allocations: 8 kB / 462.9 MB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/0.7416, allocations: 12 kB / 463 MB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/0.7416, allocations: 8 kB / 463 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.7416, allocations: 3.938 kB / 463 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.7431, allocations: 0.8291 MB / 463.8 MB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005073/0.7437, allocations: 240 kB / 464 MB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.7438, allocations: 16 kB / 464.1 MB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009073/0.7448, allocations: 55.95 kB / 464.1 MB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.7449, allocations: 56.39 kB / 464.2 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-05/0.745, allocations: 16 kB / 464.2 MB, free: 8.434 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001359/0.7463, allocations: 0.671 MB / 464.8 MB, free: 7.766 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7464, allocations: 4 kB / 464.9 MB, free: 7.762 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00098/0.7473, allocations: 180 kB / 465 MB, free: 7.586 MB / 378.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.003116/0.7505, allocations: 2.401 MB / 467.4 MB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.752, allocations: 0.5021 MB / 467.9 MB, free: 4.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.752, allocations: 0.5625 kB / 467.9 MB, free: 4.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006896/0.7527, allocations: 274 kB / 468.2 MB, free: 4.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.7538, allocations: 112.6 kB / 468.3 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004018/0.7578, allocations: 1.349 MB / 469.7 MB, free: 2.883 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/0.7586, allocations: 0.9827 MB / 470.6 MB, free: 1.875 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008065/0.7594, allocations: 113 kB / 470.8 MB, free: 1.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006984/0.7601, allocations: 291.3 kB / 471 MB, free: 1.477 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7602, allocations: 0 / 471 MB, free: 1.477 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05854/0.8187, allocations: 15.28 MB / 486.3 MB, free: 2.336 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003086/0.8191, allocations: 227.6 kB / 486.5 MB, free: 2.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.251/4.07, allocations: 4 kB / 486.5 MB, free: 2.086 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat does not exist to compare? outputFormat=mat