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.912/1.912, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.827e-05/3.833e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2756, allocations: 38.77 MB / 263.9 MB, free: 9.723 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.4193, allocations: 79.2 MB / 343.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/0.4197, allocations: 79.95 kB / 343.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1016/0.5213, allocations: 21.32 MB / 364.5 MB, free: 4.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5214, allocations: 0 / 364.5 MB, free: 4.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001129/0.5215, allocations: 24 kB / 364.5 MB, free: 4.887 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.004783/0.5263, allocations: 1.241 MB / 365.7 MB, free: 3.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.5264, allocations: 8.031 kB / 365.8 MB, free: 3.582 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005456/0.527, allocations: 151.9 kB / 365.9 MB, free: 3.426 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004425/0.5274, allocations: 131.1 kB / 366 MB, free: 3.297 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.5295, allocations: 0.6523 MB / 366.7 MB, free: 2.605 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/0.5298, allocations: 73.98 kB / 366.8 MB, free: 2.531 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004111/0.5303, allocations: 99.91 kB / 366.9 MB, free: 2.434 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003388/0.5337, allocations: 0.9145 MB / 367.8 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.524e-05/0.5338, allocations: 0 / 367.8 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.534, allocations: 44 kB / 367.8 MB, free: 1.465 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/0.534, allocations: 24 kB / 367.8 MB, free: 1.441 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002776/0.5368, allocations: 0.7617 MB / 368.6 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2425/0.7794, allocations: 3.825 MB / 372.4 MB, free: 82.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/0.7828, allocations: 0.8314 MB / 373.3 MB, free: 81.97 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.784, allocations: 375 kB / 373.6 MB, free: 81.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.894e-05/0.7841, allocations: 16.09 kB / 373.6 MB, free: 81.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.7842, allocations: 41.91 kB / 373.7 MB, free: 81.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=68): time 4.599e-06/0.7842, allocations: 1.812 kB / 373.7 MB, free: 81.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.006182/0.7904, allocations: 1.641 MB / 375.3 MB, free: 81.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.7905, allocations: 88.98 kB / 375.4 MB, free: 81.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.7922, allocations: 0.8007 MB / 376.2 MB, free: 81.35 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000188/0.7924, allocations: 40.89 kB / 376.2 MB, free: 81.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000395/0.7928, allocations: 0.5041 MB / 376.7 MB, free: 81.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003207/0.7932, allocations: 285.7 kB / 377 MB, free: 80.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.7933, allocations: 20.66 kB / 377 MB, free: 80.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.7934, allocations: 348 kB / 377.4 MB, free: 80.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008953/0.7943, allocations: 300.8 kB / 377.7 MB, free: 80.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009328/0.7953, allocations: 451.7 kB / 378.1 MB, free: 80.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.7963, allocations: 363.4 kB / 378.5 MB, free: 80.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.7963, allocations: 3.375 kB / 378.5 MB, free: 80.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002681/0.799, allocations: 0.9451 MB / 379.4 MB, free: 80.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/0.7991, allocations: 34.05 kB / 379.5 MB, free: 80.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.7992, allocations: 3.344 kB / 379.5 MB, free: 80.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.709e-05/0.7992, allocations: 19.19 kB / 379.5 MB, free: 80.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002834/0.8021, allocations: 352.6 kB / 379.8 MB, free: 80.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.559e-05/0.8021, allocations: 10.34 kB / 379.8 MB, free: 80.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/0.8041, allocations: 121.3 kB / 380 MB, free: 80.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002024/0.8044, allocations: 35.39 kB / 380 MB, free: 80.32 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.0002856/0.8047, allocations: 159.8 kB / 380.1 MB, free: 80.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003189/0.805, allocations: 102.8 kB / 380.2 MB, free: 80.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.8061, allocations: 366.2 kB / 380.6 MB, free: 80.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.8061, allocations: 11.72 kB / 380.6 MB, free: 80.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.8062, allocations: 3.953 kB / 380.6 MB, free: 80.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.8062, allocations: 7.172 kB / 380.6 MB, free: 80.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007156/0.8133, allocations: 2.853 MB / 383.5 MB, free: 78.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/0.8134, allocations: 11.25 kB / 383.5 MB, free: 78.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002003/0.8154, allocations: 274.5 kB / 383.8 MB, free: 78.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.38e-05/0.8155, allocations: 18.06 kB / 383.8 MB, free: 78.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/0.8157, allocations: 34.33 kB / 383.8 MB, free: 78.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.83e-05/0.8157, allocations: 21.72 kB / 383.8 MB, free: 78.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.575e-05/0.8157, allocations: 17.62 kB / 383.8 MB, free: 78.35 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/0.818, allocations: 1.676 MB / 385.5 MB, free: 76.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/0.8185, allocations: 206.6 kB / 385.7 MB, free: 76.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.8187, allocations: 34.02 kB / 385.8 MB, free: 76.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/0.8203, allocations: 83.09 kB / 385.8 MB, free: 76.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002528/0.8206, allocations: 89.25 kB / 385.9 MB, free: 76.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.8207, allocations: 40.61 kB / 386 MB, free: 76.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001301/0.822, allocations: 0.6217 MB / 386.6 MB, free: 76.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.8221, allocations: 0 / 386.6 MB, free: 76.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001737/0.8238, allocations: 226.9 kB / 386.8 MB, free: 76.12 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.003702/0.8276, allocations: 5.533 MB / 392.3 MB, free: 70.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002105/0.8297, allocations: 0.7482 MB / 393.1 MB, free: 70.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-05/0.8298, allocations: 3.781 kB / 393.1 MB, free: 70.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.8309, allocations: 388.7 kB / 393.5 MB, free: 70.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.8329, allocations: 195.4 kB / 393.7 MB, free: 70.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005986/0.839, allocations: 1.711 MB / 395.4 MB, free: 69.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/0.8397, allocations: 1.052 MB / 396.4 MB, free: 68.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001183/0.8409, allocations: 132.7 kB / 396.6 MB, free: 68.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009971/0.8419, allocations: 386.6 kB / 396.9 MB, free: 68.11 MB / 314.7 MB Notification: Performance of SimCode: time 1.413e-06/0.842, allocations: 0 / 396.9 MB, free: 68.11 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07017/0.9122, allocations: 18.92 MB / 415.9 MB, free: 53.07 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003068/0.9126, allocations: 228.5 kB / 416.1 MB, free: 52.84 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.111/4.023, allocations: 0 / 416.1 MB, free: 52.84 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