Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.896/1.896, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.071e-05, allocations: 4 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09167/0.09173, allocations: 44.51 MB / 300 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4613/0.5531, allocations: 82 MB / 382 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.5534, allocations: 88.23 kB / 382 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05701/0.6104, allocations: 15.14 MB / 397.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.6105, allocations: 3.938 kB / 397.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.833e-05/0.6106, allocations: 19 kB / 397.2 MB, free: 10.81 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.002291/0.6129, allocations: 0.9837 MB / 398.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.6129, allocations: 15.78 kB / 398.2 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.6131, allocations: 104.6 kB / 398.3 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.6133, allocations: 101 kB / 398.4 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.6143, allocations: 0.5278 MB / 398.9 MB, free: 9.641 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.6145, allocations: 47.28 kB / 399 MB, free: 9.641 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.6146, allocations: 61.88 kB / 399 MB, free: 9.637 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.616, allocations: 0.6075 MB / 399.7 MB, free: 9.484 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.6161, allocations: 9.406 kB / 399.7 MB, free: 9.477 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.784e-05/0.6162, allocations: 25.38 kB / 399.7 MB, free: 9.477 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.6162, allocations: 17.45 kB / 399.7 MB, free: 9.473 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.6175, allocations: 0.5014 MB / 400.2 MB, free: 9.434 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005094/0.6226, allocations: 2.65 MB / 402.9 MB, free: 7.996 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009838/0.6236, allocations: 469.7 kB / 403.3 MB, free: 7.945 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000709/0.6243, allocations: 275.9 kB / 403.6 MB, free: 7.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.831e-05/0.6244, allocations: 8.156 kB / 403.6 MB, free: 7.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.6244, allocations: 34.38 kB / 403.6 MB, free: 7.871 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 2.766e-06/0.6244, allocations: 0 / 403.6 MB, free: 7.871 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.00548/0.6299, allocations: 1.376 MB / 405 MB, free: 7.441 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.63, allocations: 63.38 kB / 405.1 MB, free: 7.375 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.6315, allocations: 0.8296 MB / 405.9 MB, free: 7.176 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.914e-05/0.6316, allocations: 35.7 kB / 405.9 MB, free: 7.145 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.6319, allocations: 388.2 kB / 406.3 MB, free: 6.938 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.6321, allocations: 230.7 kB / 406.5 MB, free: 6.773 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.6321, allocations: 10.25 kB / 406.5 MB, free: 6.773 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.6323, allocations: 392.7 kB / 406.9 MB, free: 6.438 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005558/0.6328, allocations: 209 kB / 407.1 MB, free: 6.434 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.6334, allocations: 305.4 kB / 407.4 MB, free: 6.332 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/0.6341, allocations: 276.3 kB / 407.7 MB, free: 6.266 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6341, allocations: 0 / 407.7 MB, free: 6.266 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001571/0.6357, allocations: 0.6991 MB / 408.4 MB, free: 6.086 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.6357, allocations: 37.55 kB / 408.4 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.6358, allocations: 3.875 kB / 408.4 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.6358, allocations: 3.812 kB / 408.4 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.6373, allocations: 194.9 kB / 408.6 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.6373, allocations: 11.53 kB / 408.6 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.6383, allocations: 64.75 kB / 408.7 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/0.6384, allocations: 22.88 kB / 408.7 MB, free: 5.984 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.0001636/0.6386, allocations: 142.5 kB / 408.9 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.6388, allocations: 85.92 kB / 409 MB, free: 5.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.6402, allocations: 0.5872 MB / 409.5 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.6402, allocations: 7.75 kB / 409.5 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.6402, allocations: 0 / 409.5 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.6402, allocations: 3.984 kB / 409.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/0.6437, allocations: 1.878 MB / 411.4 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.6438, allocations: 3.969 kB / 411.4 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.6449, allocations: 151.7 kB / 411.6 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/0.6449, allocations: 3.906 kB / 411.6 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.893e-05/0.645, allocations: 22.61 kB / 411.6 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.066e-06/0.645, allocations: 3.906 kB / 411.6 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.645, allocations: 3.875 kB / 411.6 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.6462, allocations: 0.8216 MB / 412.4 MB, free: 4.203 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004329/0.6467, allocations: 244.5 kB / 412.7 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.6468, allocations: 18.45 kB / 412.7 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008906/0.6477, allocations: 56.44 kB / 412.8 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.6479, allocations: 47.12 kB / 412.8 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/0.6479, allocations: 22.48 kB / 412.8 MB, free: 4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001077/0.649, allocations: 0.6579 MB / 413.5 MB, free: 3.855 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.649, allocations: 0 / 413.5 MB, free: 3.855 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007985/0.6498, allocations: 189 kB / 413.7 MB, free: 3.848 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.002284/0.6521, allocations: 2.279 MB / 415.9 MB, free: 18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.6534, allocations: 0.573 MB / 416.5 MB, free: 17.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.6534, allocations: 0 / 416.5 MB, free: 17.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005872/0.654, allocations: 279.8 kB / 416.8 MB, free: 17.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008999/0.655, allocations: 100.9 kB / 416.9 MB, free: 17.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.6583, allocations: 1.336 MB / 418.2 MB, free: 17.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006642/0.6589, allocations: 0.9758 MB / 419.2 MB, free: 16.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007035/0.6597, allocations: 119.1 kB / 419.3 MB, free: 16.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005825/0.6603, allocations: 289.8 kB / 419.6 MB, free: 16.36 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.6603, allocations: 0 / 419.6 MB, free: 16.36 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05442/0.7147, allocations: 15.04 MB / 434.6 MB, free: 8.867 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002684/0.715, allocations: 225 kB / 434.9 MB, free: 8.641 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.965/3.68, allocations: 0 / 434.9 MB, free: 8.641 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat does not exist to compare? outputFormat=mat