Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.074/2.074, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.774e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3075, allocations: 44.49 MB / 294.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.4797, allocations: 81.34 MB / 375.5 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/0.4801, allocations: 83.89 kB / 375.6 MB, free: 476 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06898/0.5491, allocations: 15 MB / 390.6 MB, free: 1.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5492, allocations: 0 / 390.6 MB, free: 1.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.548e-05/0.5492, allocations: 16 kB / 390.6 MB, free: 1.395 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.003219/0.5525, allocations: 0.9954 MB / 391.6 MB, free: 352 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.5526, allocations: 8.031 kB / 391.7 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004142/0.553, allocations: 102.8 kB / 391.8 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.5546, allocations: 0.5232 MB / 392.3 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.5548, allocations: 33.3 kB / 392.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.555, allocations: 32 kB / 392.3 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001577/0.5566, allocations: 474.5 kB / 392.8 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.5581, allocations: 0.5205 MB / 393.3 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/0.5582, allocations: 8 kB / 393.3 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.921e-05/0.5583, allocations: 0 / 393.3 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.5583, allocations: 19.95 kB / 393.4 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006944/0.5653, allocations: 2.528 MB / 395.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.5664, allocations: 431.7 kB / 396.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008061/0.5673, allocations: 262.4 kB / 396.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.268e-05/0.5674, allocations: 12.5 kB / 396.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.5674, allocations: 39 kB / 396.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 5.41e-06/0.5675, allocations: 3.984 kB / 396.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.003657/0.5711, allocations: 0.9609 MB / 397.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.5712, allocations: 63.91 kB / 397.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.573, allocations: 0.7416 MB / 398.4 MB, free: 9.371 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.5732, allocations: 25.7 kB / 398.4 MB, free: 9.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.5736, allocations: 418.2 kB / 398.8 MB, free: 8.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.5739, allocations: 208.9 kB / 399 MB, free: 8.723 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.574, allocations: 0 / 399 MB, free: 8.723 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5742, allocations: 342.8 kB / 399.3 MB, free: 8.379 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005982/0.5748, allocations: 193.5 kB / 399.5 MB, free: 8.191 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/0.5755, allocations: 287.6 kB / 399.8 MB, free: 7.879 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006957/0.5762, allocations: 228.5 kB / 400 MB, free: 7.656 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.5762, allocations: 0 / 400 MB, free: 7.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001668/0.5779, allocations: 0.5703 MB / 400.6 MB, free: 7.082 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.578, allocations: 33.66 kB / 400.6 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.578, allocations: 7.938 kB / 400.7 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/0.5781, allocations: 4 kB / 400.7 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.5798, allocations: 203.8 kB / 400.9 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/0.5798, allocations: 7.984 kB / 400.9 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.581, allocations: 43.95 kB / 400.9 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.5812, allocations: 24 kB / 400.9 MB, free: 6.758 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 (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.0002374/0.5814, allocations: 124.6 kB / 401.1 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001473/0.5829, allocations: 490.1 kB / 401.5 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.5832, allocations: 83.02 kB / 401.6 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.5849, allocations: 0.511 MB / 402.1 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.5849, allocations: 8 kB / 402.1 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/0.585, allocations: 4 kB / 402.1 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.585, allocations: 7.922 kB / 402.1 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004591/0.5896, allocations: 1.738 MB / 403.9 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.5897, allocations: 4.344 kB / 403.9 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.5909, allocations: 155.8 kB / 404 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.698e-05/0.591, allocations: 4 kB / 404 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/0.591, allocations: 11.98 kB / 404.1 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.689e-06/0.5911, allocations: 4 kB / 404.1 MB, free: 3.492 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/0.5911, allocations: 7.938 kB / 404.1 MB, free: 3.484 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.5927, allocations: 0.7785 MB / 404.8 MB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006195/0.5934, allocations: 228.1 kB / 405.1 MB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.5936, allocations: 7.953 kB / 405.1 MB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009407/0.5946, allocations: 51.95 kB / 405.1 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.5947, allocations: 44.5 kB / 405.2 MB, free: 2.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.224e-05/0.5948, allocations: 23.92 kB / 405.2 MB, free: 2.219 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00131/0.5961, allocations: 0.589 MB / 405.8 MB, free: 1.633 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5962, allocations: 0 / 405.8 MB, free: 1.633 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00113/0.5973, allocations: 151.9 kB / 405.9 MB, free: 1.484 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.002949/0.6003, allocations: 2.225 MB / 408.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.6019, allocations: 0.5328 MB / 408.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.602, allocations: 0 / 408.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007318/0.6027, allocations: 263.2 kB / 408.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.6039, allocations: 91.27 kB / 409 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004668/0.6086, allocations: 1.323 MB / 410.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008218/0.6095, allocations: 0.9783 MB / 411.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008908/0.6104, allocations: 295.3 kB / 411.6 MB, free: 11.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6104, allocations: 0 / 411.6 MB, free: 11.6 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.962/3.573, allocations: 13.94 MB / 425.6 MB, free: 105.4 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat does not exist to compare? outputFormat=mat