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.005/2.005, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.179e-05, allocations: 12 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3257, allocations: 44.5 MB / 294.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.156/0.4817, allocations: 83.37 MB / 377.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/0.4821, allocations: 87.94 kB / 377.7 MB, free: 14.46 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.0968/0.5789, allocations: 21.12 MB / 398.8 MB, free: 9.258 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.579, allocations: 0 / 398.8 MB, free: 9.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.358e-05/0.5791, allocations: 20 kB / 398.8 MB, free: 9.238 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.004309/0.5834, allocations: 1.26 MB / 400.1 MB, free: 7.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.5835, allocations: 12.03 kB / 400.1 MB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005342/0.584, allocations: 126.5 kB / 400.2 MB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.5859, allocations: 0.6445 MB / 400.9 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.5861, allocations: 46 kB / 400.9 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002526/0.5864, allocations: 56 kB / 401 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002304/0.5887, allocations: 0.7225 MB / 401.7 MB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/0.5911, allocations: 0.8029 MB / 402.5 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.947e-05/0.5912, allocations: 3.938 kB / 402.5 MB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.5913, allocations: 4 kB / 402.5 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/0.5913, allocations: 20 kB / 402.5 MB, free: 5.438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009667/0.601, allocations: 3.678 MB / 406.2 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003278/0.6043, allocations: 0.8069 MB / 407 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009843/0.6054, allocations: 346.7 kB / 407.3 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-05/0.6055, allocations: 20.5 kB / 407.4 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.6055, allocations: 39.12 kB / 407.4 MB, free: 352 kB / 346.7 MB Notification: Performance of pre-optimization done (n=68): time 5.861e-06/0.6055, allocations: 4 kB / 407.4 MB, free: 348 kB / 346.7 MB Notification: Performance of matching and sorting (n=86): time 0.004768/0.6103, allocations: 1.405 MB / 408.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.6105, allocations: 85.55 kB / 408.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.6119, allocations: 0.6794 MB / 409.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.6121, allocations: 29.7 kB / 409.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005168/0.6126, allocations: 0.5145 MB / 410.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003466/0.613, allocations: 283.8 kB / 410.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.417e-05/0.6131, allocations: 0 / 410.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.6133, allocations: 390.8 kB / 410.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008139/0.6142, allocations: 278.6 kB / 411 MB, free: 12.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009388/0.6151, allocations: 450.9 kB / 411.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008898/0.616, allocations: 322 kB / 411.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.616, allocations: 0 / 411.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002447/0.6185, allocations: 0.8373 MB / 412.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.963e-05/0.6186, allocations: 37.64 kB / 412.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.6186, allocations: 4 kB / 412.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.203e-05/0.6187, allocations: 8 kB / 412.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/0.6215, allocations: 348 kB / 413 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.457e-05/0.6215, allocations: 11.95 kB / 413 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.6233, allocations: 99.91 kB / 413.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.6235, allocations: 39.98 kB / 413.2 MB, free: 10.45 MB / 362.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.0002903/0.6238, allocations: 140.4 kB / 413.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001827/0.6256, allocations: 0.62 MB / 413.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/0.6259, allocations: 86.97 kB / 414 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.6269, allocations: 329.2 kB / 414.3 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.627, allocations: 8 kB / 414.3 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.627, allocations: 4 kB / 414.3 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.627, allocations: 3.984 kB / 414.3 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006642/0.6336, allocations: 2.664 MB / 417 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-05/0.6337, allocations: 15.95 kB / 417 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001985/0.6357, allocations: 267.7 kB / 417.3 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.063e-05/0.6358, allocations: 16 kB / 417.3 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.114e-05/0.6359, allocations: 19.98 kB / 417.3 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-05/0.6359, allocations: 23.88 kB / 417.3 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-05/0.6359, allocations: 19.94 kB / 417.4 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.6383, allocations: 1.613 MB / 419 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.6388, allocations: 196 kB / 419.2 MB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.639, allocations: 19.98 kB / 419.2 MB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.6404, allocations: 63.95 kB / 419.3 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/0.6406, allocations: 99.62 kB / 419.3 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.753e-05/0.6407, allocations: 39.98 kB / 419.4 MB, free: 3.547 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001074/0.6418, allocations: 0.5148 MB / 419.9 MB, free: 3.039 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6418, allocations: 3.938 kB / 419.9 MB, free: 3.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00147/0.6433, allocations: 200 kB / 420.1 MB, free: 2.84 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.2563/0.8996, allocations: 5.464 MB / 425.6 MB, free: 98.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.9017, allocations: 0.72 MB / 426.3 MB, free: 98.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/0.9017, allocations: 1.5 kB / 426.3 MB, free: 98.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.9028, allocations: 380.3 kB / 426.7 MB, free: 98.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.9046, allocations: 160.2 kB / 426.8 MB, free: 98.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005573/0.9103, allocations: 1.633 MB / 428.4 MB, free: 97.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007689/0.9111, allocations: 1.054 MB / 429.5 MB, free: 97.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001196/0.9123, allocations: 124.9 kB / 429.6 MB, free: 97.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009021/0.9132, allocations: 388.9 kB / 430 MB, free: 97.03 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.9132, allocations: 0 / 430 MB, free: 97.03 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07692/0.9902, allocations: 16.91 MB / 446.9 MB, free: 94.79 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/0.9905, allocations: 199.1 kB / 447.1 MB, free: 94.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.135/4.126, allocations: 0 / 447.1 MB, free: 94.51 MB / 362.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