Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.97e-05, allocations: 0 / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09657/0.09663, allocations: 47.57 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4086/0.5053, allocations: 86.88 MB / 403.9 MB, free: 1.203 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/0.5056, allocations: 83.33 kB / 404 MB, free: 1.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07059/0.5763, allocations: 15.81 MB / 419.8 MB, free: 3.797 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5763, allocations: 4 kB / 419.8 MB, free: 3.793 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.019e-05/0.5764, allocations: 20 kB / 419.8 MB, free: 3.773 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.002888/0.5793, allocations: 0.9709 MB / 420.8 MB, free: 2.809 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.5794, allocations: 8.031 kB / 420.8 MB, free: 2.801 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002193/0.5796, allocations: 104.8 kB / 420.9 MB, free: 2.727 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002833/0.5799, allocations: 95.56 kB / 421 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.5812, allocations: 0.5345 MB / 421.5 MB, free: 2.148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.5814, allocations: 52.5 kB / 421.6 MB, free: 2.117 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.5816, allocations: 63.11 kB / 421.7 MB, free: 2.074 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.5833, allocations: 0.592 MB / 422.2 MB, free: 1.676 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.5833, allocations: 0 / 422.2 MB, free: 1.676 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.299e-05/0.5834, allocations: 29.19 kB / 422.3 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.5834, allocations: 12 kB / 422.3 MB, free: 1.656 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.5849, allocations: 0.4884 MB / 422.8 MB, free: 1.352 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00649/0.5914, allocations: 2.66 MB / 425.4 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.5926, allocations: 455.7 kB / 425.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008151/0.5934, allocations: 267.4 kB / 426.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-05/0.5935, allocations: 12.5 kB / 426.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.5936, allocations: 42.48 kB / 426.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 4.929e-06/0.5936, allocations: 3.984 kB / 426.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.006494/0.6001, allocations: 1.362 MB / 427.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.6002, allocations: 63.91 kB / 427.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/0.6021, allocations: 0.8354 MB / 428.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.6022, allocations: 37.2 kB / 428.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/0.6027, allocations: 409.6 kB / 428.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/0.6029, allocations: 212.9 kB / 429.1 MB, free: 12.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.603, allocations: 18.88 kB / 429.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6032, allocations: 328.4 kB / 429.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006222/0.6038, allocations: 207.8 kB / 429.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007055/0.6045, allocations: 297.8 kB / 429.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007225/0.6053, allocations: 246.1 kB / 430.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.6053, allocations: 0 / 430.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001931/0.6072, allocations: 0.6678 MB / 430.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.6073, allocations: 4 kB / 430.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.6073, allocations: 4 kB / 430.8 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/0.6074, allocations: 7.953 kB / 430.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.6091, allocations: 198.6 kB / 431.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.549e-05/0.6092, allocations: 7.984 kB / 431.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.6104, allocations: 62.52 kB / 431.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.449e-05/0.6105, allocations: 23.5 kB / 431.1 MB, free: 10.81 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 (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.0002285/0.6108, allocations: 141.1 kB / 431.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.611, allocations: 82.97 kB / 431.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.6127, allocations: 0.5758 MB / 431.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.6128, allocations: 11.95 kB / 431.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.6128, allocations: 4 kB / 432 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.6128, allocations: 7.984 kB / 432 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004665/0.6175, allocations: 1.859 MB / 433.8 MB, free: 8.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.6175, allocations: 4 kB / 433.8 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/0.6188, allocations: 153.1 kB / 434 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.945e-05/0.6189, allocations: 4 kB / 434 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.89e-05/0.6189, allocations: 21.02 kB / 434 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/0.619, allocations: 4 kB / 434 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.619, allocations: 8.031 kB / 434 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.6206, allocations: 0.8145 MB / 434.8 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005361/0.6211, allocations: 247 kB / 435.1 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.6213, allocations: 11.62 kB / 435.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009588/0.6223, allocations: 62.27 kB / 435.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.6225, allocations: 50.58 kB / 435.2 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.159e-05/0.6225, allocations: 23.25 kB / 435.2 MB, free: 7.418 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001399/0.624, allocations: 0.6635 MB / 435.9 MB, free: 6.945 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.624, allocations: 0 / 435.9 MB, free: 6.945 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001097/0.6251, allocations: 184.3 kB / 436.1 MB, free: 6.785 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.003165/0.6283, allocations: 2.394 MB / 438.4 MB, free: 4.512 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.6299, allocations: 0.5018 MB / 438.9 MB, free: 4.172 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.6299, allocations: 0 / 438.9 MB, free: 4.172 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007226/0.6306, allocations: 269.3 kB / 439.2 MB, free: 3.992 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.6318, allocations: 109.4 kB / 439.3 MB, free: 3.922 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.6362, allocations: 1.352 MB / 440.7 MB, free: 2.691 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008677/0.6371, allocations: 0.9836 MB / 441.7 MB, free: 1.688 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009608/0.6381, allocations: 113 kB / 441.8 MB, free: 1.574 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000704/0.6388, allocations: 295 kB / 442.1 MB, free: 1.496 MB / 346.7 MB Notification: Performance of SimCode: time 1.193e-06/0.6388, allocations: 0 / 442.1 MB, free: 1.496 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05185/0.6907, allocations: 15.28 MB / 457.3 MB, free: 2.223 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/0.691, allocations: 223.6 kB / 457.5 MB, free: 1.996 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.835/3.526, allocations: 3.938 kB / 457.6 MB, free: 1.992 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat does not exist to compare? outputFormat=mat