Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadModel(Modelica): time 1.871/1.871, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.577e-05/2.583e-05, allocations: 4 kB / 292.2 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08708/0.08713, allocations: 50.41 MB / 342.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3644/0.4515, allocations: 89.34 MB / 431.9 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.4518, allocations: 82.7 kB / 432 MB, free: 4.918 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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.1477/0.5995, allocations: 36.89 MB / 468.9 MB, free: 4.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.055e-06/0.5995, allocations: 4 kB / 468.9 MB, free: 4.359 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.305e-05/0.5996, allocations: 24 kB / 468.9 MB, free: 4.336 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002844/0.6025, allocations: 1.131 MB / 470 MB, free: 3.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.6025, allocations: 12.03 kB / 470 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002819/0.6028, allocations: 122.5 kB / 470.2 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.6042, allocations: 0.5979 MB / 470.8 MB, free: 2.383 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.6044, allocations: 81.98 kB / 470.8 MB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/0.6046, allocations: 103.9 kB / 470.9 MB, free: 2.199 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.6069, allocations: 0.9308 MB / 471.9 MB, free: 1.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.847e-05/0.607, allocations: 4 kB / 471.9 MB, free: 1.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.6071, allocations: 39.94 kB / 471.9 MB, free: 1.207 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.6072, allocations: 20 kB / 471.9 MB, free: 1.188 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.6092, allocations: 0.7657 MB / 472.7 MB, free: 436 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007738/0.617, allocations: 3.572 MB / 476.3 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.6187, allocations: 0.7834 MB / 477.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.6198, allocations: 456.7 kB / 477.5 MB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.59e-05/0.6199, allocations: 12.56 kB / 477.5 MB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.62, allocations: 51.64 kB / 477.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=95): time 4.603e-06/0.62, allocations: 0 / 477.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=131): time 0.01256/0.6326, allocations: 4.272 MB / 481.8 MB, free: 6.926 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/0.6327, allocations: 94.28 kB / 481.9 MB, free: 6.812 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.6337, allocations: 0.5245 MB / 482.5 MB, free: 6.285 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.6338, allocations: 49.7 kB / 482.5 MB, free: 6.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003938/0.6342, allocations: 420.3 kB / 482.9 MB, free: 5.812 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004928/0.6348, allocations: 445.5 kB / 483.3 MB, free: 5.371 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.405e-05/0.6349, allocations: 24 kB / 483.4 MB, free: 5.348 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002663/0.6351, allocations: 398.7 kB / 483.8 MB, free: 4.949 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009788/0.6361, allocations: 378.5 kB / 484.1 MB, free: 4.582 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.6373, allocations: 0.4941 MB / 484.6 MB, free: 4.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.6384, allocations: 427.7 kB / 485 MB, free: 3.637 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.087e-06/0.6384, allocations: 3.938 kB / 485 MB, free: 3.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003078/0.6415, allocations: 1.207 MB / 486.3 MB, free: 2.414 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.6415, allocations: 4.312 kB / 486.3 MB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.6415, allocations: 11.94 kB / 486.3 MB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.6421, allocations: 138.5 kB / 486.4 MB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/0.6439, allocations: 287.6 kB / 486.7 MB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005657/0.6495, allocations: 4.775 MB / 491.5 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.6508, allocations: 84 kB / 491.5 MB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.6509, allocations: 39.98 kB / 491.6 MB, free: 12.67 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 139 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003224/0.6513, allocations: 176.6 kB / 491.8 MB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002579/0.6515, allocations: 98.88 kB / 491.8 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.6536, allocations: 0.7795 MB / 492.6 MB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.6536, allocations: 15.98 kB / 492.6 MB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.6536, allocations: 4 kB / 492.6 MB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.6537, allocations: 11.92 kB / 492.7 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006348/0.66, allocations: 2.969 MB / 495.6 MB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.035e-06/0.6601, allocations: 0 / 495.6 MB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/0.6616, allocations: 256 kB / 495.9 MB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005514/0.6622, allocations: 134.4 kB / 496 MB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.6623, allocations: 31.98 kB / 496 MB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004837/0.6672, allocations: 4.377 MB / 0.4887 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.935e-06/0.6672, allocations: 4.281 kB / 0.4887 GB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004152/0.6714, allocations: 1.949 MB / 0.4906 GB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/0.6717, allocations: 176 kB / 0.4908 GB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.6719, allocations: 32 kB / 0.4908 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009743/0.6729, allocations: 79.91 kB / 0.4909 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/0.6731, allocations: 88.59 kB / 0.491 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.6733, allocations: 35.98 kB / 0.491 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008065/0.6741, allocations: 435.2 kB / 0.4914 GB, free: 360 kB / 410.7 MB Notification: Performance of sort global known variables: time 8.03e-07/0.6741, allocations: 0 / 0.4914 GB, free: 360 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001427/0.6755, allocations: 272 kB / 0.4917 GB, free: 88 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.g_ma.Phi,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003395/0.6759, allocations: 167.2 kB / 0.4918 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00287/0.6788, allocations: 1.331 MB / 0.4931 GB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.6788, allocations: 0 / 0.4931 GB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.6806, allocations: 0.8956 MB / 0.494 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.6818, allocations: 161.3 kB / 0.4942 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/0.6862, allocations: 1.783 MB / 0.4959 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000938/0.6871, allocations: 1.056 MB / 0.4969 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008743/0.688, allocations: 127.9 kB / 0.497 GB, free: 10.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/0.6884, allocations: 83.41 kB / 0.4971 GB, free: 10.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.67e-06/0.6884, allocations: 0 / 0.4971 GB, free: 10.34 MB / 426.7 MB Notification: Performance of Templates: time 0.0329/0.7213, allocations: 11.63 MB / 0.5085 GB, free: 14.8 MB / 442.7 MB