Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.422e-05, allocations: 4 kB / 292.8 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 50.41 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5244/0.6323, allocations: 92.06 MB / 435.2 MB, free: 1.891 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003918/0.6328, allocations: 85.52 kB / 435.3 MB, free: 1.848 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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.1257/0.7584, allocations: 22.69 MB / 458 MB, free: 14.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7585, allocations: 4 kB / 458 MB, free: 14.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.072e-05/0.7586, allocations: 28 kB / 458 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.003968/0.7626, allocations: 1.225 MB / 459.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.7626, allocations: 12.03 kB / 459.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003066/0.763, allocations: 143.2 kB / 459.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000359/0.7633, allocations: 134.5 kB / 459.5 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.765, allocations: 0.6581 MB / 460.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.7652, allocations: 76.25 kB / 460.3 MB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002597/0.7654, allocations: 98.78 kB / 460.4 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/0.768, allocations: 0.9251 MB / 461.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/0.768, allocations: 0 / 461.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.7682, allocations: 41.5 kB / 461.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.7682, allocations: 24 kB / 461.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/0.7705, allocations: 0.7524 MB / 462.1 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009702/0.7802, allocations: 3.868 MB / 466 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003497/0.7837, allocations: 0.8303 MB / 466.8 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.7848, allocations: 378.3 kB / 467.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.761e-05/0.7849, allocations: 16.55 kB / 467.2 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.325e-05/0.785, allocations: 39.06 kB / 467.2 MB, free: 6.168 MB / 378.7 MB Notification: Performance of pre-optimization done (n=68): time 6.182e-06/0.785, allocations: 0 / 467.2 MB, free: 6.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=86): time 0.009913/0.7949, allocations: 1.646 MB / 468.9 MB, free: 4.523 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.311e-05/0.795, allocations: 89.53 kB / 469 MB, free: 4.418 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002322/0.7974, allocations: 0.8129 MB / 469.8 MB, free: 3.598 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.7976, allocations: 37.7 kB / 469.8 MB, free: 3.555 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005556/0.7982, allocations: 0.503 MB / 470.3 MB, free: 3.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003634/0.7985, allocations: 287.8 kB / 470.6 MB, free: 2.758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.642e-05/0.7986, allocations: 20 kB / 470.6 MB, free: 2.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.7988, allocations: 349.8 kB / 471 MB, free: 2.391 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009294/0.7998, allocations: 294 kB / 471.2 MB, free: 2.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.8009, allocations: 460 kB / 471.7 MB, free: 1.602 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.8019, allocations: 343.1 kB / 472 MB, free: 1.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.8019, allocations: 0 / 472 MB, free: 1.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002613/0.8045, allocations: 0.9129 MB / 472.9 MB, free: 360 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.8046, allocations: 5.406 kB / 472.9 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.8046, allocations: 4 kB / 472.9 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-05/0.8046, allocations: 12 kB / 473 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/0.8075, allocations: 351.6 kB / 473.3 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-05/0.8075, allocations: 11.94 kB / 473.3 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.8093, allocations: 119.8 kB / 473.4 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.8095, allocations: 31.98 kB / 473.5 MB, free: 15.83 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.0002836/0.8098, allocations: 164.7 kB / 473.6 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.81, allocations: 94.88 kB / 473.7 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.8112, allocations: 374.4 kB / 474.1 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.8112, allocations: 8 kB / 474.1 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.8112, allocations: 0 / 474.1 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.8112, allocations: 3.984 kB / 474.1 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007899/0.8191, allocations: 2.873 MB / 477 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/0.8192, allocations: 12 kB / 477 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002112/0.8213, allocations: 272.4 kB / 477.2 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.204e-05/0.8214, allocations: 16 kB / 477.3 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001492/0.8216, allocations: 31.98 kB / 477.3 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.124e-05/0.8216, allocations: 27.86 kB / 477.3 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.745e-05/0.8217, allocations: 15.94 kB / 477.3 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/0.8244, allocations: 1.677 MB / 479 MB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000539/0.825, allocations: 207.9 kB / 479.2 MB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/0.8254, allocations: 28 kB / 479.2 MB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/0.827, allocations: 79.94 kB / 479.3 MB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/0.8273, allocations: 99.62 kB / 479.4 MB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.8274, allocations: 32 kB / 479.4 MB, free: 9.168 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001489/0.8289, allocations: 0.6241 MB / 480.1 MB, free: 8.547 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.829, allocations: 0 / 480.1 MB, free: 8.547 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001668/0.8307, allocations: 243.9 kB / 480.3 MB, free: 8.309 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.005842/0.8365, allocations: 5.683 MB / 486 MB, free: 2.387 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002241/0.8388, allocations: 0.6879 MB / 486.7 MB, free: 1.695 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.752e-05/0.8389, allocations: 4 kB / 486.7 MB, free: 1.691 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.84, allocations: 394.2 kB / 487.1 MB, free: 1.309 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.8418, allocations: 191.2 kB / 487.3 MB, free: 1.121 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/0.8474, allocations: 1.727 MB / 489 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008715/0.8484, allocations: 1.057 MB / 490 MB, free: 14.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001098/0.8495, allocations: 131.2 kB / 490.2 MB, free: 14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009005/0.8504, allocations: 391.3 kB / 490.5 MB, free: 13.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/0.8504, allocations: 4 kB / 490.6 MB, free: 13.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0827/0.9331, allocations: 19.22 MB / 0.4978 GB, free: 10.62 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002968/0.9335, allocations: 229.3 kB / 0.498 GB, free: 10.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.243/4.177, allocations: 0 / 0.498 GB, free: 10.36 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat does not exist to compare? outputFormat=mat