Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.735/1.735, allocations: 171.2 MB / 183.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.383e-05, allocations: 4 kB / 225.1 MB, free: 2.137 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3232, allocations: 38.78 MB / 263.9 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.4581, allocations: 77.12 MB / 341 MB, free: 12.46 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/0.4585, allocations: 87.95 kB / 341.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0665/0.525, allocations: 15.14 MB / 356.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5251, allocations: 0 / 356.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.936e-05/0.5251, allocations: 16 kB / 356.2 MB, free: 13.16 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.003024/0.5282, allocations: 0.9957 MB / 357.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.5283, allocations: 8.031 kB / 357.2 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002678/0.5285, allocations: 102.5 kB / 357.3 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002894/0.5288, allocations: 98.78 kB / 357.4 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.5302, allocations: 0.5278 MB / 357.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.5305, allocations: 53.31 kB / 358 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.5307, allocations: 56 kB / 358.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.5324, allocations: 0.609 MB / 358.7 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.595e-05/0.5325, allocations: 7.922 kB / 358.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.823e-05/0.5326, allocations: 24 kB / 358.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.5326, allocations: 16 kB / 358.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.5342, allocations: 0.4933 MB / 359.2 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006641/0.5408, allocations: 2.656 MB / 361.9 MB, free: 7.266 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.5421, allocations: 480.3 kB / 362.3 MB, free: 6.789 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008263/0.5429, allocations: 270.5 kB / 362.6 MB, free: 6.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.707e-05/0.543, allocations: 4.438 kB / 362.6 MB, free: 6.516 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.5431, allocations: 39 kB / 362.6 MB, free: 6.469 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.878e-06/0.5431, allocations: 0 / 362.6 MB, free: 6.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.006478/0.5496, allocations: 1.375 MB / 364 MB, free: 5.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.5497, allocations: 55.97 kB / 364.1 MB, free: 5.023 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.5516, allocations: 0.8356 MB / 364.9 MB, free: 4.184 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.5518, allocations: 37.7 kB / 364.9 MB, free: 4.141 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004105/0.5522, allocations: 392 kB / 365.3 MB, free: 3.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.5525, allocations: 220.8 kB / 365.5 MB, free: 3.531 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.585e-05/0.5526, allocations: 16 kB / 365.6 MB, free: 3.516 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.5528, allocations: 390.8 kB / 365.9 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000645/0.5535, allocations: 205.5 kB / 366.1 MB, free: 2.922 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007101/0.5542, allocations: 309.1 kB / 366.4 MB, free: 2.586 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007229/0.5549, allocations: 275.7 kB / 366.7 MB, free: 2.312 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.5549, allocations: 7.938 kB / 366.7 MB, free: 2.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001929/0.5569, allocations: 0.6961 MB / 367.4 MB, free: 1.598 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.668e-05/0.557, allocations: 29.7 kB / 367.4 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.557, allocations: 4 kB / 367.4 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.557, allocations: 7.953 kB / 367.4 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/0.5586, allocations: 196 kB / 367.6 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.443e-05/0.5587, allocations: 15.92 kB / 367.7 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.5598, allocations: 63.95 kB / 367.7 MB, free: 1.281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.279e-05/0.5599, allocations: 20 kB / 367.7 MB, free: 1.262 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.0002118/0.5601, allocations: 140.8 kB / 367.9 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.5603, allocations: 82.97 kB / 368 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/0.562, allocations: 0.5775 MB / 368.5 MB, free: 452 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.5621, allocations: 12 kB / 368.5 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.5621, allocations: 3.953 kB / 368.6 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.5621, allocations: 3.984 kB / 368.6 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2251/0.7872, allocations: 1.864 MB / 370.4 MB, free: 87.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.7873, allocations: 3.156 kB / 370.4 MB, free: 87.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.7886, allocations: 149.2 kB / 370.6 MB, free: 87.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-05/0.7887, allocations: 5.531 kB / 370.6 MB, free: 87.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.763e-05/0.7888, allocations: 22.52 kB / 370.6 MB, free: 87.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.281e-05/0.7888, allocations: 7.344 kB / 370.6 MB, free: 87.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.7888, allocations: 5.031 kB / 370.6 MB, free: 87.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.7903, allocations: 0.8323 MB / 371.4 MB, free: 86.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005129/0.7909, allocations: 242.2 kB / 371.7 MB, free: 86.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.791, allocations: 16.08 kB / 371.7 MB, free: 86.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009024/0.792, allocations: 58.17 kB / 371.7 MB, free: 86.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.7921, allocations: 49.2 kB / 371.8 MB, free: 86.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/0.7922, allocations: 20.34 kB / 371.8 MB, free: 86.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001243/0.7934, allocations: 0.6599 MB / 372.5 MB, free: 86.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.253e-06/0.7935, allocations: 0 / 372.5 MB, free: 86.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009671/0.7944, allocations: 186.3 kB / 372.7 MB, free: 86.55 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.00222/0.7967, allocations: 2.253 MB / 374.9 MB, free: 84.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.7981, allocations: 0.5769 MB / 375.5 MB, free: 84.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.7981, allocations: 0 / 375.5 MB, free: 84.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006446/0.7988, allocations: 273.3 kB / 375.8 MB, free: 84.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009844/0.7998, allocations: 109.5 kB / 375.9 MB, free: 84.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/0.8037, allocations: 1.35 MB / 377.2 MB, free: 84.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/0.8042, allocations: 0.9777 MB / 378.2 MB, free: 83.63 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008149/0.805, allocations: 105.4 kB / 378.3 MB, free: 83.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006165/0.8057, allocations: 288.3 kB / 378.6 MB, free: 83.62 MB / 314.7 MB Notification: Performance of SimCode: time 1.893e-06/0.8057, allocations: 1.969 kB / 378.6 MB, free: 83.62 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04584/0.8515, allocations: 15.03 MB / 393.6 MB, free: 76.35 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.8518, allocations: 232.7 kB / 393.8 MB, free: 76.12 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.208/4.06, allocations: 0 / 393.8 MB, free: 76.12 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat does not exist to compare? outputFormat=mat