Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.924/1.924, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.458e-05, allocations: 4 kB / 269.5 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09649/0.09655, allocations: 47.58 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4225/0.5191, allocations: 88.86 MB / 405.9 MB, free: 14.9 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.5195, allocations: 87.5 kB / 406 MB, free: 14.85 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Magnetic/FluxTubes.mo:1363:11-1363: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.1455/0.665, allocations: 22.07 MB / 428 MB, free: 12.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.665, allocations: 0 / 428 MB, free: 12.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.003853/0.669, allocations: 20 kB / 428.1 MB, free: 12.35 MB / 346.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.01019/0.6792, allocations: 1.23 MB / 429.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.385e-05/0.6793, allocations: 8.031 kB / 429.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005137/0.6798, allocations: 149.4 kB / 429.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005396/0.6803, allocations: 130.5 kB / 429.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006348/0.6867, allocations: 0.6621 MB / 430.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002903/0.6871, allocations: 77.11 kB / 430.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003603/0.6874, allocations: 99.34 kB / 430.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003759/0.6912, allocations: 0.9172 MB / 431.3 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-05/0.6913, allocations: 0 / 431.3 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.6915, allocations: 38.75 kB / 431.4 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-05/0.6916, allocations: 24 kB / 431.4 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01187/0.7035, allocations: 0.7685 MB / 432.1 MB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02426/0.7278, allocations: 3.858 MB / 436 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003898/0.7318, allocations: 0.8379 MB / 436.8 MB, free: 5.547 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.733, allocations: 373 kB / 437.2 MB, free: 5.316 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.7331, allocations: 11 kB / 437.2 MB, free: 5.309 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.7332, allocations: 40.75 kB / 437.3 MB, free: 5.266 MB / 346.7 MB Notification: Performance of pre-optimization done (n=68): time 3.958e-06/0.7332, allocations: 0 / 437.3 MB, free: 5.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=86): time 0.00647/0.7397, allocations: 1.649 MB / 438.9 MB, free: 3.938 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.182e-05/0.7398, allocations: 93.5 kB / 439 MB, free: 3.828 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/0.7416, allocations: 0.8077 MB / 439.8 MB, free: 3.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001635/0.7418, allocations: 39.2 kB / 439.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004917/0.7423, allocations: 0.5085 MB / 440.4 MB, free: 2.836 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/0.7427, allocations: 290.8 kB / 440.6 MB, free: 2.586 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.7428, allocations: 19.88 kB / 440.7 MB, free: 2.582 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.743, allocations: 343.8 kB / 441 MB, free: 2.258 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008986/0.7439, allocations: 297 kB / 441.3 MB, free: 2.094 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.745, allocations: 452.3 kB / 441.7 MB, free: 1.742 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.746, allocations: 346.1 kB / 442.1 MB, free: 1.535 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.746, allocations: 0 / 442.1 MB, free: 1.535 MB / 346.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002543/0.7486, allocations: 0.9061 MB / 443 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.7486, allocations: 4 kB / 443 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.7486, allocations: 11.98 kB / 443 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.255e-05/0.7487, allocations: 8 kB / 443 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/0.7516, allocations: 350.8 kB / 443.3 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.198e-05/0.7517, allocations: 15.92 kB / 443.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/0.7536, allocations: 126.3 kB / 443.5 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.7537, allocations: 39.25 kB / 443.5 MB, free: 384 kB / 346.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.0002845/0.754, allocations: 164.5 kB / 443.7 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.7543, allocations: 94.88 kB / 443.8 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.7554, allocations: 358.9 kB / 444.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/0.7555, allocations: 8 kB / 444.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.7555, allocations: 3.938 kB / 444.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.7555, allocations: 7.969 kB / 444.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007391/0.7629, allocations: 2.853 MB / 447 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/0.763, allocations: 12 kB / 447 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/0.765, allocations: 272.5 kB / 447.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.312e-05/0.7651, allocations: 16 kB / 447.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.837e-05/0.7652, allocations: 39.94 kB / 447.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-05/0.7653, allocations: 15.94 kB / 447.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.675e-05/0.7653, allocations: 19.88 kB / 447.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002712/0.768, allocations: 1.68 MB / 449 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004572/0.7685, allocations: 203.9 kB / 449.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.7688, allocations: 31.98 kB / 449.3 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/0.7702, allocations: 91.83 kB / 449.4 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/0.7704, allocations: 87.7 kB / 449.4 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.449e-05/0.7705, allocations: 35.98 kB / 449.5 MB, free: 9.812 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001416/0.772, allocations: 0.6241 MB / 450.1 MB, free: 9.191 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.772, allocations: 0 / 450.1 MB, free: 9.191 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001465/0.7735, allocations: 240 kB / 450.3 MB, free: 8.957 MB / 362.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.005286/0.7788, allocations: 5.684 MB / 456 MB, free: 2.992 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002153/0.781, allocations: 0.6946 MB / 456.7 MB, free: 2.297 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.781, allocations: 0 / 456.7 MB, free: 2.297 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.7822, allocations: 402.1 kB / 457.1 MB, free: 1.906 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.784, allocations: 176.2 kB / 457.3 MB, free: 1.738 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007397/0.7914, allocations: 1.715 MB / 459 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.7926, allocations: 1.061 MB / 460.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001169/0.7938, allocations: 127.2 kB / 460.2 MB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009645/0.7947, allocations: 391.3 kB / 460.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/0.7948, allocations: 0 / 460.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06551/0.8603, allocations: 19.24 MB / 479.8 MB, free: 11.02 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003647/0.8607, allocations: 228.6 kB / 480 MB, free: 10.79 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/3.82, allocations: 0 / 480 MB, free: 10.79 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat does not exist to compare? outputFormat=mat