Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.018/2.018, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.282e-05, allocations: 7.984 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09789/0.09795, allocations: 44.51 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4291/0.5271, allocations: 84.03 MB / 384 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/0.5275, allocations: 89.14 kB / 384.1 MB, free: 12.73 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Magnetic/FluxTubes.mo:1375:11-1375:91:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.08512/0.6127, allocations: 21.33 MB / 405.4 MB, free: 8.414 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6127, allocations: 0 / 405.4 MB, free: 8.414 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.101e-05/0.6128, allocations: 23.22 kB / 405.4 MB, free: 8.414 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003914/0.6167, allocations: 1.26 MB / 406.7 MB, free: 7.562 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.6168, allocations: 11.62 kB / 406.7 MB, free: 7.562 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004001/0.6172, allocations: 144.5 kB / 406.8 MB, free: 7.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003659/0.6176, allocations: 128.7 kB / 407 MB, free: 7.438 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.6191, allocations: 0.6449 MB / 407.6 MB, free: 7.062 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.6194, allocations: 78.61 kB / 407.7 MB, free: 7.055 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.6196, allocations: 94.44 kB / 407.8 MB, free: 7.055 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.622, allocations: 0.9436 MB / 408.7 MB, free: 6.859 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.418e-05/0.6221, allocations: 7.781 kB / 408.7 MB, free: 6.855 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.6223, allocations: 41.12 kB / 408.8 MB, free: 6.852 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.6223, allocations: 23.34 kB / 408.8 MB, free: 6.852 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.6244, allocations: 0.7695 MB / 409.6 MB, free: 6.801 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008923/0.6334, allocations: 3.853 MB / 413.4 MB, free: 4.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003205/0.6366, allocations: 0.845 MB / 414.3 MB, free: 4.656 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.6378, allocations: 367.1 kB / 414.6 MB, free: 4.629 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.644e-05/0.6379, allocations: 8.438 kB / 414.6 MB, free: 4.629 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.6379, allocations: 50.05 kB / 414.7 MB, free: 4.582 MB / 314.7 MB Notification: Performance of pre-optimization done (n=68): time 3.697e-06/0.6379, allocations: 3.938 kB / 414.7 MB, free: 4.578 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.005774/0.6437, allocations: 1.635 MB / 416.3 MB, free: 4.031 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.6438, allocations: 89.2 kB / 416.4 MB, free: 3.938 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.6454, allocations: 0.8053 MB / 417.2 MB, free: 3.734 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.6455, allocations: 40.55 kB / 417.3 MB, free: 3.703 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/0.6459, allocations: 0.5026 MB / 417.8 MB, free: 3.418 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.6462, allocations: 297.8 kB / 418 MB, free: 3.203 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.003e-05/0.6463, allocations: 24.06 kB / 418.1 MB, free: 3.199 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.6464, allocations: 341.4 kB / 418.4 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008493/0.6472, allocations: 298.3 kB / 418.7 MB, free: 2.875 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008969/0.6481, allocations: 460.3 kB / 419.1 MB, free: 2.707 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000911/0.6491, allocations: 365.5 kB / 419.5 MB, free: 2.633 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.6491, allocations: 0 / 419.5 MB, free: 2.633 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002436/0.6515, allocations: 0.9557 MB / 420.5 MB, free: 2.422 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/0.6517, allocations: 37.47 kB / 420.5 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.6517, allocations: 3.875 kB / 420.5 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.193e-05/0.6517, allocations: 8.25 kB / 420.5 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002711/0.6544, allocations: 353.4 kB / 420.9 MB, free: 2.301 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.492e-05/0.6545, allocations: 11.86 kB / 420.9 MB, free: 2.297 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.6563, allocations: 116.6 kB / 421 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.6565, allocations: 38.02 kB / 421 MB, free: 2.262 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.0002613/0.6568, allocations: 152.5 kB / 421.2 MB, free: 2.145 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/0.657, allocations: 97.25 kB / 421.3 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.658, allocations: 379.5 kB / 421.6 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.6581, allocations: 15.34 kB / 421.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.6581, allocations: 3.938 kB / 421.6 MB, free: 1.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.6581, allocations: 7.969 kB / 421.7 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005941/0.6641, allocations: 2.886 MB / 424.5 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.6641, allocations: 11.44 kB / 424.6 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/0.666, allocations: 267.4 kB / 424.8 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.179e-05/0.6661, allocations: 15.53 kB / 424.8 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-05/0.6661, allocations: 29.03 kB / 424.9 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.861e-05/0.6662, allocations: 19.55 kB / 424.9 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/0.6662, allocations: 19.69 kB / 424.9 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.6686, allocations: 1.677 MB / 426.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004218/0.6691, allocations: 206 kB / 426.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.6693, allocations: 36.36 kB / 426.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.6706, allocations: 76.61 kB / 426.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.6708, allocations: 93.75 kB / 427 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.781e-05/0.6709, allocations: 42.55 kB / 427 MB, free: 14.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001258/0.6722, allocations: 0.6148 MB / 427.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6722, allocations: 3.938 kB / 427.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001507/0.6737, allocations: 234.8 kB / 427.9 MB, free: 14.73 MB / 330.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.004811/0.6786, allocations: 5.556 MB / 433.4 MB, free: 9.566 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002112/0.6807, allocations: 0.7733 MB / 434.2 MB, free: 9.207 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/0.6808, allocations: 7.781 kB / 434.2 MB, free: 9.203 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.6819, allocations: 402.8 kB / 434.6 MB, free: 9.023 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/0.6837, allocations: 184.6 kB / 434.8 MB, free: 8.934 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005529/0.6893, allocations: 1.733 MB / 436.5 MB, free: 7.719 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008294/0.6901, allocations: 1.054 MB / 437.6 MB, free: 6.859 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001153/0.6913, allocations: 127.9 kB / 437.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000915/0.6922, allocations: 397.5 kB / 438.1 MB, free: 6.461 MB / 330.7 MB Notification: Performance of SimCode: time 1.253e-06/0.6923, allocations: 0 / 438.1 MB, free: 6.461 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06675/0.759, allocations: 19.01 MB / 457.1 MB, free: 4.949 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003509/0.7594, allocations: 221.9 kB / 457.3 MB, free: 4.727 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.226/3.985, allocations: 0 / 457.3 MB, free: 4.727 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat does not exist to compare? outputFormat=mat