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.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 1.831/1.831, allocations: 194.9 MB / 208 MB, free: 3.27 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.342e-05/2.353e-05, allocations: 0 / 255.4 MB, free: 2.742 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07597/0.07601, allocations: 44.5 MB / 299.9 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.38/0.4561, allocations: 84.04 MB / 383.9 MB, free: 21.19 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004618/0.4566, allocations: 88.08 kB / 384 MB, free: 21.19 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.07954/0.5362, allocations: 21.33 MB / 405.3 MB, free: 16.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5362, allocations: 0 / 405.3 MB, free: 16.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.497e-05/0.5363, allocations: 27.61 kB / 405.4 MB, free: 16.98 MB / 314.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.003689/0.54, allocations: 1.244 MB / 406.6 MB, free: 16.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.675e-05/0.5401, allocations: 11.72 kB / 406.6 MB, free: 16.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006096/0.5408, allocations: 128.9 kB / 406.7 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002526/0.5433, allocations: 0.6526 MB / 407.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002618/0.5436, allocations: 75.16 kB / 407.5 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003587/0.544, allocations: 93.31 kB / 407.6 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003999/0.548, allocations: 0.9264 MB / 408.5 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.03e-05/0.5481, allocations: 7.891 kB / 408.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/0.5484, allocations: 38.5 kB / 408.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.705e-05/0.5485, allocations: 23.44 kB / 408.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003733/0.5522, allocations: 0.7551 MB / 409.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/0.5652, allocations: 3.869 MB / 413.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004553/0.5698, allocations: 0.842 MB / 414 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.5714, allocations: 368.1 kB / 414.4 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.556e-05/0.5715, allocations: 16.36 kB / 414.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.5716, allocations: 46.89 kB / 414.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=68): time 8.616e-06/0.5716, allocations: 0 / 414.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.008444/0.5801, allocations: 1.63 MB / 416.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.5802, allocations: 89.36 kB / 416.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002583/0.5828, allocations: 0.806 MB / 417 MB, free: 12.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.5829, allocations: 44.17 kB / 417 MB, free: 12.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005602/0.5835, allocations: 0.5011 MB / 417.5 MB, free: 12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003822/0.5839, allocations: 298.3 kB / 417.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.5841, allocations: 18.22 kB / 417.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5843, allocations: 343.6 kB / 418.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.5857, allocations: 299.5 kB / 418.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.5873, allocations: 454 kB / 418.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.5889, allocations: 365.9 kB / 419.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.824e-06/0.589, allocations: 0 / 419.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.004041/0.593, allocations: 0.9436 MB / 420.2 MB, free: 11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/0.5931, allocations: 37.48 kB / 420.2 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.5932, allocations: 7.734 kB / 420.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.548e-05/0.5932, allocations: 7.844 kB / 420.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003464/0.5967, allocations: 346.4 kB / 420.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-05/0.5968, allocations: 15.73 kB / 420.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/0.5991, allocations: 118.5 kB / 420.7 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/0.5993, allocations: 34.3 kB / 420.7 MB, free: 10.84 MB / 314.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.0003651/0.5997, allocations: 157.7 kB / 420.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004519/0.6002, allocations: 105.1 kB / 421 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.6018, allocations: 370.4 kB / 421.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/0.6019, allocations: 11.77 kB / 421.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.6019, allocations: 3.906 kB / 421.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.196e-05/0.602, allocations: 3.984 kB / 421.4 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.6122, allocations: 2.85 MB / 424.2 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/0.6123, allocations: 7.719 kB / 424.2 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002447/0.6147, allocations: 273.1 kB / 424.5 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.347e-05/0.6148, allocations: 15.66 kB / 424.5 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/0.615, allocations: 30.28 kB / 424.6 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-05/0.615, allocations: 22.39 kB / 424.6 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.112e-05/0.6151, allocations: 19.59 kB / 424.6 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/0.6183, allocations: 1.676 MB / 426.3 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005992/0.6189, allocations: 208.6 kB / 426.5 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003496/0.6193, allocations: 34.36 kB / 426.5 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002084/0.6214, allocations: 84.52 kB / 426.6 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.6217, allocations: 96.73 kB / 426.7 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/0.6219, allocations: 42.33 kB / 426.7 MB, free: 7.449 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00227/0.6242, allocations: 0.6145 MB / 427.3 MB, free: 7.316 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.384e-06/0.6242, allocations: 0 / 427.3 MB, free: 7.316 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002302/0.6266, allocations: 237.9 kB / 427.6 MB, free: 7.312 MB / 314.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.0008091/0.6274, allocations: 273.5 kB / 427.8 MB, free: 7.141 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.629, allocations: 0.75 MB / 428.6 MB, free: 7.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.6291, allocations: 3.938 kB / 428.6 MB, free: 7.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000889/0.63, allocations: 389.7 kB / 429 MB, free: 6.977 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.6313, allocations: 191.2 kB / 429.2 MB, free: 6.922 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.6346, allocations: 1.551 MB / 430.7 MB, free: 6.055 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.6353, allocations: 1.049 MB / 431.8 MB, free: 5.203 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009157/0.6362, allocations: 125.4 kB / 431.9 MB, free: 5.141 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/0.6366, allocations: 79.81 kB / 432 MB, free: 5.125 MB / 314.7 MB Notification: Performance of SimCode: time 1.868e-06/0.6366, allocations: 0 / 432 MB, free: 5.125 MB / 314.7 MB Notification: Performance of Templates: time 0.02627/0.6629, allocations: 10.36 MB / 442.3 MB, free: 12.8 MB / 330.7 MB