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 2.184/2.184, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.54e-05/2.558e-05, allocations: 7.984 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2973, allocations: 44.49 MB / 294.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.4478, allocations: 81.34 MB / 375.6 MB, free: 0.582 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/0.4482, allocations: 83.95 kB / 375.7 MB, free: 0.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09065/0.5388, allocations: 15 MB / 390.7 MB, free: 1.449 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.571e-06/0.5389, allocations: 0 / 390.7 MB, free: 1.449 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001115/0.539, allocations: 15.94 kB / 390.7 MB, free: 1.434 MB / 330.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.004537/0.5436, allocations: 0.9954 MB / 391.7 MB, free: 392 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.469e-05/0.5437, allocations: 8.031 kB / 391.7 MB, free: 384 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005333/0.5442, allocations: 98.83 kB / 391.8 MB, free: 284 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.5464, allocations: 0.5232 MB / 392.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/0.5467, allocations: 33.31 kB / 392.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002419/0.547, allocations: 36 kB / 392.4 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002488/0.5495, allocations: 474.5 kB / 392.8 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.5518, allocations: 0.5205 MB / 393.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.443e-05/0.5519, allocations: 8 kB / 393.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.552, allocations: 0 / 393.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.5521, allocations: 15.95 kB / 393.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008846/0.5609, allocations: 2.535 MB / 395.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.5627, allocations: 427.7 kB / 396.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/0.5639, allocations: 262.3 kB / 396.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.245e-05/0.564, allocations: 12.5 kB / 396.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.5641, allocations: 43 kB / 396.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 6.642e-06/0.5641, allocations: 3.984 kB / 396.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.004987/0.5691, allocations: 0.9686 MB / 397.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.5692, allocations: 55.97 kB / 397.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/0.5718, allocations: 0.7455 MB / 398.4 MB, free: 9.406 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.572, allocations: 25.7 kB / 398.4 MB, free: 9.375 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005636/0.5726, allocations: 399.7 kB / 398.8 MB, free: 8.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/0.5729, allocations: 208.8 kB / 399 MB, free: 8.773 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.989e-05/0.573, allocations: 3.938 kB / 399 MB, free: 8.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002903/0.5733, allocations: 386.8 kB / 399.4 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008394/0.5742, allocations: 193.5 kB / 399.6 MB, free: 8.195 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009411/0.5752, allocations: 287.6 kB / 399.9 MB, free: 7.883 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009781/0.5762, allocations: 232.5 kB / 400.1 MB, free: 7.656 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.5762, allocations: 0 / 400.1 MB, free: 7.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002811/0.579, allocations: 0.6125 MB / 400.7 MB, free: 7.039 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.789e-05/0.5792, allocations: 41.88 kB / 400.8 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.5792, allocations: 4 kB / 400.8 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.188e-05/0.5793, allocations: 8 kB / 400.8 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002809/0.5821, allocations: 195.8 kB / 401 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/0.5821, allocations: 4 kB / 401 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.5838, allocations: 47.95 kB / 401 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.5839, allocations: 27.98 kB / 401 MB, free: 6.711 MB / 346.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.0002745/0.5842, allocations: 127.3 kB / 401.2 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001932/0.5862, allocations: 490.2 kB / 401.6 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.5865, allocations: 79.02 kB / 401.7 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.5886, allocations: 0.5148 MB / 402.2 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.5887, allocations: 8 kB / 402.2 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.5887, allocations: 0 / 402.2 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.5887, allocations: 7.922 kB / 402.2 MB, free: 5.477 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006502/0.5953, allocations: 1.738 MB / 404 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/0.5953, allocations: 4 kB / 404 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001869/0.5972, allocations: 152.1 kB / 404.1 MB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.824e-05/0.5973, allocations: 11.94 kB / 404.1 MB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.919e-05/0.5974, allocations: 11.98 kB / 404.2 MB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.899e-05/0.5974, allocations: 7.938 kB / 404.2 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/0.5974, allocations: 4 kB / 404.2 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.5998, allocations: 0.7746 MB / 404.9 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008246/0.6007, allocations: 236.1 kB / 405.2 MB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/0.6009, allocations: 7.953 kB / 405.2 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.6024, allocations: 47.95 kB / 405.2 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/0.6026, allocations: 48.5 kB / 405.3 MB, free: 2.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.414e-05/0.6027, allocations: 20 kB / 405.3 MB, free: 2.172 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001871/0.6046, allocations: 0.5811 MB / 405.9 MB, free: 1.594 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.163e-06/0.6046, allocations: 0 / 405.9 MB, free: 1.594 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001552/0.6062, allocations: 159.9 kB / 406 MB, free: 1.438 MB / 346.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.004185/0.6104, allocations: 2.212 MB / 408.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002259/0.6128, allocations: 0.5406 MB / 408.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/0.6128, allocations: 4 kB / 408.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.6139, allocations: 258 kB / 409 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.6155, allocations: 88.52 kB / 409.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006216/0.6218, allocations: 1.278 MB / 410.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.623, allocations: 0.9783 MB / 411.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001277/0.6243, allocations: 104.8 kB / 411.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.6254, allocations: 295.3 kB / 411.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of SimCode: time 1.674e-06/0.6254, allocations: 0 / 411.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3619/0.9873, allocations: 13.36 MB / 425.1 MB, free: 105.1 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/0.9877, allocations: 198.7 kB / 425.3 MB, free: 104.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.945/3.933, allocations: 0 / 425.3 MB, free: 104.8 MB / 362.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