Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.84/1.84, allocations: 171.2 MB / 178.8 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.092e-05, allocations: 0 / 219.6 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2572, allocations: 38.76 MB / 258.3 MB, free: 12.06 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.393, allocations: 76.46 MB / 334.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/0.3934, allocations: 87.94 kB / 334.9 MB, free: 1.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06593/0.4593, allocations: 14.98 MB / 349.9 MB, free: 2.223 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4594, allocations: 0 / 349.9 MB, free: 2.223 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.024e-05/0.4595, allocations: 20 kB / 349.9 MB, free: 2.203 MB / 298.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.002926/0.4624, allocations: 1 MB / 350.9 MB, free: 1.148 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/0.4625, allocations: 12.03 kB / 350.9 MB, free: 1.137 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003302/0.4628, allocations: 98.78 kB / 351 MB, free: 1.039 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.4642, allocations: 0.5239 MB / 351.5 MB, free: 484 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.4643, allocations: 29.31 kB / 351.5 MB, free: 456 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.4645, allocations: 36 kB / 351.6 MB, free: 420 kB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001493/0.466, allocations: 474.5 kB / 352 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.4675, allocations: 0.5206 MB / 352.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.4675, allocations: 0 / 352.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.769e-05/0.4676, allocations: 0 / 352.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.4676, allocations: 20 kB / 352.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006529/0.4742, allocations: 2.536 MB / 355.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.4753, allocations: 435.7 kB / 355.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007587/0.4761, allocations: 250.5 kB / 355.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.636e-05/0.4761, allocations: 20.39 kB / 355.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4762, allocations: 39 kB / 355.8 MB, free: 11.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.226e-06/0.4762, allocations: 4 kB / 355.8 MB, free: 11.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.003361/0.4796, allocations: 0.9493 MB / 356.8 MB, free: 11.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.4796, allocations: 63.92 kB / 356.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.4813, allocations: 0.7416 MB / 357.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.567e-05/0.4814, allocations: 25.7 kB / 357.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.4818, allocations: 426.1 kB / 358 MB, free: 9.746 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.482, allocations: 208.8 kB / 358.2 MB, free: 9.539 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.4821, allocations: 4 kB / 358.2 MB, free: 9.535 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4823, allocations: 334.8 kB / 358.6 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005622/0.4828, allocations: 197.5 kB / 358.8 MB, free: 9.004 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/0.4835, allocations: 291.5 kB / 359.1 MB, free: 8.691 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006358/0.4841, allocations: 228.5 kB / 359.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4842, allocations: 0 / 359.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001595/0.4858, allocations: 0.5661 MB / 359.8 MB, free: 7.895 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.418e-05/0.4858, allocations: 37.98 kB / 359.9 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.4859, allocations: 3.984 kB / 359.9 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/0.4859, allocations: 11.94 kB / 359.9 MB, free: 7.836 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.4875, allocations: 191.7 kB / 360.1 MB, free: 7.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.4876, allocations: 4 kB / 360.1 MB, free: 7.645 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.4887, allocations: 63.84 kB / 360.1 MB, free: 7.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.513e-05/0.4888, allocations: 23.98 kB / 360.2 MB, free: 7.559 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.0001934/0.489, allocations: 116.8 kB / 360.3 MB, free: 7.438 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001288/0.4903, allocations: 490.2 kB / 360.8 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.4905, allocations: 75.06 kB / 360.8 MB, free: 6.875 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.492, allocations: 0.5226 MB / 361.4 MB, free: 6.344 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.4921, allocations: 4 kB / 361.4 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.4921, allocations: 3.953 kB / 361.4 MB, free: 6.336 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.4921, allocations: 3.984 kB / 361.4 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004331/0.4965, allocations: 1.73 MB / 363.1 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.4965, allocations: 7.938 kB / 363.1 MB, free: 4.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.4978, allocations: 148.2 kB / 363.3 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.962e-05/0.4978, allocations: 8 kB / 363.3 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.4979, allocations: 7.938 kB / 363.3 MB, free: 4.324 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.196e-05/0.4979, allocations: 7.953 kB / 363.3 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.4979, allocations: 4 kB / 363.3 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.4995, allocations: 0.7863 MB / 364.1 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005205/0.5, allocations: 228.1 kB / 364.3 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.5002, allocations: 8 kB / 364.3 MB, free: 3.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009141/0.5011, allocations: 47.95 kB / 364.3 MB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.5013, allocations: 52.39 kB / 364.4 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.067e-05/0.5014, allocations: 20 kB / 364.4 MB, free: 3.039 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001184/0.5026, allocations: 0.5811 MB / 365 MB, free: 2.461 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5026, allocations: 4 kB / 365 MB, free: 2.457 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009813/0.5036, allocations: 163.9 kB / 365.2 MB, free: 2.297 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.00277/0.5063, allocations: 2.178 MB / 367.3 MB, free: 44 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.2103/0.7167, allocations: 0.5293 MB / 367.9 MB, free: 90.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.7167, allocations: 3.094 kB / 367.9 MB, free: 90.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008257/0.7176, allocations: 262.6 kB / 368.1 MB, free: 90.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.7187, allocations: 88.34 kB / 368.2 MB, free: 90.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/0.7229, allocations: 1.325 MB / 369.5 MB, free: 89.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.7235, allocations: 0.9816 MB / 370.5 MB, free: 89.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007786/0.7243, allocations: 294.8 kB / 370.8 MB, free: 89.07 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7243, allocations: 0 / 370.8 MB, free: 89.07 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.735/3.46, allocations: 13.93 MB / 384.7 MB, free: 86.6 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat does not exist to compare? outputFormat=mat