Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.237/2.237, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.704e-05/2.699e-05, allocations: 4 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3837, allocations: 44.49 MB / 294.3 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1629/0.5466, allocations: 81.34 MB / 375.6 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/0.547, allocations: 91.88 kB / 375.7 MB, free: 472 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07688/0.6239, allocations: 15 MB / 390.7 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.624, allocations: 4 kB / 390.7 MB, free: 1.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.89e-05/0.6241, allocations: 16 kB / 390.7 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.003117/0.6272, allocations: 1.003 MB / 391.7 MB, free: 344 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.6273, allocations: 12.03 kB / 391.7 MB, free: 332 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002781/0.6276, allocations: 98.83 kB / 391.8 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.629, allocations: 0.5155 MB / 392.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.6292, allocations: 37.23 kB / 392.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.6294, allocations: 36 kB / 392.4 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001735/0.6312, allocations: 474.5 kB / 392.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.6329, allocations: 0.5167 MB / 393.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.103e-05/0.633, allocations: 0 / 393.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.353e-05/0.6331, allocations: 7.938 kB / 393.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.6332, allocations: 15.95 kB / 393.4 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007546/0.6407, allocations: 2.536 MB / 396 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.642, allocations: 431.6 kB / 396.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008601/0.6429, allocations: 254.5 kB / 396.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.481e-05/0.643, allocations: 12.5 kB / 396.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.643, allocations: 39 kB / 396.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 3.707e-06/0.643, allocations: 0 / 396.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.003897/0.6469, allocations: 0.953 MB / 397.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.647, allocations: 59.97 kB / 397.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/0.649, allocations: 0.7416 MB / 398.4 MB, free: 9.387 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.6492, allocations: 33.7 kB / 398.5 MB, free: 9.348 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005072/0.6497, allocations: 399.7 kB / 398.9 MB, free: 8.953 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.6501, allocations: 212.8 kB / 399.1 MB, free: 8.742 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.6501, allocations: 0 / 399.1 MB, free: 8.742 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002713/0.6504, allocations: 390.8 kB / 399.5 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000656/0.6511, allocations: 197.5 kB / 399.7 MB, free: 8.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007252/0.6518, allocations: 290.8 kB / 399.9 MB, free: 7.848 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007219/0.6526, allocations: 224.5 kB / 400.2 MB, free: 7.629 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6526, allocations: 3.938 kB / 400.2 MB, free: 7.625 MB / 346.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001995/0.6546, allocations: 0.6203 MB / 400.8 MB, free: 7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.123e-05/0.6547, allocations: 37.66 kB / 400.8 MB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.6547, allocations: 0 / 400.8 MB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/0.6547, allocations: 8 kB / 400.8 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/0.6566, allocations: 200 kB / 401 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.6566, allocations: 4 kB / 401 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.6579, allocations: 47.95 kB / 401.1 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.658, allocations: 31.98 kB / 401.1 MB, free: 6.672 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.0002244/0.6582, allocations: 124.5 kB / 401.2 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001474/0.6597, allocations: 490.1 kB / 401.7 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.66, allocations: 79.02 kB / 401.8 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.6617, allocations: 0.5186 MB / 402.3 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.6617, allocations: 15.98 kB / 402.3 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6617, allocations: 0 / 402.3 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.6618, allocations: 3.984 kB / 402.3 MB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004666/0.6664, allocations: 1.734 MB / 404.1 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.6665, allocations: 4 kB / 404.1 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.6679, allocations: 151.8 kB / 404.2 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.912e-05/0.6679, allocations: 8 kB / 404.2 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.668, allocations: 8.219 kB / 404.2 MB, free: 3.414 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/0.668, allocations: 8 kB / 404.2 MB, free: 3.406 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.668, allocations: 4 kB / 404.2 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.6697, allocations: 0.7746 MB / 405 MB, free: 2.508 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005665/0.6703, allocations: 232.1 kB / 405.2 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.6705, allocations: 11.94 kB / 405.2 MB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009757/0.6715, allocations: 47.95 kB / 405.3 MB, free: 2.203 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.6717, allocations: 52.45 kB / 405.3 MB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.778e-05/0.6718, allocations: 23.98 kB / 405.4 MB, free: 2.129 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001263/0.673, allocations: 0.5772 MB / 405.9 MB, free: 1.555 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.673, allocations: 0 / 405.9 MB, free: 1.555 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00108/0.6741, allocations: 151.9 kB / 406.1 MB, free: 1.406 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.002922/0.6771, allocations: 2.229 MB / 408.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.6787, allocations: 0.5367 MB / 408.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6787, allocations: 0 / 408.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007229/0.6794, allocations: 259.1 kB / 409.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.6805, allocations: 83.39 kB / 409.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/0.6849, allocations: 1.278 MB / 410.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009057/0.6859, allocations: 0.9823 MB / 411.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009032/0.6868, allocations: 104.7 kB / 411.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000778/0.6876, allocations: 283.3 kB / 411.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6876, allocations: 0 / 411.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3618/1.049, allocations: 13.38 MB / 425.2 MB, free: 105 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002242/1.05, allocations: 210.5 kB / 425.4 MB, free: 104.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.645/4.694, allocations: 0 / 425.4 MB, free: 104.8 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat does not exist to compare? outputFormat=mat