Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.044/2.044, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.182e-05/3.203e-05, allocations: 4 kB / 292.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 50.41 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4726/0.5888, allocations: 92.04 MB / 434.7 MB, free: 1.895 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004336/0.5893, allocations: 89.56 kB / 434.8 MB, free: 1.848 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Magnetic/FluxTubes/Examples/MovingCoilActuator/Components/ConstantActuator.mo:67:3-67:83:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.2/0.7892, allocations: 22.7 MB / 457.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.7893, allocations: 0 / 457.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001614/0.7895, allocations: 24 kB / 457.5 MB, free: 14.75 MB / 378.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.006617/0.7961, allocations: 1.231 MB / 458.7 MB, free: 13.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.7962, allocations: 8.031 kB / 458.7 MB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006613/0.7969, allocations: 145.1 kB / 458.9 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007364/0.7977, allocations: 126.5 kB / 459 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002853/0.8006, allocations: 0.6627 MB / 459.7 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003376/0.8009, allocations: 81.42 kB / 459.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005255/0.8015, allocations: 98.59 kB / 459.8 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004708/0.8062, allocations: 0.92 MB / 460.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.152e-05/0.8064, allocations: 3.984 kB / 460.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002765/0.8067, allocations: 40.5 kB / 460.8 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.327e-05/0.8068, allocations: 24 kB / 460.8 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004166/0.811, allocations: 0.759 MB / 461.6 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01697/0.828, allocations: 3.868 MB / 465.5 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005745/0.8338, allocations: 0.8303 MB / 466.3 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.8357, allocations: 370.4 kB / 466.7 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.8358, allocations: 12.55 kB / 466.7 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/0.8359, allocations: 43.12 kB / 466.7 MB, free: 6.156 MB / 378.7 MB Notification: Performance of pre-optimization done (n=68): time 5.831e-06/0.8359, allocations: 0 / 466.7 MB, free: 6.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=86): time 0.01091/0.8469, allocations: 1.638 MB / 468.3 MB, free: 4.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.847, allocations: 89.53 kB / 468.4 MB, free: 4.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003344/0.8504, allocations: 0.8128 MB / 469.2 MB, free: 3.594 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002753/0.8508, allocations: 45.69 kB / 469.3 MB, free: 3.543 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008696/0.8516, allocations: 0.5068 MB / 469.8 MB, free: 3.027 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006729/0.8524, allocations: 291.8 kB / 470.1 MB, free: 2.738 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.8526, allocations: 20 kB / 470.1 MB, free: 2.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002559/0.8529, allocations: 349.8 kB / 470.4 MB, free: 2.371 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/0.8546, allocations: 302 kB / 470.7 MB, free: 2.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001954/0.8566, allocations: 452.1 kB / 471.2 MB, free: 1.582 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/0.8585, allocations: 335.1 kB / 471.5 MB, free: 1.258 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/0.8586, allocations: 8 kB / 471.5 MB, free: 1.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004864/0.8635, allocations: 0.9086 MB / 472.4 MB, free: 344 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.8636, allocations: 9.406 kB / 472.4 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.8637, allocations: 4.5 kB / 472.4 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.714e-05/0.8637, allocations: 12 kB / 472.4 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004574/0.8683, allocations: 343.6 kB / 472.8 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-05/0.8684, allocations: 15.88 kB / 472.8 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003111/0.8716, allocations: 119.8 kB / 472.9 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003381/0.872, allocations: 39.98 kB / 473 MB, free: 15.8 MB / 394.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 (121): * Single equations (assignments): 121 * 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 prepare postOptimizeDAE: time 0.0004875/0.8725, allocations: 156.7 kB / 473.1 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005658/0.8731, allocations: 98.88 kB / 473.2 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.875, allocations: 370.4 kB / 473.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/0.875, allocations: 8 kB / 473.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/0.8751, allocations: 4 kB / 473.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.843e-05/0.8751, allocations: 3.984 kB / 473.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.8878, allocations: 2.865 MB / 476.4 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.703e-05/0.8879, allocations: 8 kB / 476.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003283/0.8912, allocations: 272 kB / 476.7 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.996e-05/0.8913, allocations: 16 kB / 476.7 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002205/0.8915, allocations: 35.98 kB / 476.8 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-05/0.8916, allocations: 19.94 kB / 476.8 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.829e-05/0.8916, allocations: 15.94 kB / 476.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004374/0.896, allocations: 1.677 MB / 478.5 MB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008402/0.8969, allocations: 203.9 kB / 478.7 MB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005576/0.8975, allocations: 35.98 kB / 478.7 MB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/0.9001, allocations: 83.94 kB / 478.8 MB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000369/0.9005, allocations: 91.7 kB / 478.9 MB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/0.9007, allocations: 43.97 kB / 478.9 MB, free: 9.152 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002277/0.903, allocations: 0.6241 MB / 479.6 MB, free: 8.531 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.9031, allocations: 0 / 479.6 MB, free: 8.531 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00255/0.9056, allocations: 239.9 kB / 479.8 MB, free: 8.297 MB / 394.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.008103/0.9138, allocations: 5.679 MB / 485.5 MB, free: 2.379 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00355/0.9174, allocations: 0.6986 MB / 486.2 MB, free: 1.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.213e-05/0.9175, allocations: 0 / 486.2 MB, free: 1.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002007/0.9195, allocations: 398.8 kB / 486.6 MB, free: 1.293 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/0.9225, allocations: 181.6 kB / 486.7 MB, free: 1.117 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009625/0.9322, allocations: 1.727 MB / 488.5 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001567/0.9339, allocations: 1.061 MB / 489.5 MB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001863/0.9358, allocations: 131.2 kB / 489.7 MB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/0.9374, allocations: 395.3 kB / 490 MB, free: 13.61 MB / 410.7 MB Notification: Performance of SimCode: time 2.535e-06/0.9375, allocations: 0 / 490 MB, free: 13.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07777/1.015, allocations: 19.22 MB / 0.4973 GB, free: 10.61 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000534/1.016, allocations: 229.4 kB / 0.4975 GB, free: 10.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.434/4.449, allocations: 0 / 0.4975 GB, free: 10.34 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat does not exist to compare? outputFormat=mat