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.908/1.908, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.072e-05/4.076e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 44.5 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4268/0.5276, allocations: 82.01 MB / 382 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/0.528, allocations: 89.09 kB / 382.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06209/0.5901, allocations: 15.15 MB / 397.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.5902, allocations: 0 / 397.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.812e-05/0.5903, allocations: 19 kB / 397.2 MB, free: 10.94 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.002691/0.593, allocations: 0.9954 MB / 398.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.593, allocations: 11.78 kB / 398.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003196/0.5934, allocations: 103.8 kB / 398.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003428/0.5937, allocations: 101.4 kB / 398.5 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.5953, allocations: 0.5173 MB / 399 MB, free: 9.777 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.5955, allocations: 57.03 kB / 399 MB, free: 9.773 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.5957, allocations: 59.59 kB / 399.1 MB, free: 9.773 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.5973, allocations: 0.5958 MB / 399.7 MB, free: 9.621 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/0.5974, allocations: 3.906 kB / 399.7 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.802e-05/0.5975, allocations: 27.47 kB / 399.7 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.5976, allocations: 19.45 kB / 399.7 MB, free: 9.613 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.599, allocations: 499 kB / 400.2 MB, free: 9.578 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006321/0.6053, allocations: 2.653 MB / 402.9 MB, free: 8.145 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.6064, allocations: 460.4 kB / 403.3 MB, free: 8.098 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000727/0.6071, allocations: 273.3 kB / 403.6 MB, free: 8.062 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.995e-05/0.6072, allocations: 8 kB / 403.6 MB, free: 8.062 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.6073, allocations: 38.47 kB / 403.6 MB, free: 8.023 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.487e-06/0.6073, allocations: 0 / 403.6 MB, free: 8.023 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.006077/0.6134, allocations: 1.375 MB / 405 MB, free: 7.598 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.6135, allocations: 55.84 kB / 405.1 MB, free: 7.535 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.6152, allocations: 0.8354 MB / 405.9 MB, free: 7.332 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.6154, allocations: 36.61 kB / 405.9 MB, free: 7.301 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.6157, allocations: 388.6 kB / 406.3 MB, free: 7.094 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.6159, allocations: 227.8 kB / 406.5 MB, free: 6.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.616, allocations: 15.12 kB / 406.6 MB, free: 6.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6161, allocations: 390 kB / 406.9 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005884/0.6167, allocations: 210.4 kB / 407.1 MB, free: 6.586 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006068/0.6173, allocations: 303.9 kB / 407.4 MB, free: 6.484 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/0.618, allocations: 275 kB / 407.7 MB, free: 6.414 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.618, allocations: 0 / 407.7 MB, free: 6.414 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001661/0.6196, allocations: 0.6951 MB / 408.4 MB, free: 6.238 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.6197, allocations: 33.45 kB / 408.4 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.6197, allocations: 0 / 408.4 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.389e-05/0.6198, allocations: 7.844 kB / 408.4 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.6214, allocations: 198.1 kB / 408.6 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/0.6214, allocations: 7.859 kB / 408.6 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.6226, allocations: 68.27 kB / 408.7 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/0.6227, allocations: 23.31 kB / 408.7 MB, free: 6.137 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.0001857/0.6229, allocations: 146.1 kB / 408.9 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.6231, allocations: 85.92 kB / 409 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.6246, allocations: 0.5816 MB / 409.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.6246, allocations: 3.844 kB / 409.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6246, allocations: 3.781 kB / 409.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.6247, allocations: 7.984 kB / 409.6 MB, free: 5.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/0.6285, allocations: 1.865 MB / 411.4 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.6286, allocations: 7.938 kB / 411.4 MB, free: 4.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.6297, allocations: 150.5 kB / 411.6 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.414e-05/0.6297, allocations: 3.625 kB / 411.6 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/0.6298, allocations: 18.14 kB / 411.6 MB, free: 4.875 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/0.6298, allocations: 7.75 kB / 411.6 MB, free: 4.875 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6298, allocations: 4 kB / 411.6 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.6313, allocations: 0.8211 MB / 412.4 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005564/0.6319, allocations: 248.9 kB / 412.7 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.6321, allocations: 18.92 kB / 412.7 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.6332, allocations: 57.39 kB / 412.7 MB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.6334, allocations: 43.14 kB / 412.8 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-05/0.6334, allocations: 23.05 kB / 412.8 MB, free: 4.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001283/0.6347, allocations: 0.6605 MB / 413.5 MB, free: 4.012 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6348, allocations: 0 / 413.5 MB, free: 4.012 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001145/0.6359, allocations: 184.3 kB / 413.6 MB, free: 4.008 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.003003/0.639, allocations: 2.274 MB / 415.9 MB, free: 18.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.6404, allocations: 0.5531 MB / 416.5 MB, free: 18.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.6405, allocations: 0 / 416.5 MB, free: 18.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005888/0.6411, allocations: 276.7 kB / 416.7 MB, free: 18.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.6421, allocations: 113.2 kB / 416.9 MB, free: 18.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.6457, allocations: 1.336 MB / 418.2 MB, free: 17.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007237/0.6465, allocations: 0.9773 MB / 419.2 MB, free: 16.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007696/0.6473, allocations: 115 kB / 419.3 MB, free: 16.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005864/0.6479, allocations: 289 kB / 419.6 MB, free: 16.53 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6479, allocations: 7.781 kB / 419.6 MB, free: 16.52 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05773/0.7057, allocations: 14.98 MB / 434.6 MB, free: 9.059 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003546/0.7061, allocations: 223.8 kB / 434.8 MB, free: 8.832 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.007/3.713, allocations: 0 / 434.8 MB, free: 8.832 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