Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.807/1.807, allocations: 171.2 MB / 183.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.339e-05/3.342e-05, allocations: 4 kB / 225.1 MB, free: 2.133 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2557, allocations: 38.77 MB / 263.9 MB, free: 9.797 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.4008, allocations: 79.19 MB / 343.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/0.4012, allocations: 83.95 kB / 343.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09597/0.4972, allocations: 21.31 MB / 364.4 MB, free: 5.004 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.208e-06/0.4972, allocations: 0 / 364.4 MB, free: 5.004 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.329e-05/0.4973, allocations: 27.94 kB / 364.5 MB, free: 4.977 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003993/0.5013, allocations: 1.241 MB / 365.7 MB, free: 3.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.5014, allocations: 12.03 kB / 365.7 MB, free: 3.668 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003401/0.5018, allocations: 151.9 kB / 365.9 MB, free: 3.512 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003457/0.5021, allocations: 131.1 kB / 366 MB, free: 3.383 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.5037, allocations: 0.6367 MB / 366.6 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.5039, allocations: 81.94 kB / 366.7 MB, free: 2.625 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/0.5042, allocations: 99.89 kB / 366.8 MB, free: 2.527 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/0.5068, allocations: 0.923 MB / 367.7 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.149e-05/0.5068, allocations: 4 kB / 367.7 MB, free: 1.586 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.507, allocations: 43.98 kB / 367.8 MB, free: 1.543 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/0.507, allocations: 24 kB / 367.8 MB, free: 1.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.5093, allocations: 0.7619 MB / 368.6 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2583/0.7677, allocations: 3.84 MB / 372.4 MB, free: 82.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004924/0.7727, allocations: 0.8372 MB / 373.2 MB, free: 82.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.7743, allocations: 377.3 kB / 373.6 MB, free: 82.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.7744, allocations: 11.97 kB / 373.6 MB, free: 82.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.7745, allocations: 43.91 kB / 373.7 MB, free: 82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=68): time 6.433e-06/0.7745, allocations: 0 / 373.7 MB, free: 82 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.008577/0.7831, allocations: 1.642 MB / 375.3 MB, free: 81.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.7832, allocations: 98.25 kB / 375.4 MB, free: 81.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/0.7856, allocations: 0.7999 MB / 376.2 MB, free: 81.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001747/0.7858, allocations: 36.7 kB / 376.2 MB, free: 81.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005613/0.7864, allocations: 0.5025 MB / 376.7 MB, free: 81.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003918/0.7868, allocations: 288.8 kB / 377 MB, free: 81.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.7869, allocations: 18.53 kB / 377 MB, free: 81.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.7871, allocations: 346 kB / 377.4 MB, free: 80.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.7884, allocations: 301.7 kB / 377.7 MB, free: 80.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.7899, allocations: 459.7 kB / 378.1 MB, free: 80.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.7913, allocations: 366.9 kB / 378.5 MB, free: 80.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.7914, allocations: 0 / 378.5 MB, free: 80.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003706/0.7951, allocations: 0.9557 MB / 379.4 MB, free: 80.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.74e-05/0.7952, allocations: 33 kB / 379.5 MB, free: 80.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.7952, allocations: 6.969 kB / 379.5 MB, free: 80.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.165e-05/0.7953, allocations: 14.02 kB / 379.5 MB, free: 80.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004204/0.7995, allocations: 350.2 kB / 379.8 MB, free: 80.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.553e-05/0.7996, allocations: 11.44 kB / 379.8 MB, free: 80.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/0.8023, allocations: 117.8 kB / 380 MB, free: 80.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/0.8025, allocations: 42.02 kB / 380 MB, free: 80.4 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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.000355/0.8029, allocations: 165.6 kB / 380.2 MB, free: 80.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003836/0.8033, allocations: 98.41 kB / 380.3 MB, free: 80.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.8048, allocations: 366.9 kB / 380.6 MB, free: 80.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.8049, allocations: 15 kB / 380.6 MB, free: 80.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.8049, allocations: 3.953 kB / 380.6 MB, free: 80.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.8049, allocations: 3.797 kB / 380.6 MB, free: 80.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009827/0.8148, allocations: 2.884 MB / 383.5 MB, free: 78.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/0.8149, allocations: 7.875 kB / 383.5 MB, free: 78.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003045/0.8179, allocations: 271.1 kB / 383.8 MB, free: 78.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.744e-05/0.818, allocations: 18.09 kB / 383.8 MB, free: 78.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/0.8181, allocations: 33.42 kB / 383.8 MB, free: 78.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.042e-05/0.8182, allocations: 18.41 kB / 383.9 MB, free: 78.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.025e-05/0.8182, allocations: 17.67 kB / 383.9 MB, free: 78.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/0.8213, allocations: 1.689 MB / 385.6 MB, free: 76.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/0.8219, allocations: 203.6 kB / 385.8 MB, free: 76.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/0.8222, allocations: 34.42 kB / 385.8 MB, free: 76.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002091/0.8243, allocations: 83.45 kB / 385.9 MB, free: 76.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/0.8246, allocations: 86.66 kB / 386 MB, free: 76.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.8248, allocations: 46.94 kB / 386 MB, free: 76.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001819/0.8266, allocations: 0.6163 MB / 386.6 MB, free: 76.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.082e-06/0.8266, allocations: 0 / 386.6 MB, free: 76.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00219/0.8288, allocations: 235.6 kB / 386.9 MB, free: 76.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.004947/0.8338, allocations: 5.524 MB / 392.4 MB, free: 70.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002921/0.8368, allocations: 0.7817 MB / 393.2 MB, free: 70.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/0.8368, allocations: 1 kB / 393.2 MB, free: 70.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001657/0.8385, allocations: 402.1 kB / 393.6 MB, free: 70.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/0.841, allocations: 194.8 kB / 393.8 MB, free: 70.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008056/0.8491, allocations: 1.735 MB / 395.5 MB, free: 69.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009546/0.8501, allocations: 1.051 MB / 396.5 MB, free: 68.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001654/0.8518, allocations: 131.2 kB / 396.7 MB, free: 68.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/0.853, allocations: 386.6 kB / 397 MB, free: 68.16 MB / 314.7 MB Notification: Performance of SimCode: time 1.903e-06/0.853, allocations: 0 / 397 MB, free: 68.16 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06047/0.9135, allocations: 19 MB / 416 MB, free: 53.03 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003027/0.9139, allocations: 218.5 kB / 416.3 MB, free: 52.81 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.238/4.151, allocations: 4 kB / 416.3 MB, free: 52.81 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat does not exist to compare? outputFormat=mat