Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 1.823/1.823, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.217e-05/2.227e-05, allocations: 0 / 269.4 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08312/0.08317, allocations: 47.58 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.348/0.4312, allocations: 88.85 MB / 405.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.4315, allocations: 86.89 kB / 405.9 MB, free: 15.32 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.08535/0.5169, allocations: 22.07 MB / 427.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of FrontEnd: time 2e-06/0.5169, allocations: 0 / 427.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.025e-05/0.517, allocations: 24 kB / 428 MB, free: 12.8 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.002921/0.5199, allocations: 1.224 MB / 429.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.52, allocations: 12.03 kB / 429.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/0.5203, allocations: 131.1 kB / 429.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.5217, allocations: 0.655 MB / 430 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.5219, allocations: 75.75 kB / 430.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.5221, allocations: 96.78 kB / 430.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.5242, allocations: 0.9226 MB / 431.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/0.5243, allocations: 4 kB / 431.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.5244, allocations: 39.94 kB / 431.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.504e-05/0.5245, allocations: 24 kB / 431.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.5264, allocations: 0.7629 MB / 431.9 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00767/0.5341, allocations: 3.864 MB / 435.8 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/0.5367, allocations: 0.8261 MB / 436.6 MB, free: 6.105 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008309/0.5375, allocations: 379.8 kB / 437 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.834e-05/0.5376, allocations: 8.562 kB / 437 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.5376, allocations: 43 kB / 437 MB, free: 5.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=68): time 3.97e-06/0.5377, allocations: 4 kB / 437 MB, free: 5.816 MB / 346.7 MB Notification: Performance of matching and sorting (n=86): time 0.004788/0.5425, allocations: 1.644 MB / 438.7 MB, free: 4.492 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.5426, allocations: 89.5 kB / 438.8 MB, free: 4.387 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.5441, allocations: 0.8082 MB / 439.6 MB, free: 3.789 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-05/0.5442, allocations: 38.33 kB / 439.6 MB, free: 3.754 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004928/0.5447, allocations: 0.5023 MB / 440.1 MB, free: 3.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/0.545, allocations: 291.9 kB / 440.4 MB, free: 3.152 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.5451, allocations: 17.5 kB / 440.4 MB, free: 3.148 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.5453, allocations: 344.5 kB / 440.7 MB, free: 2.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007526/0.5461, allocations: 297.8 kB / 441 MB, free: 2.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009062/0.547, allocations: 452.1 kB / 441.5 MB, free: 2.305 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000835/0.5479, allocations: 342.4 kB / 441.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.825e-06/0.5479, allocations: 0 / 441.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002256/0.5501, allocations: 0.9109 MB / 442.7 MB, free: 1.379 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.5502, allocations: 7.281 kB / 442.7 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.5502, allocations: 8 kB / 442.7 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.397e-05/0.5502, allocations: 8 kB / 442.7 MB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.5522, allocations: 352 kB / 443.1 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.458e-05/0.5522, allocations: 8 kB / 443.1 MB, free: 1.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.5534, allocations: 127.8 kB / 443.2 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.5536, allocations: 35.98 kB / 443.3 MB, free: 0.8477 MB / 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.0002723/0.5539, allocations: 163.5 kB / 443.4 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.5541, allocations: 102.8 kB / 443.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000973/0.5551, allocations: 366.4 kB / 443.9 MB, free: 220 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.5551, allocations: 12 kB / 443.9 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.425e-06/0.5552, allocations: 0 / 443.9 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.5552, allocations: 3.984 kB / 443.9 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006402/0.5616, allocations: 2.861 MB / 446.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.322e-05/0.5617, allocations: 12 kB / 446.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.563, allocations: 267.6 kB / 447 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.857e-05/0.5631, allocations: 19.98 kB / 447 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.128e-05/0.5632, allocations: 32 kB / 447.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.691e-05/0.5632, allocations: 27.81 kB / 447.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-05/0.5632, allocations: 15.94 kB / 447.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.5657, allocations: 1.68 MB / 448.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004097/0.5661, allocations: 211.8 kB / 449 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.5663, allocations: 28 kB / 449 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.5674, allocations: 83.94 kB / 449.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.5676, allocations: 95.64 kB / 449.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.67e-05/0.5677, allocations: 36 kB / 449.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001272/0.569, allocations: 0.6241 MB / 449.9 MB, free: 9.562 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-07/0.569, allocations: 0 / 449.9 MB, free: 9.562 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001242/0.5702, allocations: 236 kB / 450.1 MB, free: 9.332 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.001335/0.5716, allocations: 399.2 kB / 450.5 MB, free: 8.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.5734, allocations: 0.6987 MB / 451.2 MB, free: 8.289 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.199e-06/0.5734, allocations: 0 / 451.2 MB, free: 8.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009942/0.5744, allocations: 399.3 kB / 451.6 MB, free: 7.902 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.5756, allocations: 187.5 kB / 451.8 MB, free: 7.723 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.5794, allocations: 1.55 MB / 453.3 MB, free: 6.008 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009639/0.5804, allocations: 1.061 MB / 454.4 MB, free: 4.922 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008492/0.5813, allocations: 127.2 kB / 454.5 MB, free: 4.793 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/0.5817, allocations: 75.41 kB / 454.6 MB, free: 4.719 MB / 362.7 MB Notification: Performance of SimCode: time 1.72e-06/0.5817, allocations: 0 / 454.6 MB, free: 4.719 MB / 362.7 MB Notification: Performance of Templates: time 0.02947/0.6112, allocations: 10.56 MB / 465.1 MB, free: 10.17 MB / 378.7 MB